<br><br><div class="gmail_quote">On 13 July 2010 09:52, Randy R <span dir="ltr">&lt;<a href="mailto:randulo2008@gmail.com">randulo2008@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;">

Many of you are interested in and have used or recommended fail2ban<br>
for your linux boxes. I finally installed it on our FreeBSD server (no<br>
asterisk, hence the OT) with the help of a friend from the VoIP Users<br>
Conference and Asterisk community.<br>
<br>
After a lot of new learning about regex, I extended the actions and<br>
filters to look at our mail server, plagued by spammers - who isn&#39;t?<br>
Our server has a unique setup now. The customer found a spam filtering<br>
service that works VERY well as the MX for the domain. Their server<br>
then connects to ours to deliver. Obviously, the IPs of that service<br>
are entered as RELAY in the sendmail config. Here is my question:<br>
<br>
We are still getting a lot of direct spam. Being that only account<br>
holders and the spam filtering servers should be connecting, I started<br>
blocking various connections bith in /etc/mail/access and in pf.<br>
However, I soon saw that I&#39;ll need to block the en tire Internet IP<br>
space. Blocking by IP is a problem for a small number of nomad users<br>
whose IP may just be in China, Russia or Argentina at some point.<br>
<br>
I was thinking of closing port 25 and using an alternate port (587?)<br>
setup if the spam service is able to connect to an alternate port.<br>
That way, the users can also change their configs to 587 and most<br>
spammers will be trying 25 which is closed.<br>
<br>
Is this a tenable idea? What are your experiences and opinions?<br>
<br>
tia<br>
<br>
/r<br>
<br></blockquote><div><br></div><div>Hi Randy,</div><div><br></div><div>How many users are on this &#39;domain&#39;? Google Apps Free is a great solution for upto 50 users with 7.6GB per user. Their spam filtering usually does the job for our customers.</div>

<div><br></div><div>Regards,</div><div>Brian</div><div><br></div><div><br></div><div> </div></div>