Hello list:
I have one problem that I am trying to solve. Below is part of the script
(borrowed from FreeBSD script) I use to control the qmail-scanner process.
The problem is that though the daemons start fine, there is no logging
enabled for qmail-smtpd. I also included the output from `ps` at the end
of this posting.
###########################
FQDN="`/usr/bin/hostname --fqdn`"
SMTPENABLE="yes"
POPENABLE="yes"
QMAILENABLE="yes"
MYUID=`/usr/bin/id -u qmaild`
MYGID=`/usr/bin/id -g qmaild`
SMTPD="/var/qmail/bin/qmail-smtpd"
MAILDIR="./Maildir/"
MULTILOG="/usr/bin/multilog t s3000000 n20"
POP3LOGDIR="/var/qmail/bin/qmail-pop3d"
SMTPLOGDIR="/var/log/qmail/qmail-smtpd"
SENDLOGDIR="/var/log/qmail/qmail-send"
startfunct() {
case ${SMTPENABLE} in
[Yy][Ee][Ss])
# Start the qmail smtp daemon
/usr/bin/tcpserver -H -R -c 255 -x /etc/tcp.smtp.cdb \
-u ${MYUID} -g ${MYGID} 0 25 ${SMTPD} \
${MULTILOG} ${SMTPLOGDIR} &
echo -n "Started qmail-smtp"
echo ""
;;
esac
case ${POPENABLE} in
[Yy][Ee][Ss])
# Start the qmail pop daemon
/usr/bin/tcpserver -H -R -c 255 0 110 \
/var/qmail/bin/qmail-popup ${FQDN} \
/usr/bin/checkpassword ${POP3LOGDIR} \
Maildir &
echo -n "Started qmail-pop"
echo ""
;;
esac
case ${QMAILENABLE} in
[Yy][Ee][Ss])
# Start qmail
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ${MAILDIR} ${MULTILOG} ${SENDLOGDIR} &
echo -n "Started qmail"
echo ""
;;
esac
}
#####################
qmaild 13466 1 0 10:18 pts/6 00:00:00 /usr/bin/tcpserver -H -R
-c 255 -x /etc/tcp.smtp.cdb -u 201 -g 200 0 25 /var/qmail/bin/qmail-smtpd
/usr/bin/multilog t s3000000 n20 /var/log/qmail/qmail-smtpd
root 13467 1 0 10:18 pts/6 00:00:00 /usr/bin/tcpserver -H -R
-c 255 0 110 /var/qmail/bin/qmail-popup pop.myserver.com
/usr/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
qmails 13468 1 0 10:18 pts/6 00:00:00 qmail-send
qmaill 13469 13468 0 10:18 pts/6 00:00:00 /usr/bin/multilog t
s3000000 n20 /var/log/qmail/qmail-send
root 13470 13468 0 10:18 pts/6 00:00:00 qmail-lspawn ./Maildir/
qmailr 13471 13468 0 10:18 pts/6 00:00:00 qmail-rspawn
qmailq 13472 13468 0 10:18 pts/6 00:00:00 qmail-clean
What am I missing? Any pointer will be greatly appreciated,
Ronald Vazquez
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qmail-scanner-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general