Hi,
On Nov 26, 2003, at 4:14 PM, Brian Blood wrote:
Should the dbmail-smptd service be added in here as well?
Anybody see any problems? It seems to work great on my 10.2.8 system.
dbmail-smtp does not run as daemon. Rather, it is started by your MTA
on an insert.
Your startup/shutdown script looks ok.
cheers,
Ilja
Thanks
Brian
########################################
#!/bin/sh
##
# Dbmail POP3 and IMAP Servers
##
. /etc/rc.common
StartService ()
{
ConsoleMessage "Starting Dbmail server"
dbmail-pop3d &
dbmail-imapd &
}
StopService ()
{
ConsoleMessage "Stopping Dbmail servers"
for theServer in dbmail-pop3d dbmail-imapd; do
dbmailpid=`ps -axo pid,ucomm,user | grep $theServer | grep
root`;
dbmailpid=`echo $dbmailpid | cut -d\ -f1`;
if [ "$dbmailpid" != "" ]; then
kill $dbmailpid;
fi
done
}
RestartService ()
{
StopService
StartService
}
RunService "$1"
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
--
IC&S
Stadhouderslaan 57
3583 JD Utrecht
telnr. 030-6355730
faxnr. 030-6355731
PGP-key:
http://www.ic-s.nl/keys/ilja.txt