I CANT STOP RELAY !!

Dodson, Ron RDodson at ASPENSYS.COM
Wed May 26 14:24:13 IST 2004


>----- Original Message -----
>From: "Diego Fabara" <diego.fabara at ALEGROPCS.COM>
>To: <MAILSCANNER at JISCMAIL.AC.UK>
>Sent: Tuesday, May 25, 2004 6:38 PM
>Subject: I CANT STOP RELAY !!
>
>Here is how I have configured in access
>joe at domain.com OK
>bill at domain.com OK
>domain.com REJECT
>
>I do this to stop dictionary attacks against domain.com
>
>however when I send mail to joe at domain.com it rejects
>when I change the domain.com REJECT to RELAY it gets delivered. however
>so does all the spam for anybody at domain.com
>
>In my sendmail m4 file I have 2 entries
>
>FEATURE(`access_db')
>FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl

Add this line:

FEATURE(`blacklist_recipients')dnl

to your sendmail mc file, rebuild sendmail.cf, then change

joe at domain.com OK
bill at domain.com OK
domain.com REJECT

to

To:joe at domain.com OK
To:bill at domain.com OK
To:domain.com REJECT

and rebuild access db

Ron Dodson
Sr. Network Engineer
Aspen Systems Corp.
rdodson at aspensys.com

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list