SpamAssissan Block List

Bob Richards bob at tania.servebbs.org
Tue Aug 15 22:33:17 BST 2006


On Tuesday 15 August 2006 16:52, Robert Spangler wrote:

> I'd like to block domains instead of complete email addresses, anyone know
> how to do this with Spam Assissan?

in ~/.spamassassin/user_prefs you can have  entries of the sort: 
Blacklist_from  *.jp *.ru *.tw *.cn
or: Blacklist_from  bad.domain.com

This will do what you want.

However, IMHO, it is better to deny access to spammers/abusers  right at the 
MTA port (25)

For sendmail, etc/mail/access can contain things like:

cyberspammer.com       550 We don't accept mail from cyberspammer.com
59.117                   550 We don't accept mail from spamming IPs
64.2                       550 We don't accept mail from spammers
com.br                   550 We don't accept mail from Brazil
com.ar                   550 We don't accept mail from Argentina
com.cn                   550 China GO AWAY
*.info		       550 Keep your INFO to yourself!

After changing /etc/mail/access; do a make;make install as root in /etc/mail/
this will create a new /etc/mail/access.db file, which sendmail will read 
during the smtp connect phase of the transaction, so spammy gets Rejected 
before any spam gets into your box, and BEFORE it has to be transported and 
analysed by spamassassin.  Faster, more effecient, less load on your server 
and bandwidth, and the spam stays on spammys server undelerivable! 




-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20060815/68006753/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list