2 options:<br> - Don&#39;t use a relay address to run the E-mails through mailscanner. (how you do this depends on how headquarters delivers your e-mail)<br> - Place an extra MTA instance between your incomming e-mails and your spamfiltering MTA to strip the headers.<br>

<br><div class="gmail_quote">On 22 October 2012 15:26, Dave Gattis <span dir="ltr">&lt;<a href="mailto:mailscanner@romehosting.com" target="_blank">mailscanner@romehosting.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello All,<br>
<br>
I am working with a company that receives mail from it&#39;s headquarters.<br>
Headquarters does a terrible job of filtering email, so we decided to<br>
setup a local server and redirect everything here for filtering.  So far<br>
so good.<br>
<br>
Each message is stamped with &quot;Resent-From&quot; and &quot;Return-Path&quot; of the<br>
redirecting address.  I can strip those headers out, after MailScanner,<br>
but really need them removed before.<br>
<br>
Any ideas?<br>
<span class="HOEnZb"><font color="#888888">--<br>
Dave Gattis<br>
<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>
</font></span></blockquote></div><br>