MailScanner at ecs.soton.ac.uk
Sun Nov 9 14:35:17 GMT 2008
rob at kettle.org.uk wrote:
> sorry if this is a dumb question but I just can't think of the answer
> (maybe having a mental block today)....
> is there a way in Sendmail/Mailscanner/Mailwatch to change the recipient
> based on a rule ? ie. if mail is from fred at bloggs.com and to
> joe at mycompany.com can I change to recipient so that joe doesn't get the
> mail but bill at mycompany does instead ?
SpamAssassin Rule Actions could do this for you.
RULE_NAME=>not delete,forward joe at mycompany.com
or something similar, should do it.
> I need it to be rule based as most mail for joe needs to get through
> normally, it's only when it's from a certain sender that I want to change
> the recipient.
> Thanks in advance and apologies if I've overlooked the obvious.
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner