Hi,

I'm trying Exim to authenticate users for mail relay using the SMTP AUTH 
interface. I've recompiled the Debian Exim 3.12-10 source package with the 
standard/default settings and only added the TCP Wrappers and PAM support. The 
exim and eximon packages generated successfully and installed fine. Only what 
else should I do know to allow exim to use PAM? I've set up the fixed_plain and 
fixed_login entries in the conf file with the server_condition for fixed_login 
(which is what Outlook uses) as follows:
  server_condition = "\
  ${if pam {$1:$2}{yes}{no}}"

The authentication log returns the following error when I try to authenticate:
PAM_unix[24311]: authentication failure; (uid=8) -> **unknown** for exim service

I've set up an exim config file in the /etc/pam.d/ dir with auth and account 
required. From the above (and the spec.txt file in the exim docs) it looks like 
it expects an exim user with UID 8 to initialise the PAM service, but mail is 
already specified as the UID 8 GID 8 and I don't know what'll break if I rename 
mail to exim. Is it possible to create a user alias ? i.e. exim and mail is 
really the same user, same passwd etc ?

Also am I approaching this PAM authentication right?

Thanks,
Eugene van Zyl

Reply via email to