[vchkpw] Rights problem on qmail / vpopmail

2011-05-06 Thread OVH
Hi, 

Since I implemented the patch chkuser  and smtp-auth on qmail 1.3 I have
rights problems. 

If I keep the default setting of my vpopmail: 
-rwx--x--x 1 vpopmail vchkpw  73K juin  6  2006 vchkpw
All works except smtp-auth 

and when I put: 
-rws--s--x 1 vpopmail vchkpw  76K juin  6  2006 vchkpw
So is the pop-before-smtp that can not add more IP to my
/home/vpopmail/etc/ open-smtp

On the net I found this setting: 
-rwsr-xr-x 1 root root76K juin  6  2006 vchkpw
He looks well functioned but I fear for the safety of vchkpw as root: root? 

and that seems setting to work so is to change qmail-smtpd: 
-r-sr-sr-x 1 qmaild nofiles 126K mai  6 14:44 /var/qmail/bin/qmail-smtpd
in 
-r-xr-xr-x 1 qmaild nofiles 126K mai  6 14:44 /var/qmail/bin/qmail-smtpd
But I wonder if it will not break anything else? 

In addition to these changes with some email arrives in my box with a big
delay. 
Depending on what I SMTP using (smtp.free.fr, smtp.gmail.com, or other smtp
servers) without any error log or refuse log ... 

So in summary, is that the act of placing vchkpw as root: root is dangerous?
and is it that I can pass-qmail-smtpd in 555 without anything broken? 

Thanks !



 

 

 



!DSPAM:4dc3f92e32719790412262!


[vchkpw] SMTP authentication not work

2011-05-05 Thread OVH
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:4dc25a6e32714504615253!



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!



[vchkpw] Qmail + chkuser + smtp-auth

2011-05-04 Thread OVH
Hi,

On my Qmail 1.03 I can not simultaneously apply smtp-auth patch
(qmail-smtpd-auth-0510) and chkuser (chkuser-2.0.8b-release or
chkuser-2.0.9-release).
It seems that there is a conflict between these two patches. you know a
patch which includes 2 or a solution to the conflict ?

Thanks!



!DSPAM:4dc106a732719806668668!



RE: [vchkpw] Qmail + chkuser + smtp-auth

2011-05-04 Thread OVH
 the directives of the author of chkuser 
 
http://www.interazioni.it/opensource/chkuser/documentation/installation/manu
al.html

 best regards
 Roberto Puzzanghera


 On Wed, 4 May 2011 09:56:15 +0200, OVH wrote:
 Hi,

 On my Qmail 1.03 I can not simultaneously apply smtp-auth patch
 (qmail-smtpd-auth-0510) and chkuser (chkuser-2.0.8b-release or
 chkuser-2.0.9-release).
 It seems that there is a conflict between these two patches. you know 
 a
 patch which includes 2 or a solution to the conflict ?

 Thanks!



 





!DSPAM:4dc1475932712013466953!



RE: [vchkpw] Qmail + chkuser + smtp-auth

2011-05-04 Thread OVH
Hi,

Yes , I using  qmail-1.03 ...
I testing manual applying chkuser patch ...

Thanks !

-Message d'origine-
De : Roberto Puzzanghera [mailto:ad...@sagredo.eu] 
Envoyé : mercredi 4 mai 2011 14:44
À : vchkpw@inter7.com
Objet : RE: [vchkpw] Qmail + chkuser + smtp-auth

 Hi,
 my package was tested for netqmail-1.06. I think you are using 
 qmail-1.03

 regards
 Roberto



!DSPAM:4dc14b3232711554614968!