RE: AW: [exim] SMTP authentication not working

Pàgina inicial
Delete this message
Reply to this message
Autor: Mike Green
Data:  
A: exim-users
Assumpte: RE: AW: [exim] SMTP authentication not working
Thanks for the response Mirko.

I've tried the recommendation below but I'm still getting "relay not
permitted" in the log files.

>acl_smtp_auth = acl_check_auth


I've put that line directly below the "acl_smtp_rcpt = acl_check_rcpt"


>acl_check_auth:
>
>    accept condition    = ${if
>eq{${uc:$smtp_command_argument}}{PLAIN}{yes}{no}
>    deny message    = PLAIN required

>
>acl_check_auth_1:
>
>    accept condition    = ${if
>eq{${uc:$smtp_command_argument}}{LOGIN}{yes}{no}
>    deny message    = LOGIN required

>
>acl_check_auth_2:
>
>    accept condition    = ${if
>eq{${uc:$smtp_command_argument}}{CRAM-MD5}{yes}{no}
>    deny message    = CRAM-MD5 required


The block above I have inserted just before the start of the ROUTER config
section


>begin authenticators
>
>    lookup_plain:
>    driver         = plaintext
>    public_name     = PLAIN
>    server_condition     = ${if
>eq{$3}{${lookup{$2}lsearch{/usr/local/exim/passwd}{$value}fail}}{yes}{no}}
>    server_set_id     = $2

>
>    lookup_login:
>    driver         = plaintext
>    public_name     = LOGIN
>    server_prompts     = Username:: : Password::
>    server_condition     = ${if
>eq{$2}{${lookup{$1}lsearch{/usr/local/exim/passwd}{$value}fail}}{yes}{no}}
>    server_set_id     = $1

>
>    lookup_cram:
>    driver         = cram_md5
>    public_name     = CRAM-MD5
>    server_secret     = ${if
>eq{$2}{${lookup{$1}lsearch{/usr/local/exim/passwd}{$value}fail}}{yes}{no}}
>    server_set_id     = $1

>
>
>Mirko
>
>

The file "passwd" is just a plain text file. Is this correct?

Mike

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger