Re: [Exim] Outlook 2002 and Exim 4.04?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Gabriel Lawrence
Dátum:  
Címzett: Kirill Miazine
CC: exim-users
Tárgy: Re: [Exim] Outlook 2002 and Exim 4.04?
On Mon, 2002-04-29 at 23:50, Kirill Miazine wrote:

> What are you authenticators? Afaik Outlook uses LOGIN and it's very
> picky about server_prompts - it want them to be Username: and Password:
> (note the trailing colon). Make sure you have defined one.
>
> Here's a (working) example:
>
> login:
>     driver = plaintext
>     public_name = LOGIN
>     server_prompts = Username:: : Password::
>     server_condition = ${lookup pgsql {SELECT password FROM users \
>                                        WHERE username='${quote_pgsql:$1}' \
>                                        AND password='${quote_pgsql:$2}' \
>                                        AND active='y'} {yes} {no}}
>     server_set_id = $1

>
> You didn't really need to patch Exim - it's (or at least, it should be!)
> possible to force Outlook to use authenticated SMTP.
>


Cool... Can I still use cram and plaintext or do I have to only use
login? (I had set up the other two for the other machines...)

Assuming I wanted to use a fixed uname password (the names have been
changed to protected the innocent...) would the server_condition look
like this:

fixed_login:
    driver = plaintext
    public_name = LOGIN
    server_prompts = Username:: : Password::
    server_condition = ${if and
{{eq{$1}{uname}}{eq{$2}{pass}}}{yes}{no}}
    server_set_id = $1



Thanx,
-gabe