Re: SMTP-AUTH problem with vchkpw

[email protected]
Newsgroups gmane.mail.vpopmail
Message-ID <[email protected]>
Hello Rick,

Friday, July 1, 2011, 16:13:45, Rick Macdougall wrote:
RM> On 30/06/2011 8:10 PM, [email protected] wrote:
>> I tried to migrate my mail service (qmail+vpopmail+mysql) to the
>> 64-bit Gentoo platform and almost succeeded, but SMTP-AUTH problem
>> blocked me.
>>
>> Right now I have no multilib 64-bit hardened Gentoo system with
>> netqmail-1.06, vpopmail-5.4.30-r2, dovecot-2.0.13 and some other
>> stuff. Everything seems working fine, except SMTP-AUTH function.
>>
>> My mailer on this new server shows me:
>>
>> SEND  - connected to SMTP server
>> SEND  - authenticating (plain)...
>> SEND  - Server reports error. The response is: authentication failed (#5.7.1)
>> SEND  - authenticating (login)...
>> SEND  - Server reports error. The response is: authentication failed (#5.7.1)
>> SEND  - WARNING: there were no compatible authentication mechanisms detected
>>
>> Here goes my config /var/qmail/control/conf-smtpd:
>> -----------------------------------------------------------------------
>> TCPSERVER_OPTS="${TCPSERVER_OPTS} -R"
>> QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} spamdyke -f /etc/spamdyke/spamdyke.conf"
>> QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw"
>> [[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]]&&  {
>>          [[ -z "${QMAIL_SMTP_POST}" ]]&&  QMAIL_SMTP_POST=/bin/true
>>          QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}"
>> }
>> -----------------------------------------------------------------------
>>

RM> Hi,

RM> You should be able to see the auth attempt in one f your log files.  On
RM> all my servers it's in /var/log/messages.  This might help show where 
RM> the problem lies.

RM> One of my lines as an example - Jul  1 04:43:17 mail002 vpopmail[24348]:
RM> vchkpw-smtp: vpopmail user not found [email protected]:14.208.230.43

I scanned through all my log files, but not found any entry about
with pattern vchkpw.

I have only spamdyke messages like user was not SMTP authorized.
Jul  1 00:32:49 mail spamdyke[7441]: ALLOWED from: [email protected] to: [email protected] origin_ip: 2.6.7.8 origin_rdns: 2-6-7-8.domain.com auth: (unknown)

Spamdyke disabling not helped me.

Server response show that it SMTP-AUTH capable:
$ telnet 1.2.3.4 25
Trying 1.2.3.4...
Connected to 1.2.3.4.
Escape character is '^]'.
220 mail.server.com ESMTP
EHLO mail.server.com
250-mail.server.com
250-STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN

User vpopmail realy exists. I also cannot find the
difference between working x86 server configuration and the new
amd64 one. I tried to reconfigure my system from no-multilib to
multilib and to reemerge netqmail and vpopmail ebuilds, but still no
success. :( Is there some way to debug that plain SMTP-AUTH to figure
out what is really happening?

Anf


!DSPAM:4e0dfbd932711543016584!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.