<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 "Chris Barber" <<a href="mailto:chris@techquility.net">chris@techquility.net</a>>:<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'm doing stuff like that in sendmail's access (/etc/mail/access) file, with entries like:<br>
<br>
<a href="http://cn.ru" target="_blank">cn.ru</a> ERROR:"550 Reject : <a href="http://cn.ru" target="_blank">cn.ru</a> - Spam source"<br>
<br>
Works like a charm :)<br>
<br>
On Fri, July 18, 2014 19:47, Bryan Laurila wrote:<br>
> I had an interesting situation creep up on me this week where I<br>
> thought that something was happening (or being processed) in<br>
> MailScanner/SpamAssassin but apparently it was not.<br>
><br>
> I have two mail relay scanners running MailScanner & SpamAssassin on<br>
> Suse Linux. These boxes scan incoming mail for spam & viruses and<br>
> then relay to my MS Exchange server. I had an influx of spam this<br>
> week coming in from several top-level domains that we wouldn't<br>
> normally receive any valid emails from anyway, like .eu, .in, .asia, .club, etc.<br>
><br>
><br>
> Upon investigating the situation I found that the Trend Micro Scan<br>
> Mail service on my Exchange server crashed which lead me to the<br>
> discovery that MailScanner & SpamAssassin weren't filtering mail from<br>
> these unwanted top level domains as I thought and all that work was<br>
> being done by my exchange server.<br>
><br>
> So, the question of the day is... Where is the best place to turn on<br>
> filtering or set a rule somehow to filter unwanted top-level domains<br>
> at the MailScanner/SpamAssassin servers?<br>
><br>
> Like all things in IT there are probably multiple ways of doing this<br>
> so I am curious as to what others are doing. All thoughts & comments<br>
> are welcome.<br>
><br>
> Thanks!<br>
><br>
> Bryan S. Laurila<br>
> Senior Network Support Analyst<br>
> Dickinson County Healthcare System<br>
> 1721 South Stephenson Avenue<br>
> Iron Mountain, Michigan 49801<br>
><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>