Re: [vchkpw] smtp-auth and vpopmail

2005-11-07 Thread Mario Beltran

Rick Macdougall escribió:


Mario Beltran wrote:


Hi

I have installed a new box on linux with qmail (i follow life with 
qmail) + vpopmail + autorespond +ezmlm +qmailadmin + courier-imap


All works fine.

Now i need use smtp authentication.

I found a qmail-smtpd-auth-057 patch by Dr. Erwin Hoffmann. But I 
cant aplied yet the patch.


The reason is that I have looked for one tutorial (and I cant found) 
that tell me how to set up my smtp run file for use vchkpw for 
authentication


Does somebody knows how to?

If the answer is yes, please, tell me how

Thanks in advance and regards

Mario





Hi,

If this is a new install you might want to look at 
http:://www.shupp.org/toaster and install using that guide instead.  
It will save you a lot of time and effort.


It has all the patches you want and includes smtp-auth.

If you are adverse to using a different package, see 
http://shupp.org/smtp-auth-tls/


Regards,

Rick



Thank you Rick i used http://shupp.org/smtp-auth-tls and work fine :)

regards

Mario


[vchkpw] smtp-auth and vpopmail

2005-11-04 Thread Mario Beltran

Hi

I have installed a new box on linux with qmail (i follow life with 
qmail) + vpopmail + autorespond +ezmlm +qmailadmin + courier-imap


All works fine.

Now i need use smtp authentication.

I found a qmail-smtpd-auth-057 patch by Dr. Erwin Hoffmann. But I cant 
aplied yet the patch.


The reason is that I have looked for one tutorial (and I cant found) 
that tell me how to set up my smtp run file for use vchkpw for 
authentication


Does somebody knows how to?

If the answer is yes, please, tell me how

Thanks in advance and regards

Mario





Re: [vchkpw] smtp-auth and vpopmail

2005-11-04 Thread Rick Macdougall

Mario Beltran wrote:

Hi

I have installed a new box on linux with qmail (i follow life with 
qmail) + vpopmail + autorespond +ezmlm +qmailadmin + courier-imap


All works fine.

Now i need use smtp authentication.

I found a qmail-smtpd-auth-057 patch by Dr. Erwin Hoffmann. But I cant 
aplied yet the patch.


The reason is that I have looked for one tutorial (and I cant found) 
that tell me how to set up my smtp run file for use vchkpw for 
authentication


Does somebody knows how to?

If the answer is yes, please, tell me how

Thanks in advance and regards

Mario





Hi,

If this is a new install you might want to look at 
http:://www.shupp.org/toaster and install using that guide instead.  It 
will save you a lot of time and effort.


It has all the patches you want and includes smtp-auth.

If you are adverse to using a different package, see 
http://shupp.org/smtp-auth-tls/


Regards,

Rick



RE: [vchkpw] Smtp Auth with VPopmail

2004-02-13 Thread patrick . liechty
Title: RE: [vchkpw] Smtp Auth with VPopmail





Thanks for the inf I have it setup right now. I have one last problem. When I do authenticate through smtp auth, it can't find the user. Here is the log entry:

Feb 13 02:14:59 cssimsp0 vpopmail[21457]: [ID 997931 mail.notice] vchkpw-smtp: vpopmail user not found [EMAIL PROTECTED]:10.31.4.134

I know this user exists. I can login with this user in courier-imap. Do you know of any reasons why it can't find that user?


-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 13, 2004 8:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Smtp Auth with VPopmail


On Feb 12, 2004, at 3:45 PM, [EMAIL PROTECTED] wrote:
 One question.  Does smtp auth force users to authenticate when using 
 smtp or does it just provide the option to authenticate?  I am able to 
 send email through smtp without authenticating.  If I try to 
 authenticate through smtp, it will do that also.  It isn't forcing 
 authentication.  Any ideas?


On a properly configured system, a connection that provides SMTP AUTH 
information can send email to any address.


Connections that don't provide SMTP AUTH can only send to domains 
hosted locally on that server.


*** If you are able to send mail to a domain like hotmail.com or 
yahoo.com without authenticating (and not from localhost or any other 
IP you've set up to allow relaying in /home/vpopmail/etc/tcp.smtp), 
then you messed something up.


Check the qmail-smtpd/run file to make sure you're passing the proper 
parameters to qmail-smtpd. Older patches required a hostname between 
qmail-smtpd and the path to vchkpw. If you're using the current 
patch (contrib/qmail-smtpd-auth-0.4.2.tar.gz, from 
http://www.fehcom.de/qmail/smtpauth.html) then you shouldn't have the 
hostname.


One way to tell if you've set up qmail-smtpd/run correctly is to try 
authenticating with a random username and password. If they work, then 
qmail-smtpd isn't calling vchkpw to authenticate.


--
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/



Notice: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message, and then delete it from your computer. All e-mail sent to this address will be received by the Aurum Technology corporate e-mail system and is subject to archiving and review by someone other than the recipient. 





RE: [vchkpw] Smtp Auth with VPopmail

2004-02-12 Thread patrick . liechty
Title: RE: [vchkpw] Smtp Auth with VPopmail





One question. Does smtp auth force users to authenticate when using smtp or does it just provide the option to authenticate? I am able to send email through smtp without authenticating. If I try to authenticate through smtp, it will do that also. It isn't forcing authentication. Any ideas?

-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 11, 2004 10:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Smtp Auth with VPopmail


On Feb 11, 2004, at 8:34 AM, [EMAIL PROTECTED] wrote:
 So if I wanted to set this up in inetd.conf, it would look something 
 like this?

 #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env 
 /var/qmail/bin/qmail-smtpd /opt/vpopmail/bin/vchkpw


I'm not sure how you'd set it up in inetd.conf. Most people set it up 
as a service with tcpserver (see Bill Shupp's excellent toaster guide 
at http://www.shupp.org/ for an example).


At the very least, you would need to include /bin/true as a final 
parameter to vchkpw. I don't know if you'd need other changes.


--
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/



Notice: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message, and then delete it from your computer. All e-mail sent to this address will be received by the Aurum Technology corporate e-mail system and is subject to archiving and review by someone other than the recipient. 





RE: [vchkpw] Smtp Auth with VPopmail

2004-02-12 Thread Jeremy Kitchen
On Thu, 2004-02-12 at 16:45, [EMAIL PROTECTED] wrote:
 One question.  Does smtp auth force users to authenticate when using
 smtp or does it just provide the option to authenticate?  I am able to
 send email through smtp without authenticating.  If I try to
 authenticate through smtp, it will do that also.  It isn't forcing
 authentication.  Any ideas?

no, it provides an alternate means to allow the user to set the
RELAYCLIENT environment variable from a remote system.

-Jeremy
-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



RE: [vchkpw] Smtp Auth with VPopmail

2004-02-11 Thread patrick . liechty
Title: RE: [vchkpw] Smtp Auth with VPopmail





So if I wanted to set this up in inetd.conf, it would look something like this?


#smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd /opt/vpopmail/bin/vchkpw


-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 11, 2004 12:35 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Smtp Auth with VPopmail


On Feb 10, 2004, at 11:26 PM, [EMAIL PROTECTED] wrote:
 Is anyone using an smtp auth solution with vchkpw authentication?  Or, 
 can you point me in a good direction.  I have looked at all the smtp 
 auth solutions on the qmail.org site.  None of them seem to support 
 vchkpw.  Any help would be appreciated.

 If there isn't a good smtp auth solution, is there a good pop before 
 smtp solution?  I don't want to be a spam server. 


The patch on this page: http://www.fehcom.de/qmail/smtpauth.html is 
known to work fine with vpopmail 5.4.0.


I'm pretty sure we even include that patch in the contrib directory of 
5.4.0...


--
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/



Notice: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message, and then delete it from your computer. All e-mail sent to this address will be received by the Aurum Technology corporate e-mail system and is subject to archiving and review by someone other than the recipient. 





Re: [vchkpw] Smtp Auth with VPopmail

2004-02-11 Thread Tom Collins
On Feb 11, 2004, at 8:34 AM, [EMAIL PROTECTED] wrote:
So if I wanted to set this up in inetd.conf, it would look something 
like this?

#smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env 
/var/qmail/bin/qmail-smtpd /opt/vpopmail/bin/vchkpw
I'm not sure how you'd set it up in inetd.conf.  Most people set it up 
as a service with tcpserver (see Bill Shupp's excellent toaster guide 
at http://www.shupp.org/ for an example).

At the very least, you would need to include /bin/true as a final 
parameter to vchkpw.  I don't know if you'd need other changes.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/


RE: [vchkpw] Smtp Auth with VPopmail

2004-02-11 Thread patrick . liechty
Title: RE: [vchkpw] Smtp Auth with VPopmail





Ok. I am getting closer to having smtp auth working with qmail and vpopmail. I patched qmail with the qmail-smtpd-auth-0.4.2 at http://www.fehcom.de/qmail/smtpauth.html. I upgraded to vpopmail 5.4.0, which has the vchkpw.c patch included. I have qmail setup in inetd as so:

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd /opt/vpopmail/bin/vchkpw /bin/true

When I try to send a message using Outlook Express to the server, I get this type of logging in syslog:


Feb 12 00:29:44 cssimsp0 vpopmail[17667]: [ID 997931 mail.notice] vchkpw-smtp: vpopmail user not found [EMAIL PROTECTED]:10.31.4.134

It says it can't find the user. Any ideas why it can't find that user. I know that user is setup with that domain(aurum-email.net).

I appreciate the help since I am under a tight deadline.



-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 11, 2004 10:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Smtp Auth with VPopmail


On Feb 11, 2004, at 8:34 AM, [EMAIL PROTECTED] wrote:
 So if I wanted to set this up in inetd.conf, it would look something 
 like this?

 #smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env 
 /var/qmail/bin/qmail-smtpd /opt/vpopmail/bin/vchkpw


I'm not sure how you'd set it up in inetd.conf. Most people set it up 
as a service with tcpserver (see Bill Shupp's excellent toaster guide 
at http://www.shupp.org/ for an example).


At the very least, you would need to include /bin/true as a final 
parameter to vchkpw. I don't know if you'd need other changes.


--
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/



Notice: The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message, and then delete it from your computer. All e-mail sent to this address will be received by the Aurum Technology corporate e-mail system and is subject to archiving and review by someone other than the recipient. 





[vchkpw] Smtp Auth with VPopmail

2004-02-10 Thread patrick . liechty








Is anyone using an smtp
auth solution with vchkpw authentication? Or, can you point me in a good
direction. I have looked at all the
smtp auth solutions on the
qmail.org site. None of them seem
to support vchkpw. Any help would be appreciated.



If there isn't a good smtp auth solution, is there a good pop before smtp solution?
I don't want to be a spam server.



Thanks,



Patrick Liechty 












Notice:  The information contained in this message may be privileged, confidential, and protected from disclosure.  If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by replying to this message, and then delete it from your computer.  All e-mail sent to this address will be received by the Aurum Technology corporate e-mail system and is subject to archiving and review by someone other than the recipient. 




Re: [vchkpw] Smtp Auth with VPopmail

2004-02-10 Thread Tom Collins
On Feb 10, 2004, at 11:26 PM, [EMAIL PROTECTED] wrote:
Is anyone using an smtp auth solution with vchkpw authentication?  Or, 
can you point me in a good direction.  I have looked at all the smtp 
auth solutions on the qmail.org site.  None of them seem to support 
vchkpw.  Any help would be appreciated.

If there isn't a good smtp auth solution, is there a good pop before 
smtp solution?  I don't want to be a spam server. 
The patch on this page: http://www.fehcom.de/qmail/smtpauth.html is 
known to work fine with vpopmail 5.4.0.

I'm pretty sure we even include that patch in the contrib directory of 
5.4.0...

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter handheld Network Tester: http://sniffter.com/


Re: [vchkpw] Smtp Auth with VPopmail

2004-02-10 Thread Robert Fleming
--On Wednesday, February 11, 2004 12:26 AM -0600 
[EMAIL PROTECTED] is rumoured to have written:

Is anyone using an smtp auth solution with vchkpw authentication?  Or, can
you point me in a good direction.  I have looked at all the smtp auth
solutions on the qmail.org site.  None of them seem to support vchkpw.
Any help would be appreciated.
i am using the qmail-smtpd AUTH patch 
http://www.qmail.org/qmail-auth-20010105.tar.gz in combination with the 
courierpasswd authentication program.

HTH

Rob



Re: [vchkpw] Smtp Auth with VPopmail

2004-02-10 Thread X-Istence
[EMAIL PROTECTED] wrote:

snip

*Notice:*/ The information contained in this message may be 
privileged, confidential, and protected from disclosure. If the reader 
of this message is not the intended recipient, you are hereby notified 
that any dissemination, distribution, or copying of this communication 
is strictly prohibited. If you have received this communication in 
error, please notify us immediately by replying to this message, and 
then delete it from your computer. All e-mail sent to this address 
will be received by the Aurum Technology corporate e-mail system and 
is subject to archiving and review by someone other than the recipient./


Oops, i am allready violating your special, law thingie.

Its annoying to see these attached. Whats the point for a mailling list?

X-Istence



[vchkpw] SMTP Auth and vpopmail-5.3.X

2003-11-03 Thread Erwin Hoffmann
Hi,

I just checked the most recent (available) vopopmail-5.3.27. 

Here, you inclued CRAM-MD5 support from Krzysztof Dabrowski. This
implementation is broken; it does not confirm with Dan Bernstein's
checkpassword API.

Dan requires: user0password0 or - in case of C/R - user0response0challenge0.

Krzysztof Dabrowski has implemented: user0challenge0response.

This badly breaks the checkpassword interface. Don't promote that.

More infos:

http://www.fehcom.de/qmail/spamcontrol/README_spamcontrol.html


I will provide a patch soon.

regards.
--eh.

Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24



[vchkpw] SMTP-AUTH with vpopmail mysql

2002-11-22 Thread Dan Houtz


Was hoping someone out there might have a quick solution 
to my problem. Icurrently have a devlopement server running qmail (hoping to 
soon replaceour sendmail system). I currently have a compbination Qmail + 
Vpopmailsystem authenticating off MySQL. It's also running courier IMAP/POP3 
whichalso authenticates off the MySQL database. All works well. However, 
I'mhaving problems integrating smtp-auth with this. I have added the 
smtp-authpatch and when I do a 'ehlo' command it lists auth as a feature, 
however itdoesn't seem to be working. Am, I corrent in thinking that it 
should run/usr/home/vpopmail/bin/vchkpw to check the username and 
password?I have included my tcpserver run file for 
qmail-smtpd:#!/bin/shQMAILDUID=`id -u qmaild`NOFILESGID=`id -g 
qmaild`MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`LOCAL=`head 
-1 /var/qmail/control/me`if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z 
"$MAXSMTPD" -o -z "$LOCAL" ];th\en echo QMAILDUID, 
NOFILESGID, MAXSMTPD, or LOCAL is unset in echo 
/var/qmail/supervise/qmail-smtpd/run exit 1fiexec 
/usr/local/bin/softlimit -m 200 \ 
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb 
-c"$MAXSMT\PD" \ -u 
"$QMAILDUID" -g "$NOFILESGID" 0 smtp 
recordio/var/qmail/bin/qmail-s\mtpddev.penndigital.net 
/usr/home/vpopmail/bin/vchkpw /usr/bin/true 



Re: [vchkpw] SMTP-AUTH with vpopmail mysql

2002-11-22 Thread Einar Bordewich
Change:
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
to:
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`

My true is /bin/true, so check that yours realy is /usr/bin/true.

Also increase your softlimit. Try add an ekstra 0 (20 000 000 instead of 2
000 000). When things work, you can fine-tune your settings.

--

bordewich.NETnetwork consultant
Einar Bordewich  phone: +47 911 52 777
e-Mail:  einar(at)bordewich.net
lat: 59.91144 N  lon: 10.76097 E

- Original Message -
From: Dan Houtz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 23, 2002 3:53 AM
Subject: [vchkpw] SMTP-AUTH with vpopmail  mysql


Was hoping someone out there might have a quick solution to my problem. I
currently have a devlopement server running qmail (hoping to soon replace
our sendmail system). I currently have a compbination Qmail + Vpopmail
system authenticating off MySQL. It's also running courier IMAP/POP3 which
also authenticates off the MySQL database. All works well. However, I'm
having problems integrating smtp-auth with this. I have added the smtp-auth
patch and when I do a 'ehlo' command it lists auth as a feature, however it
doesn't seem to be working. Am, I corrent in thinking that it should run
/usr/home/vpopmail/bin/vchkpw to check the username and password?

I have included my tcpserver run file for qmail-smtpd:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ];
th\en
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
$MAXSMT\PD \
-u $QMAILDUID -g $NOFILESGID 0 smtp recordio
/var/qmail/bin/qmail-s\mtpd
dev.penndigital.net /usr/home/vpopmail/bin/vchkpw /usr/bin/true