Re: [vchkpw] chkuser 2.0.8b
At 07.28 26/07/2005, you wrote: I am having a problem with chkuser. When qmail is running with the patch, everthing appears to be working fine. i can telnet into port 25 of my server and send a test message from my local box and a remote box. this test appears in my inbox as normal. but when i send through a mail client, such was outlook, thunderbird, or even yahoo webmail, the messages are not delivered AT ALL. mail works normally when i use the old qmail-smtpd file [before patching]. Does this make sense to anyone? If it works telnetting to port 25, then it should work from anywhere, as the protocol is the same and the programs are the same. What are logs saying about rejected/lost messages? The logs say nothing. What I had noticed is that sending through an email client, the messages do not appear to hit my system at all and are sent to my mailbackup. once i switch back, the mail starts comming in from the mailbackup as normal. laster today i will run a tcpdump session on my FW checking to see if anything hits me and i will also try with a email client externally and enable logging on that. /* * Uncomment this to enable uid/gid changing * (switching UID/GID is NOT compatible with TLS; you may keep this commented if you have TLS) */ #define CHKUSER_ENABLE_UIDGID Are you using this the right way, putting right setuid/setgid bits on over patched qmail-smtpd? I am not sure, I belive this was uncommended and didnt change it at all. I am not using any TLS patches [I couldnt get them to work at the time so i stopped trying]. I didnt think it would hurt to leave it enabled. the patches I am using are: maildir++ and qmail-remote-auth and of course trying to get chkuser working. I thought it would be ok since the qmail-smtpd/run script is pulling up qmail-smtpd as the vpopmail user and group. should i try to uncomment this and try again? thanks for any help in advance Dan Delaney Tonino thanks again Dan Delaney
Re: [vchkpw] pop3 error
Jeremy Kitchen wrote: On Friday 11 March 2005 02:32 am, Dan D wrote: ok, i just installed vpopmail and everything seems to be working with imap fine, but i am getting this error when trying to check via pop3 +OK [EMAIL PROTECTED] user dan +OK pass mypass vchkpw-pop3: vchkpw is only for talking with qmail-popup and qmail-pop3d. It is not for runnning on the command line. -ERR authorization failed and then the session terminates. I get the same error when using a mail client I compiled with ./configure --enable-roaming-users=y --enable-valias=y and my /service/qmail-pop3d/run has: #!/bin/sh exec/usr/local/bin/softlimit -m 200 \ /usr/local/bin/envdir /etc/relay-ctrl \ /usr/local/bin/relay-ctrl-chdir \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \ /var/qmail/bin/qmail-popup \ idelaney.net \ /bin/checkpassword \ /usr/local/bin/relay-ctrl-allow \ /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir \ 21 you can't daisy chain checkpassword modules like that. -Jeremy Yea, someone showed me that already. I replaced checkpassword and its been working perfect. thanks! - Dan
Re: [vchkpw] pop3 error
I replaced checkpassword, and it worked pertectly for virtual domains, but was getting an auth error for real users. i took a stab and looked at compile options and recompiled with: ./configure --enable-roaming-users=y --enable-valias=y --enable-passwd [adding the /etc/passwd checking] now it all works perfect. thank you! now to install qmailadmin and this chkusr 2.0 script and i should be in business - Dan Delaney Tom Collins wrote: On Mar 11, 2005, at 12:32 AM, Dan D wrote: #!/bin/sh exec/usr/local/bin/softlimit -m 200 \ /usr/local/bin/envdir /etc/relay-ctrl \ /usr/local/bin/relay-ctrl-chdir \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 \ /var/qmail/bin/qmail-popup \ idelaney.net \ /bin/checkpassword \ /usr/local/bin/relay-ctrl-allow \ /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir \ 21 I don't know how the call to relay-ctrl-allow should fit in, but the vchkpw line normally replaces the checkpassword line. My guess is that has something to do with your problems. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ You don't need a laptop to troubleshoot high-speed Internet: sniffter.com