server side authentication mit exim
hallo,
ich versuche seit einiger Zeit meinem exim Mailserver smtp auth beizubringen.
laut exim.conf habe ich die unten angegebenen zeilen auskommentiert, und so
ziehmlich jede art versucht wie ich die /etc/exim/passwd erzeuge. trotdem kann
ich nicht mit mozilla email per auth smtp versenden. wie habt ihr die datei
erzeugt oder wisst ihr was ich falsch mache?
in mozilla hab ich "use name and passwd" und use ssl when available ausgewaehlt.
exim ist Version 3.36-6
/var/log/exim/mainlog sagt folgendes
2003-05-23 01:13:05 Authentication failed for (muellerRs.de) [192.168.0.10]: 535 Incorrect authentication data
2003-05-23 01:13:46 Authentication failed for (muellerRs.de) [192.168.0.10]: 535 Incorrect authentication data
in exim.conf steht u.a.:
----------------------------------------
host_accept_relay = 127.0.0.1: ::::1
host_auth_accept_relay = *
----------------------------------------
# The examples below are for server side authentication; they allow two
# styles of plain-text authentication against an /etc/exim/passwd file
# which should have user IDs in the first column and crypted passwords
# in the second.
plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if crypteq{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $1
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if crypteq{$3}{${extract{1}{:}{${lookup{$2}lsearch{/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
server_set_id = $3
# These examples below are the equivalent for client side authentication.
# They assume that you only use client side authentication to connect to
# one host (such as a smarthost at your ISP), or else use the same user
# name and password everywhere
# plain:
# driver = plaintext
# public_name = PLAIN
# client_send = "^username^password"
# login:
# driver = plaintext
# public_name = LOGIN
# client_send = ": username : password"
# cram_md5:
# driver = cram_md5
# public_name = CRAM-MD5
# client_name = username
# client_secret = password
--
lutz
____
Lutz Mueller
University of Wuppertal
http://wkw.kunst.uni-wuppertal.de/mueller.vcf
http://wkw.kunst.uni-wuppertal.de/mueller.gpg
Reply to: