Hi Friends!
I'm posting to this list because I'm facing an issue when integrating
mandrillapp on exim.
To the point: When I exclude some domain from sending via mandrill,
messages can't be sent.
My router:
# /etc/exim.conf.local
# cPanel server
=================================
@PREROUTERS@
send_via_mandrill:
driver = manualroute
domains = ! +local_domains
senders = ! *@domain.tld
ignore_target_hosts = 127.0.0.0/8
transport = mandrill_smtp
route_list = * smtp.mandrillapp.com
no_more
=================================
When I set "senders" to exclude "domain.tld" from sending via mandrill
(sending locally), I got this:
=================================
2015-04-27 19:43:13 1Ymrk9-000zDR-7K <= [email protected] H=localhost
(domain.tld) [::1]:50354 I=[::1]:25 P=esmtpa
A=dovecot_login:[email protected] S=508
[email protected] T="TEST SUBJECT" from
<[email protected]> for [email protected]
2015-04-27 19:43:13 1Ymrk9-000zDR-7K SMTP connection outbound 1430174593
1Ymrk9-000zDR-7K domain.tld [email protected]
2015-04-27 19:43:13 1Ymrk9-000zDR-7K ** [email protected]
F=<[email protected]> R=fail_remote_domains: The mail server could not
deliver mail to [email protected]. The account or domain may not
exist, they may be blacklisted, or missing the proper dns entries.
2015-04-27 19:43:13 1Ymrk9-000zDR-7K Completed
=================================
Obviously, I made all the tests and outsidedomain.tld can receive emails
normally.
If I comment "senders" line, domain.tld can send via mandrill without
issues.
If I get rid of all mandrill integration, domain.tld can send mail
wihout any issues.
Can you help me to discover why excluding domain.tld is triggering
"R=fail_remote_domains"?
What I'm doing wrong?
Thank you very much!
--
Alexandre Silva Hostert
--
## 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/