<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Spam Filter ISP Forums : Problem with Bad Recipients</title>
  <link>https://www.logsat.com/spamfilter/forums/</link>
  <description><![CDATA[This is an XML content feed of; Spam Filter ISP Forums : Spam Filter ISP Support : Problem with Bad Recipients]]></description>
  <pubDate>Fri, 11 Sep 2026 16:02:24 +0000</pubDate>
  <lastBuildDate>Tue, 03 Nov 2015 10:59:27 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.logsat.com/spamfilter/forums/RSS_post_feed.asp?TID=7124</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Spam Filter ISP Forums]]></title>
   <url>https://www.logsat.com/spamfilter/forums/forum_images/web_wiz_forums.png</url>
   <link>https://www.logsat.com/spamfilter/forums/</link>
  </image>
  <item>
   <title><![CDATA[Problem with Bad Recipients : Hi Roberto, I really appreciate...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14781&amp;title=problem-with-bad-recipients#14781</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1393">ecarbone</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 03 November 2015 at 10:59am<br /><br />Hi Roberto,<br /><br /> I really appreciate all your help and efort with this case. I'll take a closer look at what you are telling me. <br /><br /> With Exchange, mail flow is suppose to go thru a "Front-End" service, message is accepted in "full" and then internally transfered to a "Back-End" service, in that part of the pipe-line is when Exchange Recipient Filter kicks in, detecting that 1 of the recipients is invalid and notifying to the "Front-End" service which in turn, notifies to SpamFilter.<br /><br /> Now, after your explanation, I do understand that once "Front-End" receives the message, SpamFilter's work is done, so the problema must reside between Exchange's Front-Back communication.<br /><br />  I've modified my SpamFilter.Ini in order to send NDR to a relay-aware server with have and also added Spamfilter's IP in order to be able to "talk" to this server, with this; sender will be able to know his/her message was not delivered. I don't know if this can be done on a per-domain basis, it will be great if that could be done.<br /><br />  Once again, thank you very muy for your help and very detailed explanation, that makes my commitment with your product a stronger one.<br /><br />Regards,<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;Enrique]]>
   </description>
   <pubDate>Tue, 03 Nov 2015 10:59:27 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14781&amp;title=problem-with-bad-recipients#14781</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients : Enrique,From your logs I believe...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14779&amp;title=problem-with-bad-recipients#14779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 02 November 2015 at 9:12pm<br /><br /><div style="font-family: Verdana;">Enrique,</div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">From your logs I believe what you call the front end server is where SpamFilter forwards its emails to. If that is the case, the front end Exchange server is the one that is rejecting the entire message if one of the recipients is incorrect. Furthermore, it does not reject the recipient right away when the RCPT TO command is issued, but rather only at the end of the SMTP session, when the email has been transmitted. To make matters worse, the front end server is not specifying which email address is incorrect - it simply rejects the entire message.</div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">Please note that from your logs I can confirm what I mentioned in the forum - the behavior does not change depending on whether the invalid email address is specified in the CC or in the TO headers - the SMTP session is the same and the front end server rejects it in the same way.</div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">These are the transcripts of what happens to an email sent to&nbsp;<span style="color: rgb255, 38, 0; font-family: Helvetica; font-size: 10px;">eca...@...com.mx</span>&nbsp;and&nbsp;<span style="color: rgb255, 38, 0; font-family: Helvetica; font-size: 10px;">invalid@......com.mx</span>&nbsp;to your front end server at ...........com.mx. The first session is with&nbsp;<span style="color: rgb255, 38, 0; font-family: Helvetica; font-size: 10px;">invalid@.....com.mx</span>&nbsp;entered in the TO field, the second session with&nbsp;<span style="color: rgb255, 38, 0; font-family: Helvetica; font-size: 10px;">invalid@.....com.mx</span>&nbsp;entered as a CC.</div><div style="font-family: Verdana;">As you can see, your front end server accepts both recipients without any errors, and at the end it rejects the entire message with a "<span style="color: rgb4, 51, 255; font-family: Helvetica; font-size: 10px;">550 5.1.1 User unknown</span>" without specifying what is the incorrect user:</div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;"><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">220 ........com.mx Microsoft ESMTP MAIL Service ready at Mon, 2 Nov 2015 19:43:36 -0600</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">EHLO cmct......</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-k..............i.com.mx Hello &#091;&#093;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-SIZE 10000000</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-AUTH NTLM</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-8BITMIME</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">MAIL FROM:&lt;roberto@test.logsat.com&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 2.1.0 Sender OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">RCPT TO:&lt;e</span><span style="font-size: 10px;">eca...@...com.mx</span><span style="font-size: 10px;">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 2.1.5 Recipient OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">RCPT TO:&lt;</span><span style="font-size: 10px;">invalid@.....com.mx</span><span style="font-size: 10px;">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 2.1.5 Recipient OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">DATA</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">From: roberto@test.logsat.com</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">To:&nbsp;</span><span style="font-size: 10px;">eca...@...com.mx</span><span style="font-size: 10px;">,&nbsp;</span><span style="font-size: 10px;">invalid@.....com.mx</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">Subject: Test with 2 TOs from LogSat - please ignore</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">Date: Mon, 2 Nov 2015 18:50:39 -0600</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">Content-Type: text/html;charset="ISO-8859-1";</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0; min-height: 10px;"><span style="font-size: 10px;"><br></span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">test please ignore</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">.</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">QUIT</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">550 5.1.1 User unknown</span></div></div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;"><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">220 .........com.mx Microsoft ESMTP MAIL Service ready at Mon, 2 Nov 2015 19:38:07 -0600</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">EHLO cm....</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-......om.mx Hello &#091;&#093;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-SIZE 10000000</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-AUTH NTLM</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250-8BITMIME</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">MAIL FROM:&lt;roberto@test.logsat.com&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 2.1.0 Sender OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">RCPT TO:&lt;</span><span style="font-size: 10px;">eca...@...com.mx</span><span style="font-size: 10px;">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 2.1.5 Recipient OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">RCPT TO:&lt;i</span><span style="font-size: 10px;">nvalid@.....com.mx</span><span style="font-size: 10px;">&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">250 2.1.5 Recipient OK</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">DATA</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">From: roberto@test.logsat.com</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">To:&nbsp;</span><span style="font-size: 10px;">eca...@...com.mx</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">CC: i</span><span style="font-size: 10px;">nvalid@.....com.mx</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">Subject: Test from LogSat - please ignore</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">Date: Mon, 2 Nov 2015 18:48:39 -0600</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">Content-Type: text/html;charset="ISO-8859-1";</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0; min-height: 10px;"><span style="font-size: 10px;"><br></span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">test please ignore</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">.</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb255, 38, 0;"><span style="font-size: 10px;">QUIT</span></div><div style="margin: 0px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><span style="font-size: 10px;">550 5.1.1 User unknown</span></div></div><div style="margin: 0px; font-size: 8px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><br></div><div style="margin: 0px; font-size: 8px; line-height: normal; font-family: Helvetica; color: rgb4, 51, 255;"><br></div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">As this error occurs *after* the recipients are send and accepted, SpamFilter must (per RFC) assume that the email is not delivered, and at this point SpamFilter does need to send an NDR bounce email back to the sender. Here is another problem however - SpamFilter never sends an NDR directly out to the internet, but rather it forwards the NDR to your destination SMTP server for delivery. In this case, the NDR is send to ...<span style="color: rgb4, 51, 255; font-family: Helvetica; font-size: 10px;">.......com.mx</span>, which however does not allow SpamFilter to open relay, so it does not deliver the NDR.&nbsp;<b>You must ensure that your front end server whitelists SpamFilter so that the NDRs can be sent.</b></div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">Please note that if your front end server had rejected a recipient during the RCPT TO command, then SpamFilter would have known it was an invalid user as I mentioned in the forum, and it would not need to send an NDR since it would instead reject the email specifying in the 550 error code which email address had the problem.</div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">Also please note that I see from your backend server logs that the front end server is forwarding the email to the backend server even though it's reporting the email as being rejected to SpamFilter. This is very confusing as it causes emails to be delivered even though the front end server is reporting to having rejected them as a whole.</div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">I hope this helps a bit in understanding how the email flows and that your front end server should be configured differently.&nbsp;</div><div style="font-family: Verdana;"><br></div><div style="font-family: Verdana;">To summarize, these are the problems with that front end server:</div><div style="font-family: Verdana;">1. It must whitelist SpamFilter so that NDRs can be delivered</div><div style="font-family: Verdana;">2. It should reject invalid email addresses when the RCPT TO command is used to specify a recipient, not at the end of the email.</div><div style="font-family: Verdana;">3. If it cannot be configured as in #2 above, it must at least specify in the 550 error message which email address was not deliverable so this can be reported back to the sender. Otherwise the error will be interpreted as "your email was not delivered to ANY of the recipients".</div><div style="font-family: Verdana;"><br></div>]]>
   </description>
   <pubDate>Mon, 02 Nov 2015 21:12:10 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14779&amp;title=problem-with-bad-recipients#14779</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients : Sorry for the Delay, I&amp;#039;m...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14778&amp;title=problem-with-bad-recipients#14778</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1393">ecarbone</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 02 November 2015 at 11:36am<br /><br />Sorry for the Delay, I'm attaching the requested info using the repository sent by email.<br /><br />Regards<br />  <br />&nbsp;&nbsp;&nbsp;Enrique]]>
   </description>
   <pubDate>Mon, 02 Nov 2015 11:36:02 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14778&amp;title=problem-with-bad-recipients#14778</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients : Thanks a Lot, I&amp;#039;ll prepare...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14777&amp;title=problem-with-bad-recipients#14777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1393">ecarbone</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 31 October 2015 at 2:32pm<br /><br />Thanks a Lot, I'll prepare the info and be back.]]>
   </description>
   <pubDate>Sat, 31 Oct 2015 14:32:30 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14777&amp;title=problem-with-bad-recipients#14777</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients : That would be odd indeed if the...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14776&amp;title=problem-with-bad-recipients#14776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 31 October 2015 at 2:28pm<br /><br />That would be odd indeed if the valid user is not receiving the email. Can you please let me know what version of SpamFilter you are using, and then provide us with the following:<div><p style="margin: 0px; line-height: normal; font-family: Verdana;"></p><ul><li>SpamFilter's activity logfile for a day this happened</li><li>Any Exchange logs that show the inbound email attempt form SpamFilter</li><li>The to/from email addresses for at least one such email so we can locate it in the logs</li><li>Your SpamFilter.ini file</li><li>The \SpamFilter\Domains directory structure (if the files containing any of your blacklists/whitelists are outside that directory tree, please include those&nbsp;as well.</li></ul><p></p><p style="margin: 0px; line-height: normal; font-family: Verdana; min-height: 15px;"><br></p><p style="margin: 0px; line-height: normal; font-family: Verdana;">If the zipped file is over 8MB in size, I'll send you via a PM the upload details when you can send us the files (or we can pick them up from a location you can provide)</p></div><div><br></div>]]>
   </description>
   <pubDate>Sat, 31 Oct 2015 14:28:53 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14776&amp;title=problem-with-bad-recipients#14776</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients : Roberto,Thanks again for your...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14775&amp;title=problem-with-bad-recipients#14775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1393">ecarbone</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 31 October 2015 at 1:42pm<br /><br />Roberto,<br /><br />Thanks again for your help. The strange behavior is that email is not arriving to the valid recipient, the whole message is rejected. I understand your explanation about TO,CC,BCC but curiously if I place valid and invalid on the same TO, message doesn't arrive to valid. If I place valid and invalid, one in TO and one in CC, message arrives to valid as expected.<br /><br />Regards,<br /><br />Enrique ]]>
   </description>
   <pubDate>Sat, 31 Oct 2015 13:42:35 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14775&amp;title=problem-with-bad-recipients#14775</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients : Enrique,A mail server only knows...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14774&amp;title=problem-with-bad-recipients#14774</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 31 October 2015 at 1:26pm<br /><br />Enrique,<div><br></div><div>A mail server only knows of a recipient when the sender's SMTP server has issued a "RCPT TO" command during the SMTP session. The mail server does not look inside an email's content to see who the recipients are. Thus the various "To:", "CC:" and "BCC" headers are meaningless to a mail server as they are only part of the content of the email. By the time the content of the email is sent after the DATA command, the sender and the recipients have already been determined via the MAIL FROM and RCPT TO commands.</div><div><br></div><div>So in my example, the only two addresses that matter are these two:&nbsp;</div><div><br></div><div><div style="margin: 0px; padding: 0px;"><font size="1" color="#ff0000" style="margin: 0px; padding: 0px;">RCPT TO:&lt;Valid@logsat.com&gt;</font></div><div style="margin: 0px; padding: 0px;"><span style="color: rgb255, 0, 0; font-size: x-small;">RCPT TO:&lt;Invalid@logsat.com&gt;</span></div></div><div><br></div><div>The mail server (both SpamFilter and our destination SMTP server) do not know and do not care if these emails were meant to be part of the TO, CC or BCC addresses - it is irrelevant. All SpamFilter and our mail server need to know is that they need to deliver the content of the email (after the DATA command) to those email addresses. Again - SpamFilter and our mail server do not look inside the body of the email to see what the TO and CC email addresses are and how they compare to the RCPT TO addresses (actually the latest versions SpamFilter will log if they are different, but only to give admins more options to find emails in logs...).</div><div><br></div><div>Going back to what you see by turning on and then off the Exchange Recipient Filtering - when you turn it on, your Exchange server will reject the invalid recipient when SpamFilter attempts to forward it the email with the non-existant email address. When this happens, SpamFilter will (correctly) reject the email from the sender by outputting a 5xx error code and in the bounce message will include the rejection notice from your Exchange server.</div><div><br></div><div>When you disabled the Recipient Filtering, your Exchange server will accept the email from SpamFilter even though there is an invalid recipient. SpamFilter will see it delivered successfully so as far as SpamFilter is concerned it was delivered. Your Exchange server then, after receiving the email, will see the invalid recipient and will then in turn send a bounce email back to them. Please note that this is an actual email being sent by your Exchange server. It will be sent to whatever email address the sender has specified in their "MAIL FROM" command, which in my example above is:</div><div><span style="color: rgb255, 0, 0; font-size: x-small; : rgb251, 251, 253;">MAIL FROM:&lt;roberto@test.logsat.com&gt;</span></div><div><br></div><div>Note that while in most legitimate emails sent by humans this email address will match the address specified in the "From:" header in an email. However in most emails sent by spammers this will be a spoofed email address belonging often times to an unaware persona/domain, and in case of automated emails, the MAIL FROM email address usually mis-matches the one specified in the "From:" header.</div><div><br></div><div>Due to this, with the Recipient Filtering disabled in Exchange, you run in the high risk of having your Exchange server sending large amounts of NDR outbound email in response to spammers and/or automated emails that will be sent to innocent or invalid email addresses.</div><div><br></div><div>The recommended way to proceed is to leave the Recipient Filtering enabled, and allowing SpamFilter to reject the email with the incorrect recipient(s). When the sender sends an email with one or more invalid recipients, that sender will always receive a non-deliverable email bounce back. You can either (1) let that happen by having their own ISP send them the bounce NDR (by having SpamFilter reject the email), or (2) by having the NDR email being sent by your own server either by disabling Exchange's Recipient Filtering or by changing SpamFilter's default value for&nbsp;<span style="color: rgb102, 102, 102; font-size: x-small; : rgb251, 251, 253;">VerifyRCPTTOForCleanEmails=1.&nbsp;</span></div><div><br></div><div>It's usually better to avoid backscatter originating form your network, saving network resources, and avoiding being blacklisted by going with option 1.</div><div><br></div><div>PS - as a side note - the BCC header only appears in the email residing in the sender's own mailbox - the BCC header is stripped when the email client actually sends the email to the mail server</div>]]>
   </description>
   <pubDate>Sat, 31 Oct 2015 13:26:27 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14774&amp;title=problem-with-bad-recipients#14774</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients : Roberto,  Thanks for your reply...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14773&amp;title=problem-with-bad-recipients#14773</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1393">ecarbone</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 31 October 2015 at 12:28pm<br /><br />Roberto,<br />  Thanks for your reply and I do understand what you are saying. In your simple Invalid@logsat.com is part of the "CC" of the message and Valid@logsat.com is part of the "TO" of the message.<br /><br />The behaviour I'm watching is that when both recipients are part of the "TO" section of the message and Exchange's recipent filter is enabled, in that case, Exchange sents back 1 RCPT OK and 1 InvalidUser message back to SpamFilter, but Spamfilters at that moment rejects the whole message.<br /><br />I made a test turning off Exchange Recipient Filtering and SPamfilter receives a RCPT OK and in turn forwards the message, later in the pipeline Exchange detects that 1 of the recipients is invalid and sends the NDR to the Sender.<br /><br />Hope I explained myself, the problem shows when Invalid and Valid are part of the "TO" Header at the same time, I have not tested putting both recipients in the "CC" or both at the "BCC", but I will do the test and report back.<br /><br />Regards,<br /><br />Enrique]]>
   </description>
   <pubDate>Sat, 31 Oct 2015 12:28:20 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14773&amp;title=problem-with-bad-recipients#14773</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients :  Enrique,If SpamFilter has this...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14769&amp;title=problem-with-bad-recipients#14769</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 30 October 2015 at 3:25pm<br /><br /><div><div>Enrique,</div><div><br></div><div>If SpamFilter has this entry in the SpamFilter.ini file (it's enabled by default):</div><div><font size="1" color="#666666">VerifyRCPTTOForCleanEmails=1</font></div><div><br></div><div>Then it should be able to detect when your Exchange server rejects a recipient. When this happens, SpamFilter will by design reject the email with a 5xx error. This is done on purpose as behaving this way forces the remote server that is sending the email to send a bounce NDR (non-deliverable receipt) email back to the sender to notify them that the email was not delivered correctly.</div><div><br></div><div>If this didn't happen (meaning that SpamFilter accepted the email), then it would be up to SpamFilter to send an NDR back to the sender. As often times spammers will send email using fake or spoofed email addresses, this would be bad as SpamFilter would then be sending large amount of backscatter emails out to innocent victims and may cause your server to be blacklisted.</div><div><br></div><div>Note that in either case (whether the sender's own mail server or SpamFilter) sends the NDR, the sender will get a bounce email back saying that their email was not delivered to all recipients. So it may very well be that we leave this job for the remote sending server...!</div><div><br></div><div>In the rejection message, SpamFilter will include the rejection message with which your Exchange server has rejected the recipient. The same error message will be logged in SpamFilter's logfile.</div><div><br></div><div>Please see the following example below where we send an email to SpamFilter containing both an Valid and an Invalid email address. As you can see, at the end of the transaction SpamFilter will issue the 550 error reporting back to the sender the error that our own mail server generated (<b>550 Requested action not taken: mailbox unavailable or not local</b><span style="font-size: x-small;">&nbsp;</span>).</div><div><br></div><div>It will be up to the sender to then send a bounce back to the sender (roberto@test.logsat.com) to let them know that the email was not delivered to "Invalid@logsat.com".</div><div><br></div><div>SpamFilter logfile:</div><div><div><font size="1" color="#666666">10/30/15 15:03:32:674 -- (44285680) EMail from roberto@test.logsat.com to Valid@logsat.com, Invalid@logsat.com --- &nbsp;was forwarded to mail2.netwide.net:587 - Response:250 Requested mail action okay, completed ---&nbsp;</font></div><div><font size="1" color="#666666">10/30/15 15:03:32:674 -- (44285680) Some recipients do not exist, sending 550 to sender SMTP server. The destination SMTP server said:Invalid@logsat.com:&nbsp;<b>550 Requested action not taken: mailbox unavailable or not local</b>&nbsp;---&nbsp;</font></div></div><div><br></div><div>SMTP session trace:</div><div><br></div><div><div><font size="1" color="#0000ff">220 test.logsat.com Welcome to SpamFilterISP SMTP Server v4.7.1.172</font></div><div><font size="1" color="#ff0000">EHLO cmctrf3</font></div><div><font size="1" color="#0000ff">250-Hello cmctrf3</font></div><div><font size="1" color="#0000ff">250-AUTH LOGIN</font></div><div><font size="1" color="#0000ff">250-ENHANCEDSTATUSCODES</font></div><div><font size="1" color="#0000ff">250-SIZE 25600000</font></div><div><font size="1" color="#0000ff">250-8BITMIME</font></div><div><font size="1" color="#0000ff">250 BINARYMIME</font></div><div><font size="1" color="#ff0000">MAIL FROM:&lt;roberto@test.logsat.com&gt;</font></div><div><font size="1" color="#0000ff">250 2.1.0 roberto@test.logsat.com Address Okay</font></div><div><font size="1" color="#ff0000">RCPT TO:&lt;Valid@logsat.com&gt;</font></div><div><font size="1" color="#0000ff">250 2.1.5 Valid@logsat.com Address Okay</font></div><div><font size="1" color="#ff0000">RCPT TO:&lt;Invalid@logsat.com&gt;</font></div><div><font size="1" color="#0000ff">250 2.1.5 Invalid@logsat.com Address Okay</font></div><div><font size="1" color="#ff0000">DATA</font></div><div><font size="1" color="#0000ff">354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;</font></div><div><font size="1" color="#ff0000">From: roberto@test.logsat.com</font></div><div><font size="1" color="#ff0000">To: Valid@logsat.com</font></div><div><font size="1" color="#ff0000">CC: Invalid@logsat.com</font></div><div><font size="1" color="#ff0000">Subject: test 1</font></div><div><font size="1" color="#ff0000">Date: Fri, 30 Oct 2015 00:48:40 -0400</font></div><div><font size="1" color="#ff0000"><br></font></div><div><font size="1" color="#ff0000">test</font></div><div><font size="1" color="#ff0000">.</font></div><div><font size="1" color="#ff0000">QUIT</font></div><div><font size="1" color="#0000ff">550 &nbsp;--- The email was not delivered to the following addresses:&nbsp;<b>Invalid@logsat.com: 550 Requested action not taken: mailbox unavailable or not local ##&nbsp;</b></font></div></div><div><br></div></div><span style="font-size:10px"><br /><br />Edited by LogSat - 30 October 2015 at 3:34pm</span>]]>
   </description>
   <pubDate>Fri, 30 Oct 2015 15:25:17 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14769&amp;title=problem-with-bad-recipients#14769</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Bad Recipients :   Hello,I&amp;#039;ve found an strange...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14768&amp;title=problem-with-bad-recipients#14768</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=1393">ecarbone</a><br /><strong>Subject:</strong> 7124<br /><strong>Posted:</strong> 30 October 2015 at 12:48am<br /><br /><div>Hello,</div><div>I've found an strange behavior with SpamFilter, Exchange Server 2013 and Exchange recipient filter feature enabled.</div><div><br></div><div>When a user sends an email and he types a bad address along with a good address, the message is NOT delivered to the good address and Spamfilter logs a "User unknown error" and tries to send a NDR to Sender.</div><div><br></div><div>For example, lets suppose I send an email like:</div><div><br></div><div>From: Someone@gmail.com</div><div>To: validuser@domain.com, InvalidUser@domain.com</div><div>Subject: Whatever...</div><div><br></div><div>Tracing LOG files at SpamFilter I can see that message is correctly sent to the Exchange Server at domain.com after all the internal spam checks (SPF, Bayesian,SFDB, &nbsp;etc, etc) that is&nbsp; "Created thread (XXXXXX) to handle delivery"</div><div><br></div><div>From Exchange Server side I can see that message arrives correctly and Exchange detects that one of the recipients is invalid because it doesn't exist at the company. Exchange sends back a Recipient OK for validuser@domain.com and also sends back a User Unknown for InvalidUser@domain.com</div><div><br></div><div>It seems that SpamFilter is just processing the "User unknown" response and therefore rejects the message without trying to send it for the valid user.</div><div><br></div><div>Hope you can help, I can provide LOGS from SpamFilter side and Exchange side if needed.</div><div><br></div><div>By the way,&nbsp; I'm aware that SpamFilter has an "Authorized TO Emails" White List; but by the moment we are not able to Sync this list with our customers Address Books in an efficient way, so they rely on Exchange's recipient filter to reject invalid recipients.</div><div><br></div><div>Also worth to note that Exchange 2013 has FrontEnd/BackEnd architecture, that is .. all messages are received by a FrontEnd Server on port 25 with standard SMTP, after analyzing the destination recipients, messages are routed to a BackEnd server depending on which server the mailbox resides; this is valid even if there is only 1 server at the company. Exchange side is NOT USING Edge roles, our customers are seeing SpamFilter as the first line of defense for cleaning spam.</div><div><br></div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>&nbsp;&nbsp; Enrique.</div>]]>
   </description>
   <pubDate>Fri, 30 Oct 2015 00:48:40 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7124&amp;PID=14768&amp;title=problem-with-bad-recipients#14768</guid>
  </item> 
 </channel>
</rss>