*********** REPLY SEPARATOR  ***********

On 6/02/2002 at 4:15 AM Ditesh Kumar [EMAIL PROTECTED]
[gregausit/redhat-list] wrote:

>Hi,
>
>I'm wondering how does one go about getting sendmail to stop accepting
>mail for certain users (temporarily). Does this happen on the system level
>or can it be configured on the sendmail level? I'd appreciate if someone
>could point me in the right direction - I'll go RTFM once I know where to
>go change stuff :)
>

It is not clear what you really want to do, block incoming, sending or
both, so...

You can use the access maps ..... in later Sendmail versions

To:<address>    REJECT
From:<address>  REJECT

OR

To:<address>    <valid error code> <text message>
From:<address>  <valid error code> <text message>


OR you could disable shell, block IP if from known host to service port
with inetd,xinetd,ipchains,iptables


>
>ps: Right now, I'm using procmail to send the mail for these users to
>/dev/null.

Procmail works well, you could even have it send a message back to sender
explaining mail has been disabled, not sure if alias maps will accept user:
/dev/null , check docs.

Regards

Greg Wright
-- 

IT Consultant Sydney Australia     PH 0418 292020 -- Int. +61 418 292020
Available for Global Contracts      US Fax -- 801 740 2874
Web  http://www.ausit.com    E-mail Greg  AT  AusIT.com
Trading As -   AAA Computers -- providers of IT services.



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

Reply via email to