Re: [Exim] SMTP Auth + Relaying

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Rob Williams
Fecha:  
A: exim-users
Asunto: Re: [Exim] SMTP Auth + Relaying
Derrick> Can you submit the relevant parts of your config to the list?

Why soitenly ;)


At the top:
===
domainlist local_domains = @mx_any
domainlist relay_domains = @mx_any

acl_smtp_rcpt = check_recipient
acl_smtp_data = check_message

auth_advertise_hosts = *
===


Under authenticators:
===
login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = ${if and {\
     { exists {/usr/exim/virtualdomains/${domain:$1}/passwd} }\
     {crypteq {$2}{\
     ${lookup {${local_part:$1}} lsearch \
     {/usr/exim/virtualdomains/${domain:$1}/passwd}{$value}fail}\
     }}\
     }{1}{0}}
  server_set_id = $1
===



Under Directors Configuration:
===
real_local:
#!!# prefix renamed local_part_prefix
driver = accept
check_local_user
local_part_prefix = real-
transport = local_delivery

virtual_alias:
driver = redirect
allow_defer
allow_fail
data =
${lookup{$local_part}lsearch*{/usr/exim/virtualdomains/${domain}/aliases
}}
domains = lsearch;/usr/exim/domains
file_transport = address_file
pipe_transport = address_pipe
qualify_preserve_domain
retry_use_local_part
user = mail
===



... actually, I'm not sure what else is considered "relevant". I could
post the rest of the directors, but AFAIK they're pretty much
out-of-the-box.

Thanks!

-Rob