Hi,
I am trying to get exim authenticate users before relaying and would
like to use PAM.
Here is the relevant section within exim.conf
#---
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = ${if pam{$1:${sg{$2}{:}{::}}}{yes}{no}}
server_set_id = $1
#---
The server_condition was copied directly from a manual page.
However, this doesnt seem to work. The error message that I get in the
logs is
Authentication failed for (192.168.1.2) [192.168.1.2] (shri): 535
Incorrect authentication data
I have tried this several times with no luck.
Can anyone who has done this before shed some light on this.
Thanks and regards,
Shri
--
------------------------------------------------------------------------
Shri Shrikumar U R Byte Solutions
I.T. Consultant Edinburgh, Scotland Tel: 0845 644 4745
Email: shri@urbyte.com Web: www.urbyte.com
Attachment:
signature.asc
Description: This is a digitally signed message part