Hoping someone can help me out here.
I have a server sending our reports with bash scripts. We changed mail server and now the emails are being rejected with the help command by the email server below (I have changed the domain and ip in the log)
Code:
NOQUEUE: reject: RCPT from server1.mydomain.co.uk[92.xxx.xxx.xx]: 450 4.7.1 <server1.localdomain>: Helo command rejected: Host not found; from=<root@server1.localdomain> to=<glenn@mydomain.co.uk> proto=ESMTP helo=<server1.localdomain>
if I run hostname it displays as server1
if I run hostname -f server1.mydomain.co.uk
In
/etc/postfix/main.cf
I have tried adding the line
Code:
mydomain = my domain.co.uk
Yes email still rejected with help saying it's server1.localdomain
And advise would be great thanks