Remove headers before MailScanner

Joolee mailscanner at joolee.nl
Tue Oct 23 12:39:05 IST 2012


Mailwatch uses the "envelope-from" to display in the list.

On 23 October 2012 12:58, Dave Gattis <mailscanner at romehosting.com> wrote:

> Let me see if I can explain this properly:
>
> a at hotmail.com sends to b at mydomain1.com.
>
> a rule exists at mydomain1.com to redirect to c at mydomain2.com, therefore
>
> a at hotmail.com arrives safely c at mydomain2.com.
>
> When opening the email, it looks like this:
>
> From: a at hotmail.com
> To: b at mydomain1.com
>
> This is exactly what I want and works perfectly in any mail client.
>
> Unfortunately, when you look at the list of messages MailScanner has
> processed (using the MailWatch frontend), every message, no matter who
> from looks like this:
>
> From: b at mydomain1.com
> To: c at mydomain2.com
>
> This renders white/blacklisting useless, and subject lines are the only
> clues available for releasing SPAM.  When looking at the raw headers, the
> redirect is adding a "Resent-From" header which I believe is overriding
> the "From" header.
>
> No matter what is received, MailScanner is basing some of it's decisions
> on the "Resent-From" address which lowers the score for all messages.
>
> This is what happens when corporations make poor decisions.
> Unfortunately, I am forced to find a workaround for it.
>
> Thanks,
> --
> Dave Gattis
>
>
> > Le 22/10/2012 15:26, Dave Gattis a écrit :
> >> Each message is stamped with "Resent-From" and "Return-Path" of the
> >> redirecting address.  I can strip those headers out, after MailScanner,
> >> but really need them removed before.
> >
> > Why do you really need them removed? If it's just for spamassassin, you
> > can use bayes_ignore_header in your local.cf file.
> >
> > John.
> >
> > --
> > -- Over 5000 webcams from ski resorts around the world - www.snoweye.com
> > -- Translate your technical documents and web pages    - www.tradoc.fr
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > Support MailScanner development - buy the book off the website!
> >
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20121023/eb4d43fe/attachment.html 


More information about the MailScanner mailing list