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 [email protected]
  errors_to=NULL transport=NULL
  uid=unset gid=unset home=NULL
routed by virtual_aliases_nowild router
  envelope to: [email protected]
  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: [email protected]
unique = [email protected]
 dbfn_read: key=R:domain2.tld
 dbfn_read: key=R:[email protected]
 dbfn_read: key=R:[email protected]:<[email protected]>
no   domain  retry record
no   address retry record
[email protected]: queued for routing
 EXIM_DBCLOSE(0x8075db390)
 closed hints database and lockfile

routing [email protected]
--------> 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



--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to