Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exim Auth Configuration



On Mon, Feb 19, 2001 at 05:37:29PM +0900, A.Sajjad Zaidi wrote:
> Exim rocks. Ok.

Yup.  :-)

> fixed_login:
>   driver = plaintext
>   public_name = LOGIN
>   server_prompts = User Name : Password

This doesn't look right.  I think you want
    server_prompts = "Username:: : Password::"
(Yes, I know it was supposed to be 'User Name', but Outlook
Express doesn't.  It expects Username:.)

>   server_condition = \
>   ${if and {{eq{$1}{ph10}}{eq{$2}{secret}}}{yes}{no}}

You probably don't want those constants there, unless Philip
Hazel is now working for you.  :-)  I think you want:
    server_condition = "${if pam {$1:$2}{yes}{no}}"
    server_set_id = $1

This is the one Netscape uses:
> fixed_plain:
>   driver = plaintext
>   public_name = PLAIN
>   server_condition = "\
>   ${if pam {$2:$3}{yes}{no}}"
>   server_set_id = $2

Did you setup /etc/pam.d/exim?  You can use something like:
auth     required       pam_pwdfile.so pwdfile /etc/exim/passwd
account  required       pam_pwdb.so

where /etc/exim/passwd is the password file you are using for
the auth (since you really don't want to be sending system
passwords like this).


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links