[exim] Routing for aliases

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Niels Kobschätzki
Datum:  
To: exim-users
Betreff: [exim] Routing for aliases
Hi,

I have the following case: I have users who have their mail-address
aliased to an external address. The moment a router resolves the alias
it doesn’t go again for the new target address through all routers but
jumps directly the router to my dnslookup-router which is used for
external mails and sends it out. Any idea how I get the mail through the
whole router-loop again?

Here is a part of the routing part where the new target address gets
generated and it then directly jumps into the dnslookup router

virtual_aliases_nowild router generated foobar@???
errors_to=NULL transport=NULL
uid=unset gid=unset home=NULL
routed by virtual_aliases_nowild router
envelope to: foobar@???
transport: <none>
locking /var/spool/exim/db/retry.lockfile
locked /var/spool/exim/db/retry.lockfile
EXIM_DBOPEN: file </var/spool/exim/db/retry> dir </var/spool/exim/db>
flags=O_RDONLY
returned from EXIM_DBOPEN: 0x8075db390
opened hints database /var/spool/exim/db/retry: flags=O_RDONLY
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering: foobar@???
unique = foobar@???
dbfn_read: key=R:domain2.tld
dbfn_read: key=R:foobar@???
dbfn_read: key=R:foobar@???:<moepmoep@???>
no domain retry record
no address retry record
foobar@???: queued for routing
EXIM_DBCLOSE(0x8075db390)
closed hints database and lockfile
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing foobar@???
--------> dnslookup router <--------
local_part=almanhoca domain=domain2.tld
checking domains
search_open: lsearch "/usr/local/etc/exim/conf/virtual_domains"
cached open
search_find: file="/usr/local/etc/exim/conf/virtual_domains"
key="domain2.tld" partial=-1 affix=NULL starflags=0 opts="ret=key"
LRU list:
:/usr/local/etc/exim/conf/virtual_domains
:/usr/local/etc/exim/conf/local_domains
:/usr/local/etc/exim/conf/accnt_disc
5//usr/local/etc/exim/redirects
:/usr/local/etc/exim/conf/secondary_filter_domains
End
internal_search_find: file="/usr/local/etc/exim/conf/virtual_domains"
type=lsearch key="domain2.tld" opts="ret=key"
file lookup required for domain2.tld
in /usr/local/etc/exim/conf/virtual_domains
lookup failed
search_open: lsearch "/usr/local/etc/exim/conf/local_domains"
cached open
search_find: file="/usr/local/etc/exim/conf/local_domains"
key="domain2.tld" partial=-1 affix=NULL starflags=0 opts="ret=key"
LRU list:
:/usr/local/etc/exim/conf/local_domains
:/usr/local/etc/exim/conf/virtual_domains
:/usr/local/etc/exim/conf/accnt_disc
5//usr/local/etc/exim/redirects
:/usr/local/etc/exim/conf/secondary_filter_domains
End
internal_search_find: file="/usr/local/etc/exim/conf/local_domains"
type=lsearch key="domain2.tld" opts="ret=key"
file lookup required for domain2.tld
in /usr/local/etc/exim/conf/local_domains
lookup failed
domain2.tld in
"lsearch,ret=key;/usr/local/etc/exim/conf/virtual_domains:lsearch,ret=key;/usr/local/etc/exim/conf/local_domains"?
no (end of list)
domain2.tld in "! +local_domains"? yes (end of list)
calling dnslookup router

Best,

Niels