On Wed, 2002-06-19 at 15:18, Mike Mimic wrote: > Hi! > > > | How can I set that user should login for SMTP the > > same > > | as for POP3? So he should use the same username > > and > > | password as for POP3 (that is the user linux > > account > > | username and password). > > > > Instead, exim supports SMTP AUTH. > > Yes, I would like to implement that. The problem is > that examples use plain text file, but I would like > to use system accounts (I have shadow passwords). > > So what's the code for server_condition for that? >
I believe that putting the following in the authentication configuration section will allow you to use PAM. You will just need to add a file named /etc/pam.d/exim with the appropriate PAM config options login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = "${if pam{$1:$2}{1}{0}}" server_set_id = $1 -Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]