Filtering Then Forwarding
Stephen Swaney
steve.swaney at fsl.com
Tue Mar 14 13:56:48 GMT 2006
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of DOODS
> Sent: Monday, March 13, 2006 11:38 PM
> To: mailscanner at lists.mailscanner.info
> Subject: Filtering Then Forwarding
>
>
> Hello All.
> I need a quick help. I would like to do a filtering based on the from and
> to headers and then forward emails to a specific email address if matched.
> To be more detailed:
>
> Condition: <From: user1 at domain1.com> and <To: *@domain2.com>
> Action: Forward to user3 at domain3.com
>
> We're running MailScanner and Exim with MySQL. I have been googling since
> this morning and can't find the answer that I need. I hope someone can
> help.
> Thanks in advance.
> Now it's back to googling for me...
>
> Cheers,
> DOODS
>
You pretty much wrote the rule yourself. Create a rule set for Non Spam
Actions (and Spam Actions and High Spam Actions if necessary):
From: user1 at domain1.com and To: *@domain2.com forward user3 at domain3.com
delete
FromOrTo: default deliver
Each rule above should be entered on a single line.
I believe this is in the Example and Readme files in the rules directory.
Steve
Stephen Swaney
Fort Systems Ltd.
stephen.swaney at fsl.com
www.fsl.com
More information about the MailScanner
mailing list