Deleting all Messages with a specific address in the "To:" field....

Kevin Spicer kevins at BMRB.CO.UK
Mon Apr 7 21:05:04 IST 2003

I am using fetchmail version 6.2, sendmail version 8.12-7 and
4.14 on a Redhat Linux 7.2 system

I think the problem may lie with the fact you're using fetchmail.  As
Julian mentioned, MS looks at the envelope address, but generally
fetchmail doesn't know what that envelope address is (unless your ISP
adds an Envelope-to [or similar] header).  Even if fetchmail picks up
clues to the envelope address it doesn't make any difference to MS
because fetchmail only attempts to work out which local user the mail
should be going to & pass that information onto your local MTA.  In
other words fetchmail gives each mail a fresh envelope address based on
where it thinks it should end up.
If you really can't get your ISP to stop forwarding these addresses then
you may (depending on what headers your ISP add) be able to persuade
fetchmail to redirect those mails to a dedicated user on your machine.

BMRB International
+44 (0)20 8566 5000
This message (and any attachment) is intended only for the
recipient and may contain confidential and/or privileged
material.  If you have received this in error, please contact the
sender and delete this message immediately.  Disclosure, copying
or other action taken in respect of this email or in
reliance on it is prohibited.  BMRB International Limited
accepts no liability in relation to any personal emails, or
content of any email which does not directly relate to our

More information about the MailScanner mailing list