Re: [Exim] tricky routing-problem

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Patrick von der Hagen
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] tricky routing-problem
I've been asked to post my directors.
Here is an extract of my exim.conf:

local_domains = /opt/exim/domain
local_domains_include_host = true
local_domains_include_host_literals = true
relay_domains = *.domain
locally_caseless = false
[...]
#                      DIRECTORS CONFIGURATION                       #
#first system-aliases, so root@domain can be specified on a
#per-host-level
system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases
  search_type = lsearch


#Now the routing of non-local-adresses
ldap_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
search_type = ldap
query = ldap:///cn=$local_part,ou=mail,dc=ira,dc=uka,dc=de?mail

#before we try local-delivery: handle my case-Problem
set_case_director:
  driver = smartuser
  new_address = ${lookup{${lc:$local_part}}lsearch{/opt/exim/case}\
                             {$value@$domain}fail}
  new_director = system_aliases


userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
file = .forward
modemask = 002
filter

localuser:
driver = localuser
transport = local_delivery

end



--
CU,
Patrick.
"Never run on auto-pilot" - The Pragmatic Programmer