MailScanner latest beta breaks scan rules

Bruno Queiroz Leite brunoq at BIS.COM.BR
Fri Nov 14 20:46:03 GMT 2003


On Fri, 14 Nov 2003, Kevin Spicer wrote:

> On Fri, 2003-11-14 at 18:17, Bruno Leite wrote:
>
> >on filename.rules:
> >FromOrTo: john at abc.com /etc/MailScanner/special.conf
> >FromOrTo: bob at abc.com /etc/MailScanner/special.conf
> >FromOrTo: paul at abc.com /etc/MailScanner/special.conf
> >FromOrTo: *@abc.com /etc/MailScanner/general.conf
>
> Because bob at abc.com matches bob at abc.com _and_ *@abc.com.  Is there a
> reason that the last line can't be...
>
> FromOrTo: default /etc/MailScanner/general.conf
>

Let me correct:

FromOrTo: john at abc.com /etc/MailScanner/special.conf
FromOrTo: bob at abc.com /etc/MailScanner/special.conf
FromOrTo: paul at abc.com /etc/MailScanner/special.conf
FromOrTo: *@abc.com /etc/MailScanner/abc_general.conf
FromOrTo: default /etc/MailScanner/general.conf

I used to have a default rule like you said and it used to be:
john,bob and paul were ruled by special.conf
another_users at abc.com ruled by abc_general.conf
*@* ruled by general.conf

This policy worked perfectly on MailScanner 4.21-9.

Bruno



More information about the MailScanner mailing list