[TriLUG] POSTFIX: How to fix source seen as localhost.localdomain
Tarus Balog
tarus at sortova.com
Thu Jan 30 12:07:15 EST 2003
bp said:
> In main.cf, I've set the following options:
> myhostname = itchy.kicks-ass.org
> mydomain = itchy.kicks-ass.org
> myorigin = itchy.kicks-ass.org
> In /etc/hosts
> localhost.localdomain is a middle alias, the first is my full domain
> name.
> /etc/sysconfig/network has no refs to localhost
>
> Mail sends just fine, and I recieve mail from the outside just fine.
> But some savvy mail servers like cox.net & unc.edu deny messages because
> they appear from root at localhost.localdomain and of course
> localhost.localdomain doesn't exist as their error message claims. Any
> mail cmd messages or mail genereated from Postnuke behaves like this.
> Where do I fix it so that messages are written from
> root at itchy.kicks-ass.org?
Try setting
inet_interfaces = itchy.kicks-ass.org
in main.cf, and then stop and restart postfix.
You may also want to include a specific entry in /etc/hosts
68.18.0.133 itchy.kicks-ass.org
-T
--
Tarus Balog
Consultant
Sortova Consulting Group, http://www.sortova.com
+1-919-696-7625
tarus at sortova.com
More information about the TriLUG
mailing list