Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread Shane Chrisp
atomdeb...@gmail.com wrote: When I cat /var/log/qmail/smtpd/current I can see the many entries where I connected from my laptop while outside the local network, but there's nothing there that looks like an error or problem. When I tail -f /var/log/maillog and watch it while I attempt to

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread atomdeb...@gmail.com
Thanks for the reply, Shane. Yes, roaming users is a POP-before-SMTP scheme that is supposed to write the IP address of the authenticated user to /home/vpopmail/etc/tcp.smtp, thus explicitly allowing mail coming from that IP to be relayed. A cronjob removes the entry after a set period of time,

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread atomdeb...@gmail.com
Ah, here's a little bit of progress. I gave ownership of vchkpw to root:vchkpw, and setuid on it: %chown root:vchkpw /home/vpopmail/bin/vchkpw %chmod 4711 /home/vpopmail/bin/vchkpw Now I authenticate while using SMTP-AUTH... which is great, since it's more secure than the roaming users thing.

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread Shane Chrisp
atomdeb...@gmail.com wrote: Ah, here's a little bit of progress. I gave ownership of vchkpw to root:vchkpw, and setuid on it: %chown root:vchkpw /home/vpopmail/bin/vchkpw %chmod 4711 /home/vpopmail/bin/vchkpw Now I authenticate while using SMTP-AUTH... which is great, since it's more

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread atomdeb...@gmail.com
Meh. Also unfortunate is the fact that CRAM-MD5 doesn't work... I get 502 unimplemented when I try to use it. PLAIN and LOGIN work fine. !DSPAM:4af957c232713168067118!

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread atomdeb...@gmail.com
On Tue, Nov 10, 2009 at 4:06 AM, Shane Chrisp sh...@2000cn.com.au wrote: What guide did you use to setup vpopmail? You should not have vchkpw setuid as root, it should be set as vpopmail:vchkpw. I used the README and INSTALL files that came with vpopmail to set it up. How about the

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread Shane Chrisp
atomdeb...@gmail.com wrote: I get: uid=1013(vpopmail) gid=105(vchkpw) groups=105(vchkpw) What version of vpopmail did you install? Older versions required that the id was 89, but I believe that has changed in the latest version. Try running /var/qmail/bin/qmail-showctl to

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread James Smallacombe
On Tue, 10 Nov 2009, atomdeb...@gmail.com wrote: Ah, here's a little bit of progress. I gave ownership of vchkpw to root:vchkpw, and setuid on it: %chown root:vchkpw /home/vpopmail/bin/vchkpw %chmod 4711 /home/vpopmail/bin/vchkpw Now I authenticate while using SMTP-AUTH... which is great,

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread atomdeb...@gmail.com
@Shane: I installed the latest version of vpopmail. I notice that your uid and gid match, whereas mine are not only not 89, they are also different from each other. As for the virtual domain thing, I'm not sure exactly what 'virtual domain' means in terms of qmail/vpopmail. My domain is a

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread James Smallacombe
On Tue, 10 Nov 2009, atomdeb...@gmail.com wrote: @James: I used 'find' to look for both tcp.smtp and tcp.smtp.cdb, and found only two: the one in /etc, and the one in /home/vpopmail/etc. None of them get updated when I authenticate. Of those two, only the .cdb file gets updated by vpopmail.

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread Joshua Megerman
@James: I used 'find' to look for both tcp.smtp and tcp.smtp.cdb, and found only two: the one in /etc, and the one in /home/vpopmail/etc. None of them get updated when I authenticate. tcp.smtp does NOT get updated by vpopmail, only the tcp.smtp.cdb file does. The tcp.smtp file contains the

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread atomdeb...@gmail.com
OK, I'm sold; I'll use SMTP-AUTH instead of POP-before-SMTP. I can authenticate from inside or outside the network, using SMTP-AUTH in either PLAIN or LOGIN mode. CRAM-MD5 is apparently not implemented (yet). I can only relay when I connect from inside the network. Attempting to relay from

Re: [vchkpw] Failure to update tcp.smtp - No authorized relaying for roaming user!

2009-11-10 Thread Rick Macdougall
atomdeb...@gmail.com wrote: OK, I'm sold; I'll use SMTP-AUTH instead of POP-before-SMTP. I can authenticate from inside or outside the network, using SMTP-AUTH in either PLAIN or LOGIN mode. CRAM-MD5 is apparently not implemented (yet). I can only relay when I connect from inside the