Hello,

> action "outbound" relay
>
> action "tomailer" relay host 172.16.2.5
>
match from local for local action "local_mail"
match from local for any action "outbound"

match from any for domain "mydomain.here" action "tomailer"
match from src <mailer> for any action "outbound"

The line "match from local for any action "outbound"" comes before "match from any for domain "mydomain.here" action "tomailer"".

Therefore, locally send mails to "mydomain.here" go straight to relay, instead of 172.16.2.5. Relay uses the public MX record and lands on itself.


looks like this is a message from mailer-daemon with subject: Message
accepted for delivery

"Message accepted" is not a mail subject. It just says that the receiving server accepted the mail.

Reply via email to