Have you tried something like

<email_from>[email protected]</email_from>

or some other full domain name for the host that would resolve
correctly?

Most SMTP services are tightening their requirements on outgoing mail
in order to block spamming operations.
It's likely they won't allow an ill-formed hostname to be used, and it
wouldn't matter whether it's in your /etc/hosts file or not.

Reply via email to