Re: [vchkpw] dovecot and vpopmail

2009-11-21 Thread Christian Lerrahn
Hi Pavel,
> Friday, November 20, 2009, 11:40:28 AM, you wrote:
> 
> CL> Hi,
> CL> I'm trying to set up dovecot with vpopmail on a Debian Lenny
> CL> system. I have modified the package from dotdeb.org to use MySQL.
> CL> Now, that gives me binaries that work fine (i.e. vchkpw, vadd...,
> CL> etc. work fine) but dovecot just doesn't want to do the
> CL> authentication right.
> 
> CL> I tried a web search but I only found posts describing the same
> CL> problem never a solution.
> 
> CL> Cheers,
> CL> Christian
> 
> Sorry if this solution is unacceptable, but why bother with packages?
> Both vpopmail and dovecot compile nicely from sources and you can tune
> them to your liking.

Yeah, I've thought about that. However, I like keeping the development
packages off my production machines and for that packages are usually
the most convenient. Funny enough, I've tried my packages on another
Debian machine now which had the dev packages installed and everything
seems to work there. So, I suppose it's some kind of weird dependency
problem.

Cheers,
Christian

!DSPAM:4b08ebec32711000553508!



Re: [vchkpw] dovecot and vpopmail

2009-11-20 Thread Pavel V. Yanchenko
Hello Christian,

Friday, November 20, 2009, 11:40:28 AM, you wrote:

CL> Hi,
CL> I'm trying to set up dovecot with vpopmail on a Debian Lenny system. I
CL> have modified the package from dotdeb.org to use MySQL. Now, that gives
CL> me binaries that work fine (i.e. vchkpw, vadd..., etc. work fine) but
CL> dovecot just doesn't want to do the authentication right.

CL> I tried a web search but I only found posts describing the same problem
CL> never a solution.

CL> Cheers,
CL> Christian

Sorry if this solution is unacceptable, but why bother with packages?
Both vpopmail and dovecot compile nicely from sources and you can tune
them to your liking.


-- 
Best regards,
 Pavelmailto:bal...@msmu.ru


!DSPAM:4b06608832717179362923!



[vchkpw] dovecot and vpopmail

2009-11-20 Thread Christian Lerrahn
Hi,
I'm trying to set up dovecot with vpopmail on a Debian Lenny system. I
have modified the package from dotdeb.org to use MySQL. Now, that gives
me binaries that work fine (i.e. vchkpw, vadd..., etc. work fine) but
dovecot just doesn't want to do the authentication right.

Dovecot links against libvpopmail and does not use vchkpw. However, it
always claims that the user is unknown even if it is a valid user. An
strace reveals that dovecot/vpopmail actually never query the MySQL
server. Instead there is a cdb lookup which obviously fails.

The Debian package doesn't seem to include more than 2 patches that
definitely do not affect that. There seems to be no way of telling
dovecot something about how to query vpopmail. I've also tried changing
the package over to 5.4.28 to no avail.

So, first question is, is this a vpopmail or a dovecot problem?
Second question, any hints what is going wrong here?

I tried a web search but I only found posts describing the same problem
never a solution.

Cheers,
Christian

!DSPAM:4b06560d32716683513730!