> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Terry Collins
> Sent: Monday, 25 September 2000 7:25
> To: Slug
> Subject: [SLUG] Rejecting mail under sendmail
>
>
> Has anyone use the sendmail facility to reject mail from spamming or
> bombing sites?
>
> In my O'Reilly's Sendmail book (2nd edition) book, I'm talking about
> page 295.

Hello,

There are many ways to implement it with sendmail.

Here is a good example which works nicely:

Add the following lines to your MC file (there are others as well):

define(`confMAPDEF', `-DMAP_REGEX')
FEATURE(access_db, hash /etc/mail/access)
FEATURE(dnsbl, `rbl.maps.vix.com', `Mail from $&{client_addr} rejected - see 
http://www.mail-abuse.org/rbl/')dnl
FEATURE(dnsbl, `dul.maps.vix.com', `Dialup - see http://www.mail-abuse.org/dul/')dnl
FEATURE(dnsbl, `relays.mail-abuse.org', `Open spam relay $&{client_addr} - see 
http://www.mail-abuse.org/rss/')dnl

These features, along with access file, extra LOCAL_RULESETs,
and regular expressions will give you excellent results.

In addition, if you use procmail as your Mail User Agent,
you can do magic as far as blocking spam.

Good luck,

Dusan U. Baljevic, Unix Systems Manager 
Mayne Nickless Ltd., Corporate IT
Member of: ACM, ACS, WIA, IEEE
Amateur Radio: VK2COT, VK4FCW, YU6FO, YU6ZCW
Web: http://www.matra.com.au/~dusan/


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to