[TriLUG] sendmail restarting after being stopped

Jeremy Portzer jeremyp at pobox.com
Fri Apr 25 15:23:11 EDT 2003


On Fri, 2003-04-25 at 15:20, Rodent of Unusual Size wrote:
> i occasionally have to shut sendmail down for an interval while
> frobbing some mail files.  unfortunately, there seems to be something
> that silently restarts it unpredictably.  it's a real pita.  i
> haven't figured out what's doing it (rh 7.2), but i've had to resort
> to renaming the sendmail binary to keep it from possibly coming back
> up.
> 

Even when the sendmail service is stopped, local programs can still call
/usr/sbin/sendmail and start sending mail.  Is this what you mean?  The
sendmail "service" is primarily the SMTP listener part of the
application; other parts are run directly, depending on the situation.

If you really don't want any mail to be sent, you'll have to stop the
other programs/users that are sending mail.  Or do as you've done and
rename (or chmod) the binary, but that could cause lots of nasty errors
to be reported back to the client.

--Jeremy

-- 
/=====================================================================\
| Jeremy Portzer       jeremyp at pobox.com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\=====================================================================/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030425/629b2de2/attachment.pgp>


More information about the TriLUG mailing list