Szerző: Jan Johansson Dátum: Címzett: Exim users mailing list Tárgy: Re: [exim] Stupid lsearch/lookup-question?
>In that case after lookup you will obtain local_parts = yes. >Try to change
....which my debug-run showed, but I did not see it .... *sigh* Thanks.
>one per line. Then you may use local_parts = /etc/exim4/domain-redirect
THAT syntax I was not aware of. Brilliant!
But, still no go...
I have
mail-tosser:~# cat /etc/exim4/se.nyklogistics.com-redirect
jan.johansson
I then tried to inject a mail to another.user@??? (Yes,
I have learned to not obfuscate stuff in please-help-me-posts :) ) But
that address also triggers the router. And I think it should not?
4503 --------> se_nyklogistics_com_redirect router <--------
4503 local_part=another.user domain=se.nyklogistics.com
4503 checking domains
4503 se.nyklogistics.com in "se.nyklogistics.com"? yes (matched
"se.nyklogistics.com")
4503 calling se_nyklogistics_com_redirect router
4503 se_nyklogistics_com_redirect router called for
another.user@???
4503 domain = se.nyklogistics.com
4503 route_item = * 192.168.0.201
4503 se.nyklogistics.com in "*"? yes (matched "*")
4503 original list of hosts = "192.168.0.201" options =
4503 expanded list of hosts = "192.168.0.201" options =
4503 set transport remote_smtp
4503 finding IP address for 192.168.0.201
4503 calling host_find_byname
4503 gethostbyname2(af=inet6) returned 1 (HOST_NOT_FOUND)
4503 fully qualified name = 192.168.0.201
4503 gethostbyname2 looked up these IP addresses:
4503 name=192.168.0.201 address=192.168.0.201
4503 queued for remote_smtp transport: local_part = another.user
4503 domain = se.nyklogistics.com
4503 errors_to=NULL
4503 domain_data=NULL localpart_data=NULL
4503 routed by se_nyklogistics_com_redirect router
4503 envelope to: another.user@???
4503 transport: remote_smtp
4503 host 192.168.0.201 [192.168.0.201]
4503 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>