and you&#39;ve used grep in the rules directory and against mailscanner.conf to look for <a href="mailto:b@mydomain.com">b@mydomain.com</a>?<br><br>anything else in the full headers on arrival that indicates a differetn path?<br clear="all">
<div><br>-- <br>Martin Hepworth, CISSP<br>Oxford, UK</div><br>
<br><br><div class="gmail_quote">On 14 December 2012 09:26, Howard Robinson <span dir="ltr">&lt;<a href="mailto:nosnibordrawoh@yahoo.co.uk" target="_blank">nosnibordrawoh@yahoo.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:verdana,helvetica,sans-serif"><div><span><br></span></div>
<div></div>
<div>All</div>
<div>I&#39;ve been asked to allow through html email to a particular domain and from a particular server, via mailScanner.</div>
<div> </div>
<div>To test this I have an account off site at <a href="mailto:live@edu" target="_blank">live@edu</a></div>
<div>All email goes via Mailscanner then on to a MS Exchange DAG at work.</div>
<div> </div>
<div>On the Mailscanner running Centos there is an aliases file</div>
<div>For my test account I have two entries both point to the same account on exchange</div>
<div>a:<span>    <a href="mailto:a@ex.mydomin" target="_blank">a@ex.mydomin</a></span></div>
<div><span>b:<span>    <a href="mailto:a@ex.mydomain" target="_blank">a@ex.mydomain</a></span></span></div>
<div><span><span></span></span> </div>
<div><span><span>I&#39;ve newaliase&#39;d to make sure that they are correct.</span></span></div>
<div><span><span></span></span> </div>
<div><span><span></span></span> </div>
<div><span><span>If I send an html email with image in the body of the email from the off site account to <a href="mailto:a@mydomain" target="_blank">a@mydomain</a> it gets through to Exchange intact. </span></span></div>

<div><span><span>If I do the same to b<a href="mailto:b@mydomain" target="_blank">@mydomain</a> it gets through BUT the  image is as an attachment.</span></span></div>
<div><span><span></span></span> </div>
<div><span><span>That suggest that the Aliases file is correct and as <a href="mailto:B@mydomin" target="_blank">B@mydomin</a> is rejected if it&#39;s not in aliases that</span></span><span><span> supports that.</span></span></div>

<div><span><span></span></span> </div>
<div><span><span>I have had a look through all the rule and conf files and removed any &#39;To:&#39; references to <a href="mailto:a@mydomain" target="_blank">a@mydomain</a> and b<a href="mailto:b@mydomain" target="_blank">@mydomain</a> restarted MailScanner several times and it consitantly does the above.</span></span></div>

<div><span><span></span></span><span><span></span></span> </div>
<div><span><span>When I look at /var/log/maillog every time I send a test message to <a href="mailto:b@mydomain" target="_blank">b@mydomain</a> it has the line &#39;Contents Checks: Detected and will convert HTML message to Plain text in &#39;messagenumber&#39;.&#39;</span></span></div>

<div><span><span></span></span> </div>
<div><span><span>If I send the message to <a href="mailto:a@mydomain" target="_blank">a@mydomain</a> that line is not present. Something is telling MailScanner to ignore <a href="mailto:a@mydomain" target="_blank">a@mydomain</a> but not <a href="mailto:B@mydomain" target="_blank">B@mydomain</a> </span></span></div>

<div><span><span></span></span> </div>
<div><span><span>This suggests to me that one of the rule files for html should have a line either allowing <a href="mailto:a@mydomain" target="_blank">a@mydomain</a> or disallowing <a href="mailto:b@mydomain" target="_blank">b@mydomain</a>.</span></span></div>

<div><span><span>I have been through every rule and removed any reference to either address.</span></span></div>
<div><span><span>I have been through every .conf. the rules are where they should be and Mailscanner is set to look in the right directory.</span></span></div>
<div><span><span></span></span> </div>
<div><span><span>Is there any other rule that might be kicking in?</span></span></div>
<div><span><span>Is it likely that because things like address books for our exchange are visable at our <a href="mailto:live@edu" target="_blank">live@edu</a> domain that email <a href="mailto:a@mydomain" target="_blank">a@mydomain</a> is being treated differently by Mailscanner?</span></span></div>

<div><span><span></span></span> </div>
<div><span><span><var></var>I&#39;ve shut down and restarted the MailScanner server but still the same.</span></span></div>
<div><span><span></span></span> </div>
<div><span><span>I suspect I&#39;m missing something blatantly obvious but I&#39;ve gome around in circle for the last day and need to sort this.</span></span></div>
<div><span><span></span></span> </div>
<div><span><span>Any ideas out there.</span></span></div>
<div><span><span></span></span> </div>
<div><span><span>Thanks</span></span></div><span class="HOEnZb"><font color="#888888">
<div><span><span>Howard </span></span></div>
<div><span><span></span></span> </div>
<div><span><span></span></span> </div></font></span></div></div><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></blockquote></div><br>