Re: [vchkpw] SMTP authentication not work

2011-05-05 Thread Tonix (Antonio Nati)

You sould find in maillog the reason of failure.

Regards,

Tonino

Il 05/05/2011 10:05, OVH ha scritto:

Hi,

Since few days I try smtp-auth and chkuser  on qmail  1.03.
I managed to apply the patch manually, when tested sending smtp-auth it
never authenticate using vpopmail.

In my config I have:

 env - PATH=/var/qmail/bin:/usr/local/bin CHKUSER_START=DOMAIN \
 tcpserver -v -H -R -x /etc/tcp.smtp.cdb -c100 -u508 -g503 0 smtp \
 /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw true 21 \
 | /usr/local/bin/tai64n \
 | /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog s50
n60 /var/log/qmailsmtp/


and gives me the test with telnet:
220 x.net ESMTP
ehlo x.net
250- x.net
250-PIPELINING
250-STARTTLS
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN
auth login
334 VXNlcm5hbWU6
UUU
334 UGFzc3dvcmQ6
PPP
535 authentication failed (#5.7.1)

You know why it does not work?








--

Inter@zioniInterazioni di Antonio Nati
   http://www.interazioni.it  to...@interazioni.it



!DSPAM:4dc25b8e32711010717463!



RE: [vchkpw] SMTP authentication not work

2011-05-05 Thread OVH
Hi,

In my /var/log/mail.log, I have :

May  5 09:39:06 web1 vpopmail[4328]: vchkpw-smtp: vpopmail user not found
postmas...@xxx.net:82.233.xxx.xxx
May  5 09:40:04 web1 imapd: Connection, ip=[:::82.233.xxx.xxx]
May  5 09:40:04 web1 imapd: LOGIN, user=postmas...@xxx.net,
ip=[:::82.233.xxx.xxx], protocol=IMAP
May  5 09:40:54 web1 imapd: LOGOUT, user=postmas...@xxx.net,
ip=[:::82.233.xxx.xxx], headers=0, body=0, time=178


and in /var/log/qmailsmtp/ current, I have :

@40004dc253f80a2dc044 tcpserver: pid 4249 from 82.233.xxx.xxx
@40004dc253f80a3f7384 tcpserver: ok 4249 xxx.net::::91.121.
xxx.xxx:25 ::::82.233.xxx.xxx::61197
@40004dc253fd140b4f3c tcpserver: end 4249 status 256
@40004dc253fd140b4f3c tcpserver: status: 0/100


-Message d'origine-
De : Tonix (Antonio Nati) [mailto:to...@interazioni.it] 
Envoyé : jeudi 5 mai 2011 10:11
À : vchkpw@inter7.com
Objet : Re: [vchkpw] SMTP authentication not work

You sould find in maillog the reason of failure.

Regards,

Tonino

Il 05/05/2011 10:05, OVH ha scritto:
 Hi,

 Since few days I try smtp-auth and chkuser  on qmail  1.03.
 I managed to apply the patch manually, when tested sending smtp-auth it
 never authenticate using vpopmail.

 In my config I have:

  env - PATH=/var/qmail/bin:/usr/local/bin CHKUSER_START=DOMAIN \
  tcpserver -v -H -R -x /etc/tcp.smtp.cdb -c100 -u508 -g503 0 smtp
\
  /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw true 21 \
  | /usr/local/bin/tai64n \
  | /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog s50
 n60 /var/log/qmailsmtp/


 and gives me the test with telnet:
 220 x.net ESMTP
 ehlo x.net
 250- x.net
 250-PIPELINING
 250-STARTTLS
 250-8BITMIME
 250-SIZE 0
 250 AUTH LOGIN PLAIN
 auth login
 334 VXNlcm5hbWU6
 UUU
 334 UGFzc3dvcmQ6
 PPP
 535 authentication failed (#5.7.1)

 You know why it does not work?


 




-- 

 Inter@zioniInterazioni di Antonio Nati
http://www.interazioni.it  to...@interazioni.it






!DSPAM:4dc2623a32711728120213!



Re: [vchkpw] SMTP authentication not work

2011-05-05 Thread Remo Mattei
Here is mine
Run file.

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
export QMAILQUEUE=/var/qmail/bin/simscan
export NOP0FCHECK=1
export SIMSCAN_DEBUG=0
#IPADDR=208.53.44.231
exec /usr/local/bin/softlimit -m 2500 \
/usr/local/bin/tcpserver  -v -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 25 \
/usr/local/bin/rblsmtpd \

-b -r x \
-B -r   \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 21






On 5/5/11 2:05 AM, OVH o...@burejza.com wrote:

Hi,

Since few days I try smtp-auth and chkuser  on qmail  1.03.
I managed to apply the patch manually, when tested sending smtp-auth it
never authenticate using vpopmail.

In my config I have:

env - PATH=/var/qmail/bin:/usr/local/bin CHKUSER_START=DOMAIN \
tcpserver -v -H -R -x /etc/tcp.smtp.cdb -c100 -u508 -g503 0 smtp \
/var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw true 21 \
| /usr/local/bin/tai64n \
| /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog s50
n60 /var/log/qmailsmtp/ 


and gives me the test with telnet:
220 x.net ESMTP
ehlo x.net
250- x.net
250-PIPELINING
250-STARTTLS
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN
auth login
334 VXNlcm5hbWU6
UUU
334 UGFzc3dvcmQ6
PPP
535 authentication failed (#5.7.1)

You know why it does not work?









!DSPAM:4dc2cf0232711860913105!