routingalias.tt
changeset 6 53887d94881e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/routingalias.tt	Wed May 07 11:54:17 2014 +0200
@@ -0,0 +1,30 @@
+$ exim -d-all+route -bt hans@localhost
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+routing hans@localhost
+--------> remote router <--------
+local_part=hans domain=localhost
+checking domains
+remote router skipped: domains mismatch
+--------> alias router <--------
+local_part=hans domain=localhost
+checking require_files
+file check: /etc/aliases
+stat() yielded 0
+calling alias router
+rda_interpret (string): $\{lookup\{$local_part\}lsearch\{/etc/aliases\}\}
+expanded: hans@example.com
+extract item: hans@example.com
+alias router generated hans@example.com
+routed by alias router
+  envelope to: hans@localhost
+  transport: <none>
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
+routing hans@example.com
+--------> remote router <--------
+…
+>>>>>>>>>>>>>>>> Exim pid=9381 terminating with rc=0 >>>>>>>>>>>>>>>>
+hans@example.com
+    <-- hans@localhost
+  router = remote, transport = remote_smtp
+  host example.com [2606:2800:220:6d:26bf:1447:1097:aa7] 
+  host example.com [93.184.216.119]