Re: configuring sendmail to not "send mail"

Michael Schwager <[email protected]> Tue, 12 Nov 2002 17:08:26 -0600
Newsgroups gmane.linux.redhat.release.guinness
Message-ID <33392295.1037120906@[192.168.100.250]>
You could configure it to only send when the recipient is local.  A quick 
and dirty way is to edit your sendmail.cf file, look for lines that look 
like:

Msmtp,          P=[IPC], F=mDFMuX, S=11/31, R=21, E=\r\n, L=990,
                T=DNS/RFC822/SMTP,
                A=IPC $h

and comment them out.  Your senders will receive an error message.  If you 
would like to be more kind, you can configure the mailer to send a nicely 
worded bounce message.

--On Tuesday, November 12, 2002 11:23 AM -0800 Joel Thompson 
<[email protected]> wrote:

> I'd like to use sendmail to recieve mail only. (or
> should I be looking at another service?)
> Anyone know of the SM flags to setup on this?

--
-Mike Schwager
 [email protected]