Query about rulset

James Gray james at grayonline.id.au
Tue Sep 19 22:48:30 IST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 19/09/2006, at 8:02 PM, jay shi wrote:

> Thanks James,
>             as per ur guidance the domain wise spam
> mail rule is now working. But for Archive Mail's rule,
> i am still confuse. i put the folowing rulset, for
> Archive Mail == %rules-dir%/archive.rules
> cat /etc/MailScanner/rules/archive.rules
> From: *@abc.com and To: *@tech.com deliver
> backup at abc.com
> FromorTo  default  deliver
>           But this above matching condition with "and"
> is not delivering mails to backup at abc.com
>          Any help or suggession for the above.

Have a look at this:
http://mailscanner.info/MailScanner.conf.index.html#Archive%20Mail

The "deliver" option is only applicable to spam actions.  The example  
I referred to was simply to show you how to add "AND" logic to a rule  
set.

Ultimately every rule file MUST implement the options that are valid  
for the setting in question.  So, "deliver" has no meaning within the  
context of the "Archive Mail" setting.

HTH,

James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFEGW0wBHpdJO7b9ERAkZpAKCuUPiC/w2orxi8DayGhv1KTJRUVQCgzPFk
l7Lgmv3dero4WwbNO9o1GEw=
=ENGP
-----END PGP SIGNATURE-----


More information about the MailScanner mailing list