Hi all,
I'm trying to setup a server that uses the same authentication mechanism
for ppp incoming calls and POP3. I'm using Qpopper with PAM support and the
pam_mysql.so module.
The problem is that when I request access to a mailbox via POP3 if the user
exists both in the mysql database and in the password (/etc/passwd)
database, everything works, but if not it doesn't let me enter, saying in
syslog that the "user is not know to the system".
I've looked at the Qpopper sources and I've seen that when the program
processes the "USER" POP3 command it doesn't query the PAM interface but
directly it uses the getpwnam() function (so it takes care of /etc/passwd).
It seems to be something wrong, but may be I'm wrong.
Can anyone tell me more about that?
Thx.
---------
Nhan NGO DINH