exim i autentyfikacja
Mam już dość - siedzę nad tym od tygodni. Przebrnąłem przez google i
lokalną dokumentację i nic. Chcę zrobić tak, żeby konkretni użytkownicy
mogli wysyłać skąd chcą dokąd chcą. Oto wycinek konfiguracji:
(...)
# Domains we relay for; that is domains that aren't considered local but we
# accept mail for them.
relay_domains =
(...)
# The setting below allows your host to be used as a mail relay by only
# the hosts in the specified networks. See the section of the manual
# entitled "Control of relaying" for more info.
host_accept_relay =
# This setting allows anyone who has authenticated to use your host as a
# mail relay. To use this you will need to set up some authenticators at
# the end of the file
host_auth_accept_relay = *
(...)
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{$2}{${extract{1}{:}{${lookup{$1}lsearch{/etc/exim/passwd}{$value}{*:*}}}}}{1}{0}}"
# server_set_id = $1
W /etc/exim/passwd umieszczałem różne wpisy:
user:hasło
user hasło
user hasło
user:zaszyfrowane_hasło
user zaszyfrowane_hasło
user zaszyfrowane_hasło
i za każdym razem, kiedy wysyłam maila Mozillą, dostaję pytanie: "Podaj
hasło dla user@IP_serwera".
Kiedy podaję hasło to poczta nie jest wysyłana, a w logu pojawia się
"Incorrect authentication data". Co robię źle?
Czy ktoś może mi podesłać jakiś przykładowy exim.conf z działający
relayem na autentyfikacji?
--
http://www.miki.z.pl miki@z.pl
Gadu-gadu: 2128279 Mobile: +48607345846
Linux Registered User # 285966
"Linux is a good wigwam - no windows, no gates, and apache inside!"
Reply to: