On Fri, 3 Sep 2004, tonix (Antonio Nati) wrote:

chkusr is not working because it can't read .qmail-default, so, or chkusr is not running as vpopmail, or .qmail-default is not readable by vpopmail users.

It means you're running qmail-smtpd on the secondary server with different uid/gid/privileges.

I did give that a quick check:

vpopmail 13766 0.0 0.1 4208 944 ? S Sep01 0:00 tcpserver -v -l nico.bway.net -H -R -c70 -t5 -S -x /home/vpopmail/etc/tcp.smtp.cdb -u 89 -g 89 0 26 rblsmtpd -t 2 -r sbl.spamhaus.org qmail-smtpd /home/vpopmail/bin/vchkpw /usr/bin/true
[EMAIL PROTECTED]:~$ id vpopmail
uid=89(vpopmail) gid=89(vchkpw) groups=89(vchkpw)

[EMAIL PROTECTED]:~$ ls -al ~vpopmail/domains/|more
total 114
drwxr-xr-x  99 root     root   3072 Sep  6  2004 .
drwxr-xr-x   8 vpopmail vchkpw 1024 Sep  6  2004 ..
drwx------  92 vpopmail vchkpw 3072 Jul 28 13:20 0
drwx------  96 vpopmail vchkpw 3072 Jul 15 18:57 1
drwx------  94 vpopmail vchkpw 3072 Aug 27 18:21 2
drwx------   2 vpopmail vchkpw 1024 Jul 19 17:24 2021blah.com

Any other ideas? Any good places in the patched qmail-smtpd to put some debug printf's?




At 03/09/2004 03/09/2004 -0400, you wrote:

We've got qmail/vpopmail running fine with the latest chkusr patch from Bill's page (http://www.shupp.org/).

Our backup mxer has been running sendmail for ages, and we'd like to move it to qmail. We'd also like put vpopmail on there just so we can reject bogus addresses on there as well rather than queuing them and having them bang on the main mxer each time the queue runs.

I've got qmail and vpopmail compiled there. Started with netqmail and then Bill's big jumbo patch and the chkusr patch. There's a daily rsync of the ~vpopmail/domains tree (.qmail-* only) to the backup mxer. We're testing on an alternate port (26). Everything works fine except chkusr is not blocking anything; I can enter a totally bogus address and it's accepted.

Any ideas?



------------------------------------------------------------ [EMAIL PROTECTED] Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED] ------------------------------------------------------------

Reply via email to