On 2015-04-27, Alexandre Silva Hostert <alexandre@???> wrote:
>
> 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.
"R=fail_remote_domains"
looks like the problem is in your "fail_remote_domains" router.
or possibly in one of the routers before it that should be handling
this message. as far as I can tell the mandrill router is doing what
you asked.