> On Mar 22, 2018, at 7:35 PM, mj <[email protected]> wrote:
>
> This postfix 2.9.6 from wheezy. I have added to main.cf:
>
>> smtpd_recipient_restrictions = check_recipient_access
>> hash:/etc/postfix/blacklisted_domains, permit_mynetworks,
>> reject_unauth_destination, permit
>
> and /etc/postfix/blacklisted_domains contains just one line:
>
>> mail.ru REJECT
>
> I postmapped the file and restarted postfix.
>
> Alas... postfix is still happily forwarding emails to [email protected] to my
> smarthost.
Almost certainly bounces, which did not come in via SMTP, they are originated
locally, when inbound mail from mail.ru is undeliverable, and sent outbound
via the smarthost.
> How can I make sure that this particular postfix instance will DISALLOW
> sending ANY email to @mail.ru?
Seems a rather harsh policy, but if you must:
transport:
mail.ru error:5.1.2 Destination domain blacklisted
--
Viktor.