On Mon, 12 Feb 2001, Sandeep Sharma wrote:

> hi all,
>
> I am using redhat linux 6.2. I want to block a couple of email addresses.
>
> can you tell me how can i block an email address/ a mailing list.. Can
>
> u please help me out.
>
> ciao'
>
> sasha
>
You need to edit /etc/mail/access.  If you want to block an address
range to block all of a company's mail servers, you can use something
like:

63.88.133               550 YesMail Forbidden Manually.

If you want to block mail from a speciufic address, something like this
works well:

[EMAIL PROTECTED]  550 No Spam allowed.

After you edit the file, you need to rebuild the database.  An easy way
to do that is to run make from the /etc/mail directory.  If you don't
have make installed, use the command "makemap hash access <access" to
rebuild the database.

The run "/etc/rc.d/init.d/sendmail restart".

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to