I have an interesting problem. My qmail installation seems to work great. Local deliveries are fine, remote deliveries are fine, receiving email for local deliveries is fine. I am using vpopmail (latest stable) with roaming users and I'm using courier's IMAP4 and POP3 daemons (NOT qmail-pop3d).
When I log in successfully via pop3 or imap4, tcp.smtp.cdb is updated correctly. If I try to send email before checking my pop3 or imap4 account and I'm outside my normally-allowed-to-relay IP ranges, I get an SMTP error from qmail-smtpd saying it can't read its control files. Googleing I can see that that means that qmail cannot read one or more of its control files. That does not appear to be the case here, because if I am accepted for relaying the send works perfectly fine. I looked at my /var/qmail/control and /var/qmail/users and /var/qmail/assign directories and both the directories and the files within seem to have proper ownership and permissions. I've included the list at the end of this email in case I'm missing something, but has anyone else run across this before? Regards, Andrew # ls -la control total 108 drwxr-xr-x 4 root qmail 4096 Jan 11 22:47 ./ drwxr-xr-x 9 root qmail 4096 Jan 11 15:08 ../ -rw-r--r-- 1 root qmail 1346 Mar 12 2002 badmailfrom-unknown -rw-r--r-- 1 root qmail 0 Jan 4 14:48 badrcptto -rw-r--r-- 1 root qmail 18 Jan 4 15:20 bouncehost -rw-r--r-- 1 root qmail 242 Jan 4 15:07 bouncemessage -rw-r--r-- 1 root qmail 25 Jan 4 15:07 bouncesubject lrwxrwxrwx 1 root qmail 41 Jan 11 22:47 clientcert.pem -> /etc/ssl/certs/gate-way.net-emailcert.pem -rw-r--r-- 1 root qmail 13 Jan 4 15:20 defaultdomain -rw-r--r-- 1 root qmail 18 Jan 4 15:20 doublebouncehost -rw-r--r-- 1 root qmail 351 Jan 4 15:08 doublebouncemessage -rw-r--r-- 1 root qmail 32 Jan 4 15:07 doublebouncesubject -rw-r--r-- 1 root qmail 13 Jan 4 15:20 doublebounceto -rw-r--r-- 1 root qmail 18 Jan 4 15:20 envnoathost -rw-r--r-- 1 root qmail 18 Jan 4 15:20 helohost -rw-r--r-- 1 root qmail 18 Jan 4 15:20 idhost -rw-r--r-- 1 root qmail 21 Jan 11 16:26 locals -rw------- 1 root qmail 0 Jan 11 16:26 locals.lock -rw-r--r-- 1 root qmail 21 Jan 4 15:20 me -rw-r--r-- 1 root qmail 1 Jan 4 14:59 mfcheck -rw-r--r-- 1 root qmail 13 Jan 4 15:20 plusdomain -rw-r--r-- 1 root qmail 52 Jan 11 16:26 rcpthosts -rw------- 1 root qmail 0 Jan 11 16:26 rcpthosts.lock lrwxrwxrwx 1 root qmail 41 Jan 11 22:47 servercert.pem -> /etc/ssl/certs/gate-way.net-emailcert.pem -rw-r--r-- 1 root qmail 73 Jan 4 18:54 smtproutes -rw-r--r-- 1 root qmail 2 Jan 4 14:59 tarpitcount -rw-r--r-- 1 root qmail 2 Jan 4 14:59 tarpitdelay -rw-r--r-- 1 root qmail 7 Jan 4 15:15 tlsclientciphers drwxr-xr-x 2 root qmail 4096 Jan 4 15:13 tlsclients/ drwxr-xr-x 2 root qmail 4096 Jan 4 15:13 tlshosts/ -rw-r--r-- 1 root qmail 7 Jan 4 15:15 tlsserverciphers -rw-r--r-- 1 root qmail 27 Jan 11 16:26 virtualdomains -rw------- 1 root qmail 0 Jan 11 16:26 virtualdomains.lock # ls -la users total 16 drwxr-xr-x 2 root qmail 4096 Jan 11 16:26 ./ drwxr-xr-x 9 root qmail 4096 Jan 11 15:08 ../ -rw-r--r-- 1 root root 75 Jan 11 16:26 assign -rw------- 1 root root 0 Jan 11 16:26 assign.lock -rw-r--r-- 1 root root 2167 Jan 11 16:26 cdb # ls -la alias total 24 drwxr-sr-x 2 alias qmail 4096 Jan 4 19:09 ./ drwxr-xr-x 9 root qmail 4096 Jan 11 15:08 ../ -rw-r--r-- 1 alias qmail 19 Jan 4 19:09 .qmail-admin -rw-r--r-- 1 alias qmail 27 Jan 4 19:08 .qmail-mailer-daemon -rw-r--r-- 1 alias qmail 24 Jan 4 19:07 .qmail-postmaster -rw-r--r-- 1 alias qmail 18 Jan 4 19:09 .qmail-root