The Ultimate Business Machine - Archives List of Categories : Database * Technology * Commentary * Singapore * Travel *
Sat 31 Jan 2004
Spam Block
Category : Technology/SpamBlock.txt
Lots of junk mail coming in, no doubt due to the MyDoom virus, and variants. I don't have time to add these to Postfix Enabler yet, but you can add these lines (combining contributions by Terry Allen and Michel Poulain) to the Custom Postfix Settings field in the second panel : maps_rbl_domains = sbl.spamhaus.org, relays.ordb.org, cbl.abuseat.org, bl.spamcop.net smtpd_client_restrictions = hash:/etc/postfix/access, reject_rbl_client sbl.spamhaus.org, reject_rbl_client relays.ordb.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spamcop.net default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason} - see http://$rbl_domain. smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, reject_unknown_hostname Another thing to do is to un-set the LUSER_RELAY parameter, i.e., do not nominate a user who will receive all the mail addressed to unknown users in your domain. These mail will be bounced back to the sender. I think it works because the mail server has quietened down quite a bit.
Posted at 5:15AM UTC | permalink
|