RE: [vchkpw] Re: smtp auth
your right. users were not vpopmail/vchkpw. working perfectly now. thanks peter. -chris -Original Message- From: Peter Palmreuther [mailto:lists@;pitpalme.de] Sent: Wednesday, October 30, 2002 11:02 PM To: [EMAIL PROTECTED] Subject: [vchkpw] Re: smtp auth Hello Lists, On Thursday, October 31, 2002 at 2:37:43 AM you wrote: > smtp auth is returning user unknown: > Oct 30 15:59:27 query vpopmail[9465]: vchkpw-smtp: vpopmail user not found > [EMAIL PROTECTED]:209.124.141.171 > startups are: > /usr/bin/tcpserver -u 63 -g 65 -l -R -H 0 smtp /var/qmail/bin/qmail-smtpd \ > query.aptedtech.com /var/vpopmail/bin/vchkpw /bin/true & Who's 'UID 63' and 'GID 65' on your system? User vpopmail? If not you might simply have an access problem to 'vpasswd.cdb' as it's only readable to "root" and "vpopmail" but not to qmaild, which is used in default installations for starting up qmail-smtpd. If you have enabled 'passwd' users as well in vpopmail configuration you'll have to run qmail-smtpd as user root for being able to read '/etc/passwd' and if existing '/etc/shadow', else you'll only need to run qmail-smtpd as UID/GID vpopmail/vchkpw. HTH Pit -- Best regards Peter Palmreuther
[vchkpw] smtp auth
i realize this may be a qmail list question and i have another email in my drafts folder just for the occasion but i thought it would post it here first (people tend to get eaten alive on the qmail list also :). i have set up qmail_smtpauth_qmailqueue_maildir++/vpopmail/mysql. i can pop in fine: Oct 30 15:59:33 query vpopmail[9467]: vchkpw-pop3: (PLAIN) login success [EMAIL PROTECTED]:209.124.141.171 smtp auth is returning user unknown: Oct 30 15:59:27 query vpopmail[9465]: vchkpw-smtp: vpopmail user not found [EMAIL PROTECTED]:209.124.141.171 startups are: /usr/bin/tcpserver -u 63 -g 65 -l -R -H 0 smtp /var/qmail/bin/qmail-smtpd \ query.aptedtech.com /var/vpopmail/bin/vchkpw /bin/true & /usr/bin/tcpserver -u 60 -g 60 -l -R -H 0 pop3 /var/qmail/bin/qmail-popup \ query.aptedtech.com /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & smtp-auth literature says qmail-smtpd needs three arguments when started (hostname, pass chekc program, subprogram). i have vpopmail installed with config of: ./configure \ --enable-tcprules-prog=/usr/bin/tcprules \ --enable-tcpserver-file=/var/vpopmail/etc/tcp.smtp \ --enable-mysql=y \ --enable-logging=v \ --enable-valias=y \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-md5-passwords=y \ --enable-clear-passwd=y \ --enable-learn-passwords=y \ --enable-file-sync=y \ --enable-file-locking=y \ --enable-ip-alias-domains=y \ --enable-qmail-ext=y \ --enable-make-seekable=y \ --enable-defaultquota=5242880 vpopmail 5.3.9 Current settings --- vpopmail directory = /var/vpopmail uid = 60 gid = 60 ip alias = ON --enable-ip-alias-domains=y address extentions = ON --enable-qmail-ext=y roaming users = OFF --enable-roaming-users=n default user quota = 5242880 -enable-hardquota=5242880 auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = ON --enable-file-sync=y enable vdelivermail fsync make seekable = ON --enable-make-seekable=y default auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) users big dir = ON --enable-users-big-dir=y (default) valias processing = ON --enable-valias=y pop syslog = log success and errors including passwords --enable-logging=v default domain = --enable-default-domain= auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz the patches all applied without error to qmail Bill Shupp qmail-maildir++.patch http://www.shupp.org/patches/qmail-maildir++.patch Krzysztof Dabrowski <[EMAIL PROTECTED]> Eric M. Johnston <[EMAIL PROTECTED]> smtp-auth Patch v. 0.31 http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smtpd-auth-0.31. tar.gz Bruce Guenter <[EMAIL PROTECTED]> qmail-queue patch http://www.qmail.org/qmailqueue-patch just want to get smtp-auth working but im not really sure where to start looking from here. thanks all. -chris
[vchkpw] mail gateway & smtp auth
im an integrating my companies existing qmail/vpopmail/mysql server and an older post.office setup into one. i have three boxes that would be the listed mail exchangers and would also perform limited virus checking and spam prevention. mail comes in to one of them, passes through filtering process, if not rejected, then forwarded to the real mail server where actual mailboxes reside on some raid equipment. this plan seems great to me, but i have one problem. smtp auth. if i have qmail/smtp-auth set up on all three of these boxes and the actual server with users maildirs is on another box, how are any mails gonna make it through? well im thinking i could set up vpopmail on all boxes with mysql replication and have the main mail server as the master, but that seems a bit much to me. all the other notions i have in my head about how to do this just don't seem clean enough to really want to implement. i just need a method for qmail/smtp-auth on these three mail exchangers (gateway) to use the auth info from the main mail servers vpopmail/mysql database. does anyone have any suggestions? thanks all. -chris