Red Hat Bugzilla – Bug 84165
Implement: service sendmail reload
Last modified: 2007-04-18 12:51:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
Description of problem:
It would be nice, if the sendmail service have the reload option.
So, if you change your /etc/mail/access or /etc/mail/virtusertable files, you
can issue a command like this:
# service sendmail reload
to make the changes take effect
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service sendmail reload
2. reload is not a recognized option
This will help a mail server response, since you don't need to make your
mailserver unavailable for a couple of seconds or even kill existing sendmail
processes when you change a simple line in your config file.
*** This bug has been marked as a duplicate of 98016 ***
Note that you don't need to reload sendmail to have it recognize changes to most
Doing a 'make ' in /etc/mail will enable changes to things like the
virtusertable and access.
Running 'newaliases' will activate changes to /etc/aliases.
Note that my patch does not try to rebuild databases (I'm now rethinking not
doing that in my patch).
BTW: I think that the reason why your patch was marked a duplicate of mine may
be that mine is for an active version of RH and/or includes a patch.
Created attachment 92624 [details]
Patch for sendmail-8.11.6-25.73
This is a patch for sendmail-8.11.6-25.73 for RH7.3
I ported the patch posted in bug #98016
Fixed in rawhide in rpm sendmail-8.12.11-1, or newer.