Preventing Spams Using Endian Firewall | Linux Command to Remember # 1 | ProxyPass | A non-stock, non-profit organization composed of individuals dedicated to promoting open source software. Batangas, Philippines">
Google
 
Web boss-ph.blogspot.com

Thursday, September 28, 2006

Preventing Spams Using Endian Firewall

One of the main problems of administering mail servers are filtering SPAMS. There are lot of tools and methods that administrator are using nowadays just to filter those VIAGRAs mails.
These were Endian Firewall comes in handy. The process takes up just 2 hours of testing and tweaking. I've installed it on an IBM Netfinity with 1GB of Memory, 17GB of raid 1 SCSI drives.


Since it is based on IPCOP, i dont have the hard time on the firewall's configuration.



Just enter your domains and your mailserver. Dont forget to allow Endian Firewall to relay on your mailserver.



It uses RBLs and Greylisting on its spam protection. I've also added rules on Rulesemporium for greater results.

Sample Logs:

postfix/smtpd[5932]: NOQUEUE: reject: RCPT from ckt97.neoplus.adsl.tpnet.pl[83.31.95.97]: 554 Service unavailable; Client host [83.31.95.97] blocked using dul.dnsbl.sorbs.net; Dynamic IP Addresses See: http://www.sorbs.net/lookup.shtml?83.31.95.97; from= to= proto=ESMTP helo=


postfix/smtpd[6290]: NOQUEUE: reject: RCPT from unknown[60.51.116.234]: 450 : Recipient address rejected: Greylisted for 30 seconds (see http://isg.ee.ethz.ch/tools/postgrey/help/domain.com.html); from= to= proto=ESMTP helo=<[60.51.116.234]>


Technorati Tags:
, , , ,

Tuesday, September 26, 2006

Linux Command to Remember # 1

To know users that dont check emails or has a huge mailbox


[root@popoy new]#$ sudo du --si directory |less



To dump the result on a file


$sudo du --si directory > /home/popoy/domainname_mailbox.txt





Thats all folks!!!

Monday, September 04, 2006

ProxyPass

For Apache ProxyPass module:

ProxyPass /somedirectory/ http://local.ip/somedirectory/
ProxyPassReverse /somedirectory/ http://local.ip/somedirectory/