Is there a way to set the HELO when using mailutils to send email?
There is a similar question here but running
mail --config-help does not help.
The problem is I send email directly from the webpage thus use mail, however the emails are rejected by the recipient postfix/smtpd with the following error:
NOQUEUE: reject: RCPT from unknown[xxx.xxx.xxx.xxx]: 450 4.7.1 : Helo command rejected: Host not found;
I the sending IP has both A and MX records plus reverse ip resolves, it is just the HELO that is causing email to be rejected. PS: As far as I can tell, I do not have sendmail installed on the sender server, just mailutils.