[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Nuonce Antispam feature
- Subject: [cobalt-users] Nuonce Antispam feature
- From: "Peter Kuipers - Netpeople.be" <info@xxxxxxxxxxxx>
- Date: Sat Apr 17 06:00:02 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hey list,
Is somebody familiar with this antispam solution by nuonce networks. As
found on: http://www.nuonce.net/cobalt-smtp-blackhole.php i would use it on
a raq 4 and a raq 550
--- the procedure ---
This procedure should work on any Cobalt Series Appliance server. By using
sendmail, it will contact black hole lists, and see if the person sending
you email is an open relay. If they are, the email will be blocked. You
may loose some REAL email, but you will start to see the amount of spam
dwindle down to almost NOTHING.
Change to the Sendmail Configuration directory. It may vary on your Cobalt.
So, try to do a "locate cobalt.mc"
cd /usr/lib/sendmail-cf/cf
cp cobalt.mc cobalt.mc.safe
*Then* edit cobalt.mc and add these entries:
FEATURE(`dnsbl',`relays.ordb.org',`554 Rejected - see http://ordb.org/')dnl
FEATURE(`dnsbl',`bl.spamcop.net',`554 Rejected - see
http://spamcop.net/')dnl
FEATURE(`dnsbl',`sbl.spamhaus.org',`554 Rejected - see
http://spamhaus.org/')dnl
FEATURE(`dnsbl',`blackholes.mail-abuse.org',`554 Rejected - see
http://mail-abuse.org/')dnl
FEATURE(`dnsbl',`dialups.mail-abuse.org',`554 Dialup rejected - see
http://www.mail-abuse.org/dul/')dnl
FEATURE(`dnsbl',`relays.visi.com',`554 Known spammer site see:
http://relays.visi.com')dnl
FEATURE(`dnsbl',`dnsbl.njabl.org',`554 Message from $&{client_addr}rejected
- see http://njabl.org/')dnl
(Each FEATURE line is one line).
cd /usr/lib/sendmail-cf
m4 cf/cobalt.mc > /etc/mail/spamblock.cf cd /etc/mail
This step is VERY, VERY, VERY important. Incase something happens, it
allows you to go back to the orginal sendmail configuration!
cp sendmail.cf sendmail.cf.orig
cp spamblock.cf sendmail.cf
/etc/rc.d/init.d/sendmail restart
Since Sun Cobalt only really does updates, they do NOT put in a new
cobalt.mc file.
You may notice POP before SMTP not working, and also your mailing lists may
break.
If so, in /etc/mail/sendmail.cf do the following:
Search for:
# Access list database (for spam stomping) Kaccess hash -o /etc/mail/access
After that, add the following:
# Pop-before-smtp secondary access hash
Kpopauth hash -a<MATCH> /etc/mail/popip.db
Search for:
# location of alias file
O AliasFile=/etc/mail/aliases
Directly after that, add:
O AliasFile=/etc/mail/aliases.majordomo
Greets Peter