Bug 84165

Summary: Implement: service sendmail reload
Product: [Retired] Red Hat Linux Reporter: Oliver Schulze L. <oliver>
Component: sendmailAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-28 11:15:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch for sendmail-8.11.6-25.73 none

Description Oliver Schulze L. 2003-02-12 22:34:51 UTC
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):


How reproducible:
Always

Steps to Reproduce:
1. service sendmail reload
2. reload is not a recognized option
3.
    

Additional info:
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.

Comment 1 Florian La Roche 2003-06-25 23:00:39 UTC

*** This bug has been marked as a duplicate of 98016 ***

Comment 2 Stephen Samuel 2003-06-25 23:18:57 UTC
Note that you don't need to reload sendmail to have it recognize changes to most
database files.

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.

Comment 3 Oliver Schulze L. 2003-06-26 00:28:08 UTC
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

Comment 4 Thomas Woerner 2004-01-28 11:15:56 UTC
Fixed in rawhide in rpm sendmail-8.12.11-1, or newer.