Hi list,
I am having a few problems getting smtp authentication working.
I am running exim-tls 3.35 on a Debian Linux 3.0 installation.
I am trying to authenticate from the /etc/shadow file via PAM.
My client is MS Outlook Express 6.
Here is the error I am getting in my exim logs when I try and authenticate.
2002-07-22 16:56:51 Authentication failed for
golax6-118.dialup.optusnet.com.au (titanium) [211.28.134.118]: 535 Incorrect
authentication data
This is what I have in my /etc/exim/exim.conf file
# SMTP Authentication
plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if pam{$2:$3}{1}{0}}"
server_set_id = $2
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if pam{$1:$2}{1}{0}}"
server_set_id = $1
My /etc/pam.d/exim file is as follows.
# PAM configuration for exim
auth required pam_unix_auth.so shadow
account required pam_unix_acct.so
If I do a ldd on /usr/sbin/exim it has the pam lib compiled in.
Can anyone see anything obvious that I am not doing right in this setup?
Thanks