SUMMARY: Rejecting spam / unsolicited mail on Solaris

2007-12-24 21:10:00

Date: Tue, 6 Nov 2001 11:48:00 +0100 (MET)
From: "Nils K. Schoyen" <nils at norsar.no>
Subject: SUMMARY: Rejecting spam / unsolicited mail on Solaris
To: codeprof at codeprof.com

Original posting:

> Any ideas on how to filter out spam when using Sendmail (and DtMail) o=
n
> Solaris?
> =20
> We have implemented access_db in sendmail, but it is (almost) impossib=
le
> to keep this list updated... We have also included DNS checks to rejec=
t mail
> from unresolvable domains, etc.
> =20
> Does anyone have experience with the Blackhole list (sendmail macro)?

Suggestions:

- never use sendmail - use qmail it's rcpthosts can be set just to accep=
t or=20
reject mail

- Create /etc/mail/Spammers file listing spammer's email addresses and c=
ode to=20
/etc/mail/sendmail.cf file: =20
=20
F{Spammer} /etc/mail/Spammers
R<$=3D{Spammer}> $#error $@ 5.7.1 $: "550 We don't accept mail fro=
m you"
R<$=3D{Spammer}.> $#error $@ 5.7.1 $: "550 We don't accept mail fro=
m you"
=20
Note the first whitespace character in each line must be a tab

- try procmail (http://www.sunfreeware.com and http://www.procmail.net)

- Check out PerlMX from http://activestate.com

- sendmail.cf: Kaccess hash /etc/mail/access

- http://www.networkdweebs.com/products/dspam/
=20

What we have implemented so far (sendmail):

In /etc/mail/sendmail.cf

Kaccess dbm -o /etc/mail/access

Example lines from /etc/mail/access

someone at somenet.com OK
arabia.com DISCARD
ALCUDIAGARDEN at terra.es DISCARD
green-card-visa.org DISCARD

After changes to this file:

makemap dbm /etc/mail/access < /etc/mail/access

We will probably implement the Blackhole list as well. In addition, we rece=
ntly bought
Trend Viruswall (content check) and Trend eManager (anti-spam features and =
more) for Solaris
(http://www.antivirus.com). =20

Thanks to all that replied!

Best regards,

Nils K. Sch=F8yen

Comments

Got something to say?

You must be logged in to post a comment.