Restarting sendmail after config change ?

Chris Conn cconn at ABACOM.COM
Wed Nov 24 18:41:18 GMT 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Richard Curtis wrote:
> I am writing a script for adding hosted domains to our server.
> When I add a hosted domain, I need to add it to the sendmails virtusertable
> and local-host-names.
>
> I have tried to use /etc/init.d/MailScanner reload but this does not
> rebuild
> the virtusertable.db file.
>
> What is the correct way to do this ?
>
on my redhats, I have a script that does this:

make -C /etc/mail
kill -HUP `head -1 /var/run/sendmail.in.pid`

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list