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) on
>    Solaris?
>    
>    We have implemented access_db in sendmail, but it is (almost) impossible
>    to keep this list updated... We have also included DNS checks to reject mail
>    from unresolvable domains, etc.
>    
>    Does anyone have experience with the Blackhole list (sendmail macro)?


Suggestions:

   - never use sendmail - use qmail it's rcpthosts can be set just to accept or 
     reject mail

   - Create /etc/mail/Spammers file listing spammer's email addresses and code to 
     /etc/mail/sendmail.cf file:  
    
        F{Spammer} /etc/mail/Spammers
        R<$={Spammer}>  $#error $@ 5.7.1 $: "550 We don't accept mail from you"
        R<$={Spammer}.> $#error $@ 5.7.1 $: "550 We don't accept mail from you"
       
     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/
  

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 recently bought
Trend Viruswall (content check) and Trend eManager (anti-spam features and more) for Solaris
(http://www.antivirus.com).  

Thanks to all that replied!



Best regards,

Nils K. Schøyen


_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Nov 6 07:22:14 2001

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:27 EST