[Exim] Relay only on SMTP Auth

Pàgina inicial
Delete this message
Reply to this message
Autor: Scott Dexter
Data:  
A: exim-users
Assumpte: [Exim] Relay only on SMTP Auth
I am attemtpting to set up Exim to ONLY relay on SMTP authetication via
pwcheck. I'm running Exim 4.20 and it seems to allow relay no matter
what. Here is part of my config:

domainlist relay_to_domains = *
    * I think this is correct since people will need to send mail to a
variety of hosts


hostlist relay_from_hosts = 127.0.0.1
    * This SHOULD only allow relay from localhost...unless authed



accept  authenticated = *
    * This is allowing autheticated people to send



and here are authentiators
begin authenticators

plainns:
     driver = plaintext
     public_name = PLAIN
     server_condition = "${if pwcheck{$2:$3}{1}{0}}"
     server_set_id = $2


login:
     driver = plaintext
     public_name = LOGIN
     server_prompts = "Username:: : Password::"
     server_condition = "${if pwcheck{$1:$2}{1}{0}}"
     server_set_id = $1


What am I missing?


--
Scott Dexter