[exim] MandrillApp integration

Góra strony
Delete this message
Reply to this message
Autor: Alexandre Silva Hostert
Data:  
Dla: Exim-users
Temat: [exim] MandrillApp integration
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@??? H=localhost
(domain.tld) [::1]:50354 I=[::1]:25 P=esmtpa
A=dovecot_login:email@??? S=508
id=7e29820a926a50a01ed4cc87299c3288@??? T="TEST SUBJECT" from
<email@???> for email@???
2015-04-27 19:43:13 1Ymrk9-000zDR-7K SMTP connection outbound 1430174593
1Ymrk9-000zDR-7K domain.tld email@???
2015-04-27 19:43:13 1Ymrk9-000zDR-7K ** email@???
F=<email@???> R=fail_remote_domains: The mail server could not
deliver mail to email@???. 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