Relaying internal root@<machinename> emails
Posted: Tue Mar 07, 2017 9:07 am
Hi all,
We have a simple configuration where our Zimbra MTA has an external relayhost configured, with option zimbraMtaDnsLookupsEnabled FALSE, so everything it receives is sent to its relayhost. This is ok and works perfectly. However, there are some internal machines sending mails by crontabs and daemons (the typical 'root@machine.domain.com'), and we want our MTA to stop relaying this emails and, either catch them or discard them.
If we activate zimbraMtaDnsLookupsEnabled to TRUE, we will prevent this, but also Zimbra MTA will stop relaying emails to its relay server and will send them directly to the corresponding MX record found of each domain, so this is not valid.
Also, it is not feasible to create a domain for each machine name...
All our machines are configured to use our Zimbra MTA server as relayhost.
Any idea of how can we prevent this internal emails being relayed to external relay server configured in Zimbra?
Thanks in advance!
We have a simple configuration where our Zimbra MTA has an external relayhost configured, with option zimbraMtaDnsLookupsEnabled FALSE, so everything it receives is sent to its relayhost. This is ok and works perfectly. However, there are some internal machines sending mails by crontabs and daemons (the typical 'root@machine.domain.com'), and we want our MTA to stop relaying this emails and, either catch them or discard them.
If we activate zimbraMtaDnsLookupsEnabled to TRUE, we will prevent this, but also Zimbra MTA will stop relaying emails to its relay server and will send them directly to the corresponding MX record found of each domain, so this is not valid.
Also, it is not feasible to create a domain for each machine name...
All our machines are configured to use our Zimbra MTA server as relayhost.
Any idea of how can we prevent this internal emails being relayed to external relay server configured in Zimbra?
Thanks in advance!