[vchkpw] vchkpw instead of checkpassword for SMTP AUTH

2003-02-21 Thread Roland Schmid
Hello,

I'm not quite sure whether my question is offtopic to the content of this
list,
so sorry for my offtopic.

I'm running vpopmail with qmail and it works fine, but qmail smtp has no
SMTP Authentification.
There is a patch on http://www.nimh.org which enables SMTP AUTH for qmail.
The patch needs a password tool, can I use /home/vpopmail/bin/chkpw for the
SMTP-Authentification,
or is the checkpassword programm required?
(http://cr.yp.to/checkpwd.html)


Best regards,
Roland





Re: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH

2003-02-21 Thread Clayton Weise
Try here instead.  I used this one and it works with vpopmail passwd auth.

http://members.elysium.pl/brush/qmail-smtpd-auth/

- Original Message - 
From: Roland Schmid [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 21, 2003 6:53 AM
Subject: [vchkpw] vchkpw instead of checkpassword for SMTP AUTH


Hello,

I'm not quite sure whether my question is offtopic to the content of this
list,
so sorry for my offtopic.

I'm running vpopmail with qmail and it works fine, but qmail smtp has no
SMTP Authentification.
There is a patch on http://www.nimh.org which enables SMTP AUTH for qmail.
The patch needs a password tool, can I use /home/vpopmail/bin/chkpw for the
SMTP-Authentification,
or is the checkpassword programm required?
(http://cr.yp.to/checkpwd.html)


Best regards,
Roland







[vchkpw] smtp + auth + gentoo

2003-02-21 Thread jerco
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] 5.3.17

2003-02-21 Thread Jesse Guardiani
On Thursday 20 February 2003 15:09, Bill Shupp wrote:
 Ken, All:

 I've posted 5.3.17:

 ChangeLog:
 http://shupp.org/patches/vpopmail-ChangeLog

 Download:
 http://shupp.org/patches/vpopmail-5.3.17.tar.gz

 Regards,

 Bill Shupp


Bill,

Thanks for the error checking to vpopbull!
I haven't tested it yet, but my sanity greatly appreciates it!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.





Re: [vchkpw] smtp + auth + gentoo

2003-02-21 Thread Peter Palmreuther
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] 5.3.18

2003-02-21 Thread Jesse Guardiani
On Thursday 20 February 2003 18:44, Bill Shupp wrote:
 Ken, All:

 Sorry to do a second release in one day, but I had missed Brian's new
 virtual domain quota code for 5.3.17.  Anyway, I've tested it, and it
 looks good from here.  Please help test:

 Download:
 http://shupp.org/patches/vpopmail-5.3.18.tar.gz

Bill,

Maybe this would be a good time to ask this question (I've
asked it once before, but never got an answer):

How does the development/production releas process work here?

When does inter7 release a new production version?

Is there back porting involved? Or does inter7 one day say,
hey, I think we should release a new production release!

Info greatly appreciated.

Thanks,

Jesse


 ChangeLog:
 http://shupp.org/patches/vpopmail-ChangeLog

 Cheers,

 Bill Shupp

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.





Re: [vchkpw] Off topic suggestion ....

2003-02-21 Thread Jesse Guardiani
Hey Remi,

The 70s are over man. Check your clock settings!

Jesse


On Sunday 11 January 1970 16:02, Remo Mattei wrote:
 Hi guys, I have an off topic question and I will appreciate any
 suggestions. I have vpopmail running, with mysql + spamassassin the
 question is this.

 Spamassassin will tag the email message on the Subject [SPAM] only if I
 create the .qmail-user file and in addition to that if I use pop it does
 not tag the mail little strange, wonder if anyone has had a similar problem
 and how they have solved it.  BTW, if I have the info in the .qmail-default
 only it will not work even it will scan the message.

 Here is my .qmail-default

 |preline /usr/bin/spamc -f -u [EMAIL PROTECTED]
 |preline maildrop mailfilter
 |/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

 Here is the .qmail-user info:
 |preline /usr/bin/spamc -f -u [EMAIL PROTECTED]

 /home/vpopmail/domains/xxx.com/prova/Maildir/


 Thanks,

 Remo

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.





[vchkpw] pop3 auth failure with vpopmail

2003-02-21 Thread ABOKHALAF, Nassri Abdellatif
hello,


I am trying  Qmail + vpopmail + qmailadmin.

Problem: when teleneting port 110 user password fail for previous user i createed with 
Qmail pop3 and 
also with a virtual domain i created with Qmailadmin

I have some trouble understanding what to put in my 
/var/qmail/supervise/qmail-pop3d/run:

according to Life with Qmail Handbook something like this:

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c $MAXPOP3D \
0 110 /var/qmail/bin/qmail-popup mail.dsi.pt /home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d Maildir 21

but reading  vpopmail install i should put something like:
. tcpserver -H -R 0 pop-3 \ ..

can someone point me the right way ?

thank you in advance,

Nassri Abokhalaf





Re: [vchkpw] pop3 auth failure with vpopmail

2003-02-21 Thread Ajai Khattri
ABOKHALAF, Nassri Abdellatif wrote:

I am trying  Qmail + vpopmail + qmailadmin.

Problem: when teleneting port 110 user password fail for previous user i createed with Qmail pop3 and 
also with a virtual domain i created with Qmailadmin
Im assuming you know that the full email address is the username when 
using vpopmail?

--
Aj.
Systems Administrator / Developer



[vchkpw] Can't login to pop mail server (qmail+vpopmail)

2003-02-21 Thread sitesweb
Hello, please find out my problem :

[EMAIL PROTECTED] or postmaster%mydomain.com occur problems, website
is the password.

[EMAIL PROTECTED] qmail]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass website
-ERR authorization failed
Connection closed by foreign host.

QMAIL :
/var/qmail/control/virtualdomains : mydomain.com:mydomain.com
...defaultdelivery : ./Maildir

QMAILCTL:
tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup mydomain.com
/var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

VPOPMAIL directory:
[EMAIL PROTECTED] control]# cd /var/vpopmail/domains/mydomain.com/postmaster
[EMAIL PROTECTED] postmaster]# ls
Maildir

MAILLOG:
Feb 21 21:40:30 localhost vpopmail[1343]: vchkpw: chdir failed errno 13
/var/vpopmail/domains/mydomain.com/postmaster
[EMAIL PROTECTED]:127.0.0.1

Please help, it should be nearly OK but I can't seem to see what's the
problem.

Best regards, Al





Re: [vchkpw] 5.3.18

2003-02-21 Thread Bill Shupp
On Friday, February 21, 2003, at 10:26  AM, Jesse Guardiani wrote:

Bill,

Maybe this would be a good time to ask this question (I've
asked it once before, but never got an answer):
How does the development/production releas process work here?

When does inter7 release a new production version?

Is there back porting involved? Or does inter7 one day say,
hey, I think we should release a new production release!
Just like most OSS packages.  When it's ready.  Ken makes the call, I 
just organize development releases.  Backporting is only done if there 
is a major bug found, but the dev release isn't ready for production 
yet.  I did this with the vgetent problems in 5.2, for example.  That's 
the only time I'm aware of it, though.

Regards,

Bill Shupp




RE: [vchkpw] Can't login to pop mail server (qmail+vpopmail)

2003-02-21 Thread Roland Schmid
Hello,

 Hello, please find out my problem :

the best guide is lwq (http://www.lifewithqmail.org).
Use this guide and read it with attention.
It will help you understand.

Best regards,
Roland

  



Re: [vchkpw] Can't login to pop mail server (qmail+vpopmail)

2003-02-21 Thread Ajai Khattri
[EMAIL PROTECTED] wrote:

Hello, please find out my problem :

[EMAIL PROTECTED] qmail]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass website
-ERR authorization failed
Connection closed by foreign host.
QMAIL :
/var/qmail/control/virtualdomains : mydomain.com:mydomain.com
...defaultdelivery : ./Maildir
QMAILCTL:
tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup mydomain.com
/var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
VPOPMAIL directory:
[EMAIL PROTECTED] control]# cd /var/vpopmail/domains/mydomain.com/postmaster
[EMAIL PROTECTED] postmaster]# ls
Maildir
MAILLOG:
Feb 21 21:40:30 localhost vpopmail[1343]: vchkpw: chdir failed errno 13
/var/vpopmail/domains/mydomain.com/postmaster
[EMAIL PROTECTED]:127.0.0.1
Cannot change directory (chdir) to the Maildir. Check the permissions on
the directory. Also check that vchkpw is setuid/setgid to 
vpopmail/vchkpw user/group.

--
Aj.
Systems Administrator / Developer



RE: [vchkpw] Can't login to pop mail server (qmail+vpopmail)

2003-02-21 Thread sitesweb
Hi Roland, understand what? I have already followed it... may you be able to
highlight what I should take care of?

Thanks, Al

-Message d'origine-
De : Roland Schmid [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 21 février 2003 22:12
À : [EMAIL PROTECTED]
Objet : RE: [vchkpw] Can't login to pop mail server (qmail+vpopmail)
Critère de diffusion : Confidentiel


Hello,

 Hello, please find out my problem :

the best guide is lwq (http://www.lifewithqmail.org).
Use this guide and read it with attention.
It will help you understand.

Best regards,
Roland








Re: [vchkpw] smtp + auth + gentoo

2003-02-21 Thread Jaime Chereau
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;




Re: [vchkpw] 5.3.18

2003-02-21 Thread Jesse Guardiani
On Friday 21 February 2003 16:04, Bill Shupp wrote:
 On Friday, February 21, 2003, at 10:26  AM, Jesse Guardiani wrote:
  Bill,
 
  Maybe this would be a good time to ask this question (I've
  asked it once before, but never got an answer):
 
  How does the development/production releas process work here?
 
  When does inter7 release a new production version?
 
  Is there back porting involved? Or does inter7 one day say,
  hey, I think we should release a new production release!

 Just like most OSS packages.  When it's ready.  Ken makes the call, I
 just organize development releases.  Backporting is only done if there
 is a major bug found, but the dev release isn't ready for production
 yet.  I did this with the vgetent problems in 5.2, for example.  That's
 the only time I'm aware of it, though.

I'm not try to be a smart A#% or anything, but how do you know it's ready
if you keep adding new functionality? Is there a scheduled code freeze?

Thanks,

Jesse



 Regards,

 Bill Shupp

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.





RE: [vchkpw] Can't login to pop mail server (qmail+vpopmail)

2003-02-21 Thread sitesweb
Thanks a lot Ajai, I discovered /var/vpopmail was root:root, some
sub-folders/files were 530:7798 and I needed to chmod -R 755 /var/vpopmail
and now I can fully use my POP server.

Sincerely, Al

-Message d'origine-
De : Ajai Khattri [mailto:[EMAIL PROTECTED]
Envoye : vendredi 21 fevrier 2003 22:23
A : [EMAIL PROTECTED]
Objet : Re: [vchkpw] Can't login to pop mail server (qmail+vpopmail)


[EMAIL PROTECTED] wrote:

 Hello, please find out my problem :

 [EMAIL PROTECTED] qmail]# telnet localhost 110
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 +OK [EMAIL PROTECTED]
 user [EMAIL PROTECTED]
 +OK
 pass website
 -ERR authorization failed
 Connection closed by foreign host.

 QMAIL :
 /var/qmail/control/virtualdomains : mydomain.com:mydomain.com
 ...defaultdelivery : ./Maildir

 QMAILCTL:
 tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup mydomain.com
 /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

 VPOPMAIL directory:
 [EMAIL PROTECTED] control]# cd /var/vpopmail/domains/mydomain.com/postmaster
 [EMAIL PROTECTED] postmaster]# ls
 Maildir

 MAILLOG:
 Feb 21 21:40:30 localhost vpopmail[1343]: vchkpw: chdir failed errno 13
 /var/vpopmail/domains/mydomain.com/postmaster
 [EMAIL PROTECTED]:127.0.0.1

Cannot change directory (chdir) to the Maildir. Check the permissions on
the directory. Also check that vchkpw is setuid/setgid to
vpopmail/vchkpw user/group.

--
Aj.
Systems Administrator / Developer