<div dir="ltr"><div><div><div>Thanks for reply...<br>But in other case the bounce is generated for other reasons<br></div>For example if the mailbox for the user is over quota, etc..<br>In this case the bounce is &quot;dropped&quot;.<br></div>The question is why this &quot;postfix/cleanup - MailScanner&quot; header is too short ...and how to extend it :-(<br><br>Thanks again<br><br>---<br></div>Sim<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-10 18:16 GMT+01:00 Glenn Steen <span dir="ltr">&lt;<a href="mailto:glenn.steen@gmail.com" target="_blank">glenn.steen@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Actually... All you need do is configure recipient verification in postfix (this is in-built and documented well several places, like the postfix doc site or the MailScanner wiki). Alternatively maintain a relay recipient map or an access map (both are fairly trivial to set up).<br>
Doing any of these will reject instead of bounce, for unknown recipients.  Flip side of the coin is that you may expose your recipient &quot;universe&quot;, for easy mapping (regardless if you have disabled vrfy), but... That&#39;s just how it is:-) </p>
<p dir="ltr">Cheers<span class="HOEnZb"><font color="#888888"><br>
-- <br>
-- Glenn </font></span></p><span class="HOEnZb"><font color="#888888">
</font></span><div class="gmail_quote"><span class="HOEnZb"><font color="#888888">Den 10 nov 2014 14:03 skrev &quot;Joolee&quot; &lt;<a href="mailto:mailscanner@joolee.nl" target="_blank">mailscanner@joolee.nl</a>&gt;:</font></span><div><div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quite an easy solution is to simply don&#39;t bounce. E-mail to non-existing users is probably (uncought) spam and they rarely come from legit e-mail addresses. You are spamming the actual owners of the e-mail addresses being abused by sending backscatter to them. It might even get you listed on a backscatter dnsbl.<br><br>If you want to provide legit mail senders with a &quot;this user doesn&#39;t exist&quot; message, configure all legit users on your edge server so mail to non-existing users is being blocked on smtp level. (This will also reject ~90% of spam) The sending party can than implement any backscatter/messages they want with this information, it&#39;s not your problem.<br><br><br><div class="gmail_quote">On 10 November 2014 12:44, Sim <span dir="ltr">&lt;<a href="mailto:simvirus@gmail.com" target="_blank">simvirus@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello to all!<br><br>I&#39;ve a little issue...<br><br><span style="font-weight:bold">SENDER </span>(from <a href="mailto:test@extenal.com" target="_blank">test@extenal.com</a>  to   nomail@mydomain) ------&gt; <b>MailScanner </b>-----&gt;<span style="font-weight:bold"> Mailbox Server</span> (@mydomain)<br><br>At this time my internal &quot;Mailbox Server&quot; generate a bounce for not exiting &quot;nomail&quot; account.<br>This bounce is detected as SPAM from MailScanner.<br><br>Note:<br>- The IP of Mailbox Server is in &quot;Whitelist&quot;<br>- The LAN (/24) of Mailbox Server is in &quot;Trusted Network&quot;<br>- The LAN (/24) of Mailbox Server is in &quot;Outbound mail relay&quot;<br>- All other email sent from &quot;Mailbox Server&quot; are detected as &quot;white list&quot;<br><br><code></code><br></div>Checking the log of postfix i&#39;ve found this:<br><br>postfix/cleanup[20872]: C1C2960069: hold: header Received: from srv.mydomain.local (unknown [192.168.0.10])??(using TLSv1 with cipher AES128-SHA (128/128 bits))??(No client certificate requested)??by <a href="http://mail.mydomain.com" target="_blank">mail.mydomain.com</a> (Postfix) w from unknown[192.168.0.10]; from=&lt;&gt; to=&lt;<a href="mailto:test@external.com" target="_blank">test@external.com</a>&gt; proto=ESMTP helo=&lt;srv.mydomain.local&gt;<br>[..]<br>MailScanner[19852]: Spam Checks: Starting<br>MailScanner[19852]: Message C1C2960069.AEB15 from 192.168.0.10 has no (or invalid) watermark or sender address, marked as high-scoring spam<br>MailScanner[19852]: Spam Checks: Found 1 spam messages<br><br><br>The header of postifx/cleanup is incomplete!!!!<br><br>Looking for full header i&#39;ve seen:  &quot;(Postfix) with ESMTPS id C1C2960069?&quot;    and not only    &quot;(Postfix) w&quot;<br><br><br>How to increase this &quot;check of the header limit&quot; in postfix, cleanup or MailScanner ?<br><br>Thanks<br></div>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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></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></div>