Query about rulset

Glenn Steen glenn.steen at gmail.com
Tue Sep 19 11:38:13 IST 2006


On 19/09/06, jay shi <jayesha_shinde at yahoo.com> 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"backup at abc.com
> is not delivering mails to backup at abc.com
>          Any help or suggession for the above.
>
Read the comments for Archive Mail ... this is probably not what you
are after... Or pehaps it is... If it is, lose the "deliver"...
http://www.mailscanner.info/MailScanner.conf.index.html#Archive%20Mail

It seems more likely that you are after setting the Non Spam Actions
correctly, so that you get a backup of all delivered real mail. Look
at http://www.mailscanner.info/MailScanner.conf.index.html#Non%20Spam%20Actions
for the correct syntax. Probably something like
From: *@abc.com and To: *@tech.com deliver forward backup at abc.com
FromorTo  default  deliver
... in the relevant ruleset would work.

-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list