<p dir="ltr">Ik you use Google and Google for the following you get enough results that you can use. </p>
<p dir="ltr">postfix block toplevel domain</p>
<p dir="ltr">Regards<br>
</p>
<div class="gmail_quote">Op 22 jul. 2014 04:39 schreef &quot;Chris Barber&quot; &lt;<a href="mailto:chris@techquility.net">chris@techquility.net</a>&gt;:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ahh, brilliant! We are using postfix instead of sendmail, do you know what the correspoding file in Postfix is for this?<br>
<br>
Thanks!<br>
Chris<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a> [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf Of Mogens Melander<br>

Sent: Saturday, July 19, 2014 1:38 AM<br>
To: <a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
Subject: Re: Blocking top-level domains<br>
<br>
Hi<br>
<br>
I&#39;m doing stuff like that in sendmail&#39;s access (/etc/mail/access) file, with entries like:<br>
<br>
<a href="http://cn.ru" target="_blank">cn.ru</a>    ERROR:&quot;550 Reject : <a href="http://cn.ru" target="_blank">cn.ru</a> - Spam source&quot;<br>
<br>
Works like a charm :)<br>
<br>
On Fri, July 18, 2014 19:47, Bryan Laurila wrote:<br>
&gt; I had an interesting situation creep up on me this week where I<br>
&gt; thought that something was happening (or being processed) in<br>
&gt; MailScanner/SpamAssassin but apparently it was not.<br>
&gt;<br>
&gt; I have two mail relay scanners running MailScanner &amp; SpamAssassin on<br>
&gt; Suse Linux.  These boxes scan incoming mail for spam &amp; viruses and<br>
&gt; then relay to my MS Exchange server.  I had an influx of spam this<br>
&gt; week coming in from several top-level domains that we wouldn&#39;t<br>
&gt; normally receive any valid emails from anyway, like .eu, .in, .asia, .club, etc.<br>
&gt;<br>
&gt;<br>
&gt; Upon investigating the situation I found that the Trend Micro Scan<br>
&gt; Mail service on my Exchange server crashed which lead me to the<br>
&gt; discovery that MailScanner &amp; SpamAssassin weren&#39;t filtering mail from<br>
&gt; these unwanted top level domains as I thought and all that work was<br>
&gt; being done by my exchange server.<br>
&gt;<br>
&gt; So, the question of the day is...  Where is the best place to turn on<br>
&gt; filtering or set a rule somehow to filter unwanted top-level domains<br>
&gt; at the MailScanner/SpamAssassin servers?<br>
&gt;<br>
&gt; Like all things in IT there are probably multiple ways of doing this<br>
&gt; so I am curious as to what others are doing.  All thoughts &amp; comments<br>
&gt; are welcome.<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; Bryan S. Laurila<br>
&gt; Senior Network Support Analyst<br>
&gt; Dickinson County Healthcare System<br>
&gt; 1721 South Stephenson Avenue<br>
&gt; Iron Mountain, Michigan 49801<br>
&gt;<br>
<br>
<br>
--<br>
Mogens Melander<br>
<a href="tel:%2B66%208701%2033224" value="+66870133224">+66 8701 33224</a><br>
<br>
<br>
--<br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<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>
<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>
</blockquote></div>