[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sendmail - blocking addresses



On Sat, 29 Sep 2001, Carlos Sousa wrote:
>
> I'm using sendmail, and I want to block all mail from assh@clown.com.
> The reason I'm posting this to debian-users is that I would like to do
> it the debian way (sendmailconfig is a cool tool and a great
> timesaver), but I couldn't find any clues in my system or on the
> Internet (debian archives, etc.).
>
> I can always do this by hand using sendmail.org's pointers, but my
> setup will probably be trashed next time the sendmail package is upgraded.
>
> Thanks for any pointers on how to implement address blocking with the
> debian-provided package.

No need to worry about loosing setup...

add this to /etc/mail/access (create if necessary):
assh@clown.com REJECT

If you want no mail from the entire domain:
clown.com REJECT

then either:
	1) cd /etc/mail && make
	2) or cd /etc/mail && makemap hash access.db < access

and you're done...
-- 
Rick Nelson
"What are we going to do tonight, Bill?"
"Same thing we do every night Steve, try to take over the world!"




Reply to: