Mailwatch uses the "envelope-from" to display in the list.<br><br><div class="gmail_quote">On 23 October 2012 12:58, Dave Gattis <span dir="ltr"><<a href="mailto:mailscanner@romehosting.com" target="_blank">mailscanner@romehosting.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Let me see if I can explain this properly:<br>
<br>
<a href="mailto:a@hotmail.com">a@hotmail.com</a> sends to <a href="mailto:b@mydomain1.com">b@mydomain1.com</a>.<br>
<br>
a rule exists at <a href="http://mydomain1.com" target="_blank">mydomain1.com</a> to redirect to <a href="mailto:c@mydomain2.com">c@mydomain2.com</a>, therefore<br>
<br>
<a href="mailto:a@hotmail.com">a@hotmail.com</a> arrives safely <a href="mailto:c@mydomain2.com">c@mydomain2.com</a>.<br>
<br>
When opening the email, it looks like this:<br>
<br>
From: <a href="mailto:a@hotmail.com">a@hotmail.com</a><br>
To: <a href="mailto:b@mydomain1.com">b@mydomain1.com</a><br>
<br>
This is exactly what I want and works perfectly in any mail client.<br>
<br>
Unfortunately, when you look at the list of messages MailScanner has<br>
processed (using the MailWatch frontend), every message, no matter who<br>
from looks like this:<br>
<br>
From: <a href="mailto:b@mydomain1.com">b@mydomain1.com</a><br>
To: <a href="mailto:c@mydomain2.com">c@mydomain2.com</a><br>
<br>
This renders white/blacklisting useless, and subject lines are the only<br>
clues available for releasing SPAM. When looking at the raw headers, the<br>
redirect is adding a "Resent-From" header which I believe is overriding<br>
the "From" header.<br>
<br>
No matter what is received, MailScanner is basing some of it's decisions<br>
on the "Resent-From" address which lowers the score for all messages.<br>
<br>
This is what happens when corporations make poor decisions.<br>
Unfortunately, I am forced to find a workaround for it.<br>
<br>
Thanks,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Dave Gattis<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> Le 22/10/2012 15:26, Dave Gattis a écrit :<br>
>> Each message is stamped with "Resent-From" and "Return-Path" of the<br>
>> redirecting address. I can strip those headers out, after MailScanner,<br>
>> but really need them removed before.<br>
><br>
> Why do you really need them removed? If it's just for spamassassin, you<br>
> can use bayes_ignore_header in your <a href="http://local.cf" target="_blank">local.cf</a> file.<br>
><br>
> John.<br>
><br>
> --<br>
> -- Over 5000 webcams from ski resorts around the world - <a href="http://www.snoweye.com" target="_blank">www.snoweye.com</a><br>
> -- Translate your technical documents and web pages - <a href="http://www.tradoc.fr" target="_blank">www.tradoc.fr</a><br>
> --<br>
> MailScanner mailing list<br>
> <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
> <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
><br>
> Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
><br>
> Support MailScanner development - buy the book off the website!<br>
><br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br>