SUMMARY: Rejecting spam / unsolicited mail on Solaris

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

Original posting:

>    Any ideas on how to filter out spam when using Sendmail (and DtMail) o=
>    Solaris?
>   =20
>    We have implemented access_db in sendmail, but it is (almost) impossib=
>    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)?


   - 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/ file: =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"
     Note the first whitespace character in each line must be a tab

   - try procmail ( and

   - Check out PerlMX from

   - Kaccess hash /etc/mail/access


What we have implemented so far (sendmail):

In /etc/mail/

   Kaccess dbm -o /etc/mail/access

Example lines from /etc/mail/access              OK                       DISCARD           DISCARD              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
( =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