[Exim] help please

Top Pagina
Delete this message
Reply to this message
Auteur: Thomas Kinghorn
Datum:  
Aan: Exim-Users (E-mail)
Onderwerp: [Exim] help please
Good day all.

Here is a problem I really need help with, if you have time.

mail sent to support@??? must get rewritten to
support@???.
Then broken down to individual users.
The users must have the domain part server.domain.tld.

All works except that it shows:

LOG: Rewrite of support@??? yielded unqualified address "support"

and even though it breaks down the list to addresses, it does not
rewrite them to user@???.


>>> routing support@???
>>> domain.tld in "dsearch;/usr/exim/virtual"? no (end of list)
>>> domain.tld in "lsearch;/usr/exim/mailing-lists/list-aliases"? yes

(matched "lsearch;/usr/exim/mailing-lists/list-aliases")
>>> calling mailing_lists router
>>> domain.tld in "dsearch;/usr/exim/alias-file/"? yes (matched

"dsearch;/usr/exim/alias-file/")
>>> user@??? in "*@dsearch;/usr/exim/alias-file/"? yes (matched

"*@dsearch;/usr/exim/alias-file/")
............
.............
>>> routed by mailing_lists router
>>> ----------- end verify ------------


below are my routers.






######################################################################
#                      ROUTERS CONFIGURATION                         #
#               Specifies how addresses are handled                  #
######################################################################
begin routers


virtual:
driver = redirect
domains = dsearch;/usr/exim/virtual
data = ${lookup{$local_part}partial-lsearch{/usr/exim/virtual/$domain}}

mailing_lists:
    driver = redirect
    allow_defer
    allow_fail
    data =
${lookup{$local_part}lsearch{/usr/exim/mailing-lists/${domain}.aliases}}
    domains = lsearch;/usr/exim/mailing-lists/list-aliases
    errors_to = postmaster@???
    #qualify_preserve_domain
    #retry_use_local_part



rewrite_addresses:
    driver = redirect
    data =
${lookup{$1$2}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail} hT
    file_transport = address_file
    pipe_transport = address_pipe
    domains = lsearch;/usr/exim/alias-file/rewrite-domains
    errors_to = postmaster@???


#group company redirect router below
hub_route:
    driver = manualroute
    domains = ! +local_domains
    route_data =
${lookup{$domain}partial-lsearch{/usr/exim/redirect_domains/hub-list.route}}
    transport = remote_smtp


dnslookup:
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.1/8 :\
                       10.0.0.0/8 : \
                       172.16.0.0/12 : \
                       192.168.0.0/16


system_aliases:
driver = redirect
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{/etc/aliases}}
user = xadmin
file_transport = address_file
pipe_transport = address_pipe



userforward:
driver = redirect
check_local_user
file = $home/.forward
no_verify
no_expn
check_ancestor
# allow_filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

# This router matches local user mailboxes.
localuser:
driver = accept
check_local_user
transport = local_delivery