On my system I installed qmail with SMTP-AUTH first and got this working
correctly.

I have recently installed vpopmail 4-9-6 _without_ any patches and simply
changed the SMTP line to "/home/vpopmai/bin/vckpw /bin/true /bin/cramd5
/bin/true" - and it works correctly.  The only other thing to note is that
qmail-smtpd must run with permissions to see the /home/vpopmail file system

Hope this helps

Mark

-----Original Message-----
From: Alberto Rodríguez [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2001 19:38
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: vpopmail and qmail-smtpd-auth


    I´m a bit confusing with faq:
http://members.elysium.pl/brush/qmail-smtpd-auth/faq.html#a2

There, you have some steps to install qmail-smtpd-auth with vpopmail. Below
I add steps...


is possible to use qmail-smtpd-auth wiht vpopmail ?

Answer.
(this answer is contributed by Christopher Seawood <[EMAIL PROTECTED]>):

Yes, you will need to substitute /bin/checkpassword with
/var/qmail/bin/vpopmail in the examples.


You also have to make the following changes to get it to work:
1) Since vpopmail 3.4.11k does a setgid/setuid to the vpopmail user after it
authenticates, I had to add the attached patch to make it skip that
setgid/setuid if it's not being called by root.
2) Must add the qmail user to the vpopmail group in /etc/group.
3) Must run qmail-smtpd (or rblsmtpd) with the vpopmail gid.
4) Must make the user & domain directories and vpasswd* files readable by
the vpopmail group.

Get this patch and apply it to the vpopmail source.

The first thing you must make according the faq is to change your
checkpassword with /var/qmail/bin/vpopmail.

I think that the correct name is /home/vpopmai/bin/vckpw and not
/var/qmail/bin/vpopmail.
Is it true?

The follow step in faq say that you must add a patch to vpopmail source if
you not run vpopmail  as root (here vpopmail is again vckpw?).
So can I run vckpw as root and in this way I have not to patch vpopmail?

I ask you last question because I have  problems to patch vpopmail source.
You send me a patch for vpopmail-4.9.8 but it not work. I attach you the
patch and I´ll thank you if you could look this file.

Thank you in advance and bests regards.





Reply via email to