Date: Mon, 25 Nov 2002 20:12:56 -0000 From: "Jonathan Belson" <jon@witchspace.com> To: <freebsd-questions@freebsd.org> Subject: qmail problem Message-ID: <JLEBKKHLLPOLBEGNAOJMKEHLCAAA.jon@witchspace.com>
next in thread | raw e-mail | index | archive | help
Hiya
My qmail installation went from working fine to acting strangely. I've get
the following in my maillog:
Nov 25 19:51:40 dookie qmail: 1038253900.810198 starting delivery 61: msg
1933 to local jon@localhost
Nov 25 19:51:40 dookie qmail: 1038253900.810425 status: local 10/10 remote
0/20
Nov 25 19:51:53 dookie qmail: 1038253913.640433 delivery 52: deferral:
maildir:_not_found/
Nov 25 19:51:53 dookie qmail: 1038253913.641328 status: local 9/10 remote
0/20
Nov 25 19:51:53 dookie qmail: 1038253913.641577 starting delivery 62: msg
1937 to local jon@localhost
Nov 25 19:51:53 dookie qmail: 1038253913.641801 status: local 10/10 remote
0/20
Nov 25 19:52:17 dookie qmail: 1038253937.642429 delivery 53: deferral:
maildir:_not_found/
I can't find any reference to this error message on the 'Net. My Maildir
was created with makemaildir and certainly still exists:
jon@dookie:~# ls -arl Maildir
total 20
drwx------ 2 jon jon 512 Nov 25 16:38 tmp
drwx------ 2 jon jon 512 Nov 25 16:40 new
drwx------ 2 jon jon 512 Nov 25 16:02 cur
-rw-r--r-- 1 jon jon 345 Nov 25 16:00 courierimapuiddb
-rw-r--r-- 1 jon jon 36 Nov 8 13:44 courierimapsubscribed
drwx------ 5 jon jon 512 Nov 20 15:14 .Trash
drwx------ 5 jon jon 512 Nov 25 15:09 .Sent
drwx------ 5 jon jon 512 Nov 25 15:09 .Drafts
drwxr-xr-x 22 jon jon 1536 Nov 25 19:45 ..
drwx------ 8 jon jon 512 Nov 25 16:00 .
(The extra directories were created by squirrelmail I presume).
My ~/.qmail is:
root@dookie:/home/jon# cat .qmail
|/usr/local/bin/spamassassin | maildir ./Maildir/
I notice that the perl processes created by spamassassin are around for
quite a while - is this to be expected?
If I stop qmail and restart it, the problem seems to go away and mail
delivery continues as normal. This is my rc script:
#!/bin/sh
#
# This script starts and stops the qmail mail functions.
#
# Suck in the configuration variables.
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi
case "$1" in
start)
case ${qmail_smtp_enable} in
[Yy][Ee][Ss])
# Start the qmail smtp daemon
/usr/local/bin/tcpserver -H -R -c 255 -x /etc/tcp.smtp.cdb \
-u 82 -g 81 0 25 /var/qmail/bin/qmail-smtpd &
echo -n " qmail-smtp"
;;
esac
case ${qmail_pop_enable} in
[Yy][Ee][Ss])
# Start the qmail pop daemon
/usr/local/bin/tcpserver -H -R -c 255 0 110 \
/var/qmail/bin/qmail-popup HOSTNAME.DOMAIN \
/usr/local/bin/checkpassword
/var/qmail/bin/qmail-pop3d \
Maildir &
echo -n " qmail-pop"
;;
esac
case ${qmail_enable} in
[Yy][Ee][Ss])
# Start qmail
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir splogger qmail &
echo -n " qmail"
;;
esac
;;
stop)
# Stop the smtp daemon
smtppid=`ps -axw | grep tcpserver | grep smtp | grep -v grep | awk
'{ print $1 }'`
if [ "$smtppid" != "" ]; then
kill $smtppid
echo -n " qmail-smtp"
fi
# Stop the pop daemon
poppid=`ps -axw | grep tcpserver | grep popup | grep -v grep | awk
'{ print $1 }'`
if [ "$poppid" != "" ]; then
kill $poppid
echo -n " qmail-pop"
fi
# Stop qmail
qmailpid=`ps -axw | grep qmail-send | grep -v grep | awk '{ print
$1 }'`
if [ "$qmailpid" != "" ]; then
kill $qmailpid
echo -n " qmail"
fi
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0
Any clues as to what the problem is?
--Jon
http://www.witchspace.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?JLEBKKHLLPOLBEGNAOJMKEHLCAAA.jon>
