SUMMARY: Rejecting spam / unsolicited mail on Solaris

From: SysAdm <sunadmin_at_norsar.no>
Date: Tue Nov 06 2001 - 08:20:41 EST
Date: Tue, 6 Nov 2001 11:48:00 +0100 (MET)
From: "Nils K. Schoyen" <nils@norsar.no>
Subject: SUMMARY: Rejecting spam / unsolicited mail on Solaris
To: sunmanagers@sunmanagers.org


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@somenet.com              OK
   arabia.com                       DISCARD
   ALCUDIAGARDEN@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
Received on Tue Nov 6 13:20:41 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:35 EDT