Hmm, just to clarify – when are you seeing that issue?
Anytime something is sending an email from your server, it should set a “From” address. So the first thing you may want to do is verify that anything sending an email sets a “From” address when doing so.
However, as to why you see that behavior when a client isn’t setting a From address – you may want to double-check your server’s hostname, which you can do by running the “hostname” command.
Thanks Eric, this is the reply i got from attempting to send an email to someone.
host mx3.onetel.net.uk[62.24.202.3] said: 553 #5.1.8
Domain of sender address steve@MyDonainName.localdomain does not exist (in reply
to MAIL FROM command)
MyDomainName was the original domain name and was just changed for privacy.
Its only seems to send from the localdomain when sending a mail from the system. If i send one from my mail client it sends just fine with the correct address.
Thats Correct, do you think this is the issue? should i change the local machine to server.mydomain.co.uk?
is it adding the localdomain due to it being the same as the local tld?