Filtering Then Forwarding
ecj at telpacific.com.au
Wed Mar 15 13:14:42 GMT 2006
Thanks for this Stephen and Julian. I tried applying this but then I
discovered it doesn't work with our setup. Our MailScanner is on another
server and EXIM/IMAP on another. So what happens is that emails sent to
other domains that are also hosted on the same server get delivered
locally and thus the rules don't get applied.
Is there an extra setting that I can do (or perhaps a setting on Exim)?
Thanks a lot in advance for any help guys.
>> -----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
>> to headers and then forward emails to a specific email address if
>> 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
>> this morning and can't find the answer that I need. I hope someone can
>> Thanks in advance.
>> Now it's back to googling for me...
> 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
> 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.
> Stephen Swaney
> Fort Systems Ltd.
> stephen.swaney at fsl.com
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
More information about the MailScanner