hookahmasta
IS-IT--Management
I'm having trouble with my Qmail setup...... The setup worked perfectly for over 6 months, and all of a sudden, it stopped working this morning...... I took it offline and replaced it with a backup (with a slightly different config, which didn't work on the original box when I replaced it), but I think the trouble lies within the supervise script that starts the tcpserver for or qmail-smtpd.
Currently, I put this server in my internal NIC, and I'm testing it.... Currently, the configuration is working... If I do qmailctl stat, it shows it's working. When I tried to send an e-mail message thru the box, it works, but it takes a long time... too long for it to be of pratical use to the office...
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 4000000 \
/usr/local/bin/tcpserver -v -p -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd -rsbl-xbl.spamhaus.org /var/qmail/bin/qmail-smtpd 2>&1
I'm still pretty new at this.... any help would be appreciated....
Currently, I put this server in my internal NIC, and I'm testing it.... Currently, the configuration is working... If I do qmailctl stat, it shows it's working. When I tried to send an e-mail message thru the box, it works, but it takes a long time... too long for it to be of pratical use to the office...
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 4000000 \
/usr/local/bin/tcpserver -v -p -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd -rsbl-xbl.spamhaus.org /var/qmail/bin/qmail-smtpd 2>&1
I'm still pretty new at this.... any help would be appreciated....