XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Announcements > XMail Filter Revolution


Posted by: hschneider Feb 12 2003, 08:08 AM
Hi,

according to Davide, the long awaited in- and outbound filtering will be rewritten in 1.14. Here an extract from his original post. Keep in mind, that this is just a raw draft, how things could be implemented.

QUOTE

Right now filter selection is pretty weak and now that I'm doing the
inbound/outbound split is going to be even weaker. I was thinking about
nuking the "filters" directory and have two files :

filters.in.tab
filters.out.tab

The syntax of those files is :

"sender"  "recipient"  "cip"  "sip" "command" ...

Where :

sender = Message sender ( MAIL FROM )
recipient = Message recipient ( RCPT TO )
cip = Client IP
sip = Server IP

Example :

"*@mydomain.com"  "*"  "0.0.0.0/0"  "0.0.0.0/0"  "/bin/nukeit.sh"  ...
"hacker@*"  "*@safedomain.com"  "  "208.129.208.32/27"  "192.168.1.12/32"  "/bin/nukeit.sh"  ...



This great change will boost XMail's flexibility again!


Posted by: hschneider Feb 12 2003, 08:14 AM
Some more infos:

QUOTE

On Tue, 11 Feb 2003, Shawn Anderson wrote:

>
> The main issues I would have or like to see handled are:
>
> - Filters are handled in some sort of set (or configurable/weighted)
> order

On the contrary of what it was before, now all the matching entries of the
appropriate file will be executed.



> - Filters of higher order see the changes that filters of lower order
> have made

Just put high priority filter ahead in the file.



> - The ability to modify any part of the message or drop the message
> completely

Yes, if filter A run before filter B and filter A modifies the message,
filter B will see the new message.

Posted by: hschneider Feb 14 2003, 06:08 PM
QUOTE

On Wed, 12 Feb 2003, Wim Verveen wrote:
>
> wille filtering on a domain or user basis still be possible?

Sure it will ...
- Davide


Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)