I believe those steps are a little out of date. And the patch you sent me
has been changed slightly. Looks like there is extra spaces at the
beginnings of some of the lines. If you need it again, I can tar it up to
help insure that it's unchanged.
But since posting that updated patch, Kris told me that you can simply do
chmod ug+s /home/vpopmail/bin/vchkpw, and then you don't need to patch
vpopmail. Also, you don't need to follow the other instructions mentioned
below. This may not appeal to everyone, but perhaps it's better than
running your pop daemon as root.
Keep in mind that this will ONLY work if you don't use multiple uids/gids
for virtual domains. I keep all of mine under the vpopmail user, so it
works. If you use multiple uids/gids, then you can apply the patch, change
permissions on the directories and make it work that way.
Hope this helps.
Later-
Bill
on 1/24/01 1:37 PM, Alberto Rodríguez at [EMAIL PROTECTED] wrote:
> 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.
>
>
>
>