Szerző: Max FrancoDátum: 2018-12-03 13:38 UTC Címzett: exim-usersTárgy: [exim] problem sending unknown user to another server
i followed Q0403 and i set 900_exim4-config_local_user (i'm using
ubuntu) this way:
local_user:
debug_print = "R: local_user for $local_part@$domain"
driver = accept
domains = +local_domains
check_local_user
local_parts = ! root
transport = LOCAL_DELIVERY
cannot_route_message = Unknown user
unknown:
driver = manualroute
transport = remote_smtp
route_list = * myserver.com
no_verify
-------------
if i send a mail from a client inside my lan, authorized to send without
user verification, or if i use user authentication from client on WAN,
the mail is sent.
If i send a mail from another domain, the mail is rejected with "550
Unrouteable address".
this is the log for a forwarded mail (i change domain name and mail
addresses):
2018-12-03 14:20:45 1gTo9V-0002lm-5U SA: Action: scanned but message
isn't spam: score=-2.9 required=5.0 (scanned in 0/0 secs | Message-Id:
25c9a670-09e8-4d5d-a0ba-26705f78f1c3@???). From <myuser@???>
(host=NULL [192.168.153.151]) for anotheruser@myservercom
2018-12-03 14:20:45 1gTo9V-0002lm-5U <= myuser@???
H=([192.168.153.151]) [192.168.153.151] P=esmtpsa
X=TLS1.0:RSA_AES_128_CBC_SHA1:16 A=plain_saslauthd_server:myuser S=3666
id=25c9a670-09e8-4d5d-a0ba-26705f78f1c3@???
2018-12-03 14:20:48 1gTo9V-0002lm-5U => R=unknown T=remote_smtp
H=server.myserver.com [xx.xx.xx.xx] X=TLS1.0:RSA_AES_256_CBC_SHA1:32
DN="CN=server.myserver.com"
2018-12-03 14:20:48 1gTo9V-0002lm-5U Completed
this is what i see if i try to send from a mail of another domain:
2018-12-03 14:31:22 H=mail-wr1-f49.google.com [209.85.221.49]
F=<myuser@???> rejected RCPT <anotheruser@myservercom>:
Unrouteable address
i suppose that i should put the 'unknown' section elsewhere in
conf.d/router, but i didn't find any help googling and reading exim docs.
any help is appreciated.
many thanks and forgive my really bad english ;)