I have installed sendmail+mysql. I create my user inserting an appropriate line in table 'users' of 'sendmail' MySQL database. Then I create a virtual user inserting an appropriate row in 'virtuser' table of the 'sendmail' db so I one user can receive mail using the virtual e-mail address. Now I have the problem to permit the user (who is not a file system user!) to read the e-mail via imap. At the moment I'm using UW IMAP.
Reading the forum messagge I have understood that I can install the PAM authentication module for MySQL (pam-mysql project on sourceforge.net) and tell to imapd to use the PAM authentication against MySQL.
This do not work. Can some one tell me what is the right configuration of IMAP for PAM authentication against MySQL? There is an alternative method to authenticate IMAP against a MySQL database? If I must install this system on Slackware distribution, how I must behave (as slackware do not support PAM(?))?
Thank you in advance,
rocsca
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have installed sendmail+mysql. I create my user inserting an appropriate line in table 'users' of 'sendmail' MySQL database. Then I create a virtual user inserting an appropriate row in 'virtuser' table of the 'sendmail' db so I one user can receive mail using the virtual e-mail address. Now I have the problem to permit the user (who is not a file system user!) to read the e-mail via imap. At the moment I'm using UW IMAP.
Reading the forum messagge I have understood that I can install the PAM authentication module for MySQL (pam-mysql project on sourceforge.net) and tell to imapd to use the PAM authentication against MySQL.
This do not work. Can some one tell me what is the right configuration of IMAP for PAM authentication against MySQL? There is an alternative method to authenticate IMAP against a MySQL database? If I must install this system on Slackware distribution, how I must behave (as slackware do not support PAM(?))?
Thank you in advance,
rocsca
Can anyone help me?
many thanks,
rocsca
Then?
rocsca
You'll need account, session, and password authentication configured in the relevant config file.
The best way to work out what is going on would be to recompile pam-mysql with its debugging flag and check your logs.
K.