Date: Mon, 25 Nov 2002 17:28:57 -0500 From: Brian Jackson <b.k.jackson@verizon.net> To: "Jonathan Belson" <jon@witchspace.com> Cc: questions@freebsd.org Subject: Re: qmail problem Message-ID: <495DD6D9-00C5-11D7-BA0F-000393C260B2@verizon.net> In-Reply-To: <JLEBKKHLLPOLBEGNAOJMKEHLCAAA.jon@witchspace.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Is it possible one of the other programs you've mentioned (Spam assassin for example) is changing permissions on your Maildir directory? You need to be owner and make sure the appropriate r/w permissions are there. I'd also try using maildirwatch at the time you see errors and see if it can access the maildir. Your startup and rc files look fine - have you tried backing out either squirrelmail or spam assassin and seeing if the error continues? You also might want to try the qmail mailing list available for search or subscription at http://cr.yp.to or http://www.qmail.org Brian On Monday, November 25, 2002, at 03:12 PM, Jonathan Belson wrote: > 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 > > -- Brian Jackson b.k.jackson@verizon.net 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?495DD6D9-00C5-11D7-BA0F-000393C260B2>