[vchkpw] smtp + auth + gentoo
hi all!!!. I have installed qmail-1.03-r10.ebuild; This version include: SSL/TSL , AUTH-SMTP and etc. plus this i compile and install vpopmail-5.2.1 - ./configure --enable-mysql=y --enable-mysql-logging=y --enable-clear-passwd \ --enable-domains-dir=domains --enable-defaultquota --enable-valias=y \ --enable-roaming-users=y - I change the execution off qmail to this accord to the page off vpopmail /var/qmail/supervise/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/bin/softlimit -m 800 \ /usr/bin/tcpserver -H -R -v -p -x /var/vpopmail/etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd /var/qmail/bin/qmail-smtpd chile3000.com /var/vpopmail/bin/vchkpw /bin/true Maildir 21 the change is to auth use /var/vpomail/bin/vchkpw - this is indicate in http://members.elysium.pl/brush/qmail-smtpd-auth/faq.html (in point 4) and i test I try the telnet localhost 25 and this is a result --- Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 xx.com ESMTP ehlo 250-xx.com 250-STARTTLS 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-PIPELINING 250 8BITMIME auth login 334 VXNlcm5hbWU6 jerco%xx.com 501 malformed auth input (#5.5.4) but if you see my telnet session the problem is introduction off login, because with vpopmail use %.com to distinct a user from a domain to other. but i don't put login correct Well anybody help me (thank's)
Re: [vchkpw] smtp + auth + gentoo
Hi [EMAIL PROTECTED], On 21 Feb 2003 17:53:49 - [EMAIL PROTECTED] wrote: auth login 334 VXNlcm5hbWU6 jerco%xx.com 501 malformed auth input (#5.5.4) but if you see my telnet session the problem is introduction off login, because with vpopmail use %.com to distinct a user from a domain to other. but i don't put login correct Well anybody help me (thank's) Go, read the RFCs. Read the source code of patch from http://members.elysium.pl/brush/qmail-smtpd-auth/ See: you're not expected, nor allowed to log in typing plain text, the input has to be base64-encoded. That's why you get malformed auth input instead of authentication denied (never wondered about the error _message_???). Your bet bet is to use a MUA capable of doing SMTP-AUTH and test using it. Don't try to hack a telnet session if you don't know what to type in ('VXNlcm5hbWU6' should have given you a hint that something's different than in POP3-login session; FYI: it's the string 'Username:' base64-encoded) -- Peter
Re: [vchkpw] smtp + auth + gentoo
EL Friday 21 February 2003 15:21, Peter Palmreuther se escrivio: Hi Peter... but if you see my telnet session the problem is introduction off login, because with vpopmail use %.com to distinct a user from a domain to other. Go, read the RFCs. Read the source code of patch from http://members.elysium.pl/brush/qmail-smtpd-auth/ Hmmm ok, See: you're not expected, nor allowed to log in typing plain text, the input has to be base64-encoded. That's why you get malformed auth input instead of authentication denied (never wondered about the error _message_???). Your bet bet is to use a MUA capable of doing SMTP-AUTH and test using it. Don't try to hack a telnet session if you don't know what to type in ('VXNlcm5hbWU6' should have given you a hint that something's different than in POP3-login session; FYI: it's the string 'Username:' base64-encoded) Ok, i understand, but fro the other i test this with a MUA (KMAIL) and probe a list of format's: ENCRYPTION: NONE SSL TLS AUTHENTICATION METHOD: PLAIN LOGIN CRAIN-MD5 DIGEST-MD5 but nothing, i need a form to see what happening with this, anybody have one idea for it... tank's again... Pd: extra data: this is qmail + patch (i use gentoo) DESCRIPTION=A modern replacement for sendmail which uses maildirs and includes SSL/TLS, AUTH SMTP, and queue optimization HOMEPAGE=http://www.qmail.org/ http://members.elysium.pl/brush/qmail-smtpd-auth/ http://www.jedi.claranet.fr/qmail-tuning.html; SRC_URI=http://cr.yp.to/software/qmail-1.03.tar.gz http://members.elysium.pl/brush/qmail-smtpd-auth/dist/qmail-smtpd-auth-0.31.tar.gz http://www.qmail.org/qmailqueue-patch http://qmail.null.dk/big-todo.103.patch http://www.jedi.claranet.fr/qmail-link-sync.patch http://www.qmail.org/big-concurrency.patch http://www.suspectclass.com/~sgifford/qmail/qmail-0.0.0.0.patch;