Re: [vchkpw] Problem with vchkpw
On Jan 20, 2004, at 2:21 PM, Brad wrote: I have a Debian (Woody) system and it is running shadow passwords. I have qmail installed and woking just fine. I did a basic install (no config options) for vpopmail. Everything installed fin but when I change my /etc/inetd.conf file to this "pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup email.byesville.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir" (all one line) I cannot authenticate any users on the system popping mail or loggin gon to a webbased email system. What am I missing on the install for vpopmail. I shouldn't have to create a virtual domain for my local system and it should authenticate properly like before. Please corrrect me if I am wrong. I have created a virtual domain and two users on that domain and it still doesn't work. First, to enable system users, add --enable-passwd to your vpopmail configuration. To log in to virtual domains, you need to use "USER [EMAIL PROTECTED]" or "USER username%domain.com" in the POP login. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
[vchkpw] Problem with vchkpw
I have a Debian (Woody) system and it is running shadow passwords. I have qmail installed and woking just fine. I did a basic install (no config options) for vpopmail. Everything installed fin but when I change my /etc/inetd.conf file to this "pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup email.byesville.net /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir" (all one line) I cannot authenticate any users on the system popping mail or loggin gon to a webbased email system. What am I missing on the install for vpopmail. I shouldn't have to create a virtual domain for my local system and it should authenticate properly like before. Please corrrect me if I am wrong. I have created a virtual domain and two users on that domain and it still doesn't work. What does this mean when I try and login: email:/etc# /var/qmail/bin/qmail-popup qmail-popup email.byesville.net /home/vpopmail/bin/vchkpw +OK <[EMAIL PROTECTED]> user bswest +OK pass ** -ERR authorization failed email:/etc# password is correct and user does exist on the system and is a virtual user as well. Brad West Custom Technical Services 740-439-5055
Re: [vchkpw] Problem with vchkpw, system accounts, and smtp-auth.
Paul Robinson [vchkpw] wrote: Hi, I was able to resolve this without the assistance of the list and am embarrassed to admit that somehow, despite setting many compile-type configuration options with vpopmail, I missed the "--enable-passwd=y" directive to the configure script. I'm a tad embarrassed, but perhaps having this in the archives will help someone else resolve their issues. (Ironically, I managed to migrate all my system accounts over to vpopmail before figuring out what the problem was.) Many thanks! Cheers, Paul Robinson gotclue.net No need to be emberrased, every once in a while even the most experienced will miss one thing. Personally i missed this flag as well, but i just as you also figured it out. :) X-Istence
Re: [vchkpw] Problem with vchkpw, system accounts, and smtp-auth.
> I've attempted to use vchkpw to authenticate both system (/etc/passwd) accounts > and virtual (vpopmail) accounts, as vchkpw's documentation suggests it will > do. Unfortunately, my system accounts can not authenticate via vchkpw as > called by both IMAP and SMTP-AUTH services. Virtual accounts authenticate > correctly to both mechanisms. > [...] > So, my question in a nutshell is: Does vchkpw really handle both system > and > virtual accounts, and if so, what might I be doing wrong to keep it from > working as advertised? Hi, I was able to resolve this without the assistance of the list and am embarrassed to admit that somehow, despite setting many compile-type configuration options with vpopmail, I missed the "--enable-passwd=y" directive to the configure script. I'm a tad embarrassed, but perhaps having this in the archives will help someone else resolve their issues. (Ironically, I managed to migrate all my system accounts over to vpopmail before figuring out what the problem was.) Many thanks! Cheers, Paul Robinson gotclue.net
[vchkpw] Problem with vchkpw, system accounts, and smtp-auth.
Hi all, I'm new on the list and I've got a problem that archive, Google, and brain searches have failed to rectify: My server has existing "/etc/passwd" accounts with existing e-mail traffic. I've just added vpopmail to simplify future account administration since the server's usage is increasing. I would like to continue to support system accounts in addition to vpopmail accounts, at least for awhile. I've attempted to use vchkpw to authenticate both system (/etc/passwd) accounts and virtual (vpopmail) accounts, as vchkpw's documentation suggests it will do. Unfortunately, my system accounts can not authenticate via vchkpw as called by both IMAP and SMTP-AUTH services. Virtual accounts authenticate correctly to both mechanisms. I'm running Qmail-1.03 (Patches: badrcptto, Krzysztof Dabrowski's smtp-auth); Vpopmail 5.2.2; Courier-IMAP 2.2.0 (using authvchkpw module); all on a RedHat 8.0 system. The obligatory 'run' script snippet: exec /usr/local/bin/softlimit -m 400 \ tcpserver -v -H -R -l "$LOCAL" -x /etc/tcp.smtp.cdb \ -u $VPMUID -g $VPMGID 0 smtp \ /var/qmail/bin/qmail-smtpd $LOCAL /home/vpopmail/bin/vchkpw \ /bin/true (VPMUID and VPMGID are set to the vpopmail uid and vchkpw gid. LOCAL is the FQDN of the server). I've found that authentication via [EMAIL PROTECTED] passes/fails correctly to both IMAP and SMTP. Authentication via a 'systemusername' or 'systemusername@' results in vpopmail logging a "user not found" message. If I add the 'authpam' module into courier-imap's configuration, both system and virtual accounts will authenticate. SMTP-AUTH still fails, of course. I found info on google about making sure vchkpw is running with sufficient permissions to access /etc/shadow and believe I have that correctly implemented. So, my question in a nutshell is: Does vchkpw really handle both system and virtual accounts, and if so, what might I be doing wrong to keep it from working as advertised? If you've even gotten this far, thanks for your time! Cheers, Paul Robinson gotclue.net