Rules & forwards
bbecken at aafp.org
Wed Jun 8 22:31:55 IST 2011
I figured it out. I did not need the extra forward statement
For example within MailScanner:
Non-Spam Actions using a ruleset:
To: jdoe at domain.tld deliver forward User1 at domain.tld User2 at domain.tld
To: jdoe at domain.tld forward User1 at domain.tld User2 at domain.tld
>>> On 6/8/2011 at 2:51 PM, "Scott B. Anderson" <sbanderson at impromed.com> wrote:
This is an MTA question, so it is off topic for the list, but if you are using sendmail, then use /etc/mail/aliases (or wherever your distribution places it)
Username: username at domain.tld, username2 at domain.tld, username3 at domain.tld
Then save and run newaliases.
I'm sure someone else will reply with the answer for postfix, but my guess would be to replace your second 'forward' with a comma.
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Brad Beckenhauer
Sent: Wednesday, June 08, 2011 2:40 PM
To: mailscanner at lists.mailscanner.info
Subject: Rules & forwards
I need a rule that will forward email to a given account to multiple accounts as shown below.
To: jdoe at domain.tld forward User1 at domain.tld ( mailto:User1 at domain.tld ) forward User2 at domain.tld
The syntax does work for User1, but not User2.
Any suggestions on how to make this work for the second user account?
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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner