[EMAIL PROTECTED] writes:

> Here's how my filters are "hit"
> 
> $ cat ~/.tmda/filters/incoming
> from-cdb -optional ~/.tmda/lists/blacklist.cdb drop
> from-file -optional -autocdb ~/.tmda/lists/blacklist drop

Here you check your blacklist twice.  There's no need to do that.

> from-cdb -optional ~/.tmda/lists/whitelist.cdb accept
> from-cdb -optional ~/.tmda/lists/auto_whitelist.cdb accept
> from-file -optional ~/.tmda/lists/whiteregex accept

> from-file -optional -autocdb ~/.tmda/lists/whitelist accept

And this line checks your whitelist a second time...

> from-file -optional -autocdb ~/.tmda/lists/auto_whitelist accept

And this line checks your auto_whitelist twice.

Basically, if you're using the -autocdb flag, there's no need to use a
from-cdb rule.

> $ cat ~/.tmda/filters/outgoing
> to [EMAIL PROTECTED] tag
>  from [EMAIL PROTECTED]
>  envelope [EMAIL PROTECTED]
> 
> to-cdb -optional ~/.tmda/lists/whitelist.cdb tag
>  from [EMAIL PROTECTED]
> 
> to-cdb -optional ~/.tmda/lists/auto_whitelist.cdb tag
>  from [EMAIL PROTECTED]
> 
> to-cdb -optional ~/.tmda/lists/whiteregex tag
>  from [EMAIL PROTECTED]

This looks good, although if you use the -autocdb in your incoming
filter, you should change all of these to 'from-file' rules and use
the -autocdb flag here, too.  That will make sure the database files
are always up to date, regardless of whether you send or receive after
a new address is added to the text file.


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to