From owner-freebsd-questions Mon Nov 25 12:13:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47F7D37B401 for ; Mon, 25 Nov 2002 12:13:07 -0800 (PST) Received: from witchspace.com (pc1-rdng1-4-cust239.winn.cable.ntl.com [80.3.250.239]) by mx1.FreeBSD.org (Postfix) with SMTP id C9FBB43E9C for ; Mon, 25 Nov 2002 12:13:00 -0800 (PST) (envelope-from jon@witchspace.com) Received: (qmail 1478 invoked from network); 25 Nov 2002 20:12:55 -0000 Received: from unknown (HELO lexx) (192.168.0.1) by dookie.witchspace.com with SMTP; 25 Nov 2002 20:12:55 -0000 From: "Jonathan Belson" To: Subject: qmail problem Date: Mon, 25 Nov 2002 20:12:56 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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