Change Recipient

Julian Field MailScanner at
Sun Nov 9 14:35:17 GMT 2008

rob at wrote:
> Hi,
> 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 and to
> joe at 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
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.
> Rob


Julian Field MEng CITP CEng
Buy the MailScanner book at

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:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list