Mail to local users bouncing
I'm trying to configure Postfix on Centos, but when I send mail to local users, I'm seeing entries like this in /var/log/maillog:
Nov 29 06:54:18 li20-189 postfix/smtp: 1E0C2387AB: to=<
(the names have been changed to protect the innocent).
On my other linode, it's working correctly, and the equivalent log entry is:
Nov 29 05:06:07 li16-10 postfix/local: EB4B486108: to=<
So I'm trying to figure out why one is using li20-189.localdomain while the other is using li16-10.members.linode.com, and where to change it.
Any help appreciated.
It doesn't seem to be set on the one that's working, but I will try it later.
The problem seems to have been the myhostname setting, alright.
My only problem now is that I can't figure out why the other one works!
Thanks for the suggestion,