[Mimedefang] How to redirect SPAM Mail
Jim McCullars
jim at info.uah.edu
Sun Nov 16 23:35:37 EST 2003
On Sun, 16 Nov 2003, Alain Deseine wrote:
> Hi,
>
> I need to replace the "To" email address of a spam email with a "trash"
> email address.
After you determine it's spam, do this:
foreach $recip (@Recipients) { delete_recipient($recip) }
return add_recipient('spamtrap at yourdomain.com');
Note that just changing headers will not redirect mail. You have to do
that via MIMEDefang calls to manipulate the recipient list.
HTH...
Jim
More information about the MIMEDefang
mailing list