[exim] exim and authentication problem

Top Page
Delete this message
Reply to this message
Author: ji
Date:  
To: exim-users
Subject: [exim] exim and authentication problem
hi,

i read faq, docu and mailing list. my problem is to understand the
mechanism ... i use exim 4.50 on debian with a non debian specific
configuration.

what i want ... i want run exim with authentication on smtp connection.
this should be work for connects from lan side at the one hand and for
the wan side (relay) on the other. i want to use, for simple
understanding plain text.

beginning from the end of configuration tasks ..

i need a auth entry like this :

plain_server:
driver = plaintext
public_name = PLAIN
server_condition = "${if
crypteq{$3}{${extract{1}{:}{${lookup{$2}lsearch{CONFDIR/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $2
server_prompts = :
.ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
.endif


this is for lookup via lsearch /etc/exim4/passwd file. this file looks
like this?

user:pwd
user:pwd
...

in transport entries no connection is made to auth entries. (normaly no
address checks would be performed, i think *:)*)

in router entries are no direkt settings would be taken that makes it
clear to me neither authentication should be used or not. or?

but one of the preconditions of general router entries are acl's, right?

if i'm right until now .. i understand it a little bit more. if not
please correct me.

acl's are passed in order they are configured? acl's are the suggested
way to control who should authenticate to exim? if yes how to set up a
very simple acl for control authentication?

  accept
    authenticated = *


bevor i write a spam .. i wait for first answers first. little examples
would be nice, no full cfg pls.

thx
ji'e'toh