[TriLUG] POSTFIX: How to fix source seen as localhost.localdomain
bp
bpevans at bellsouth.net
Thu Jan 30 13:25:43 EST 2003
Jason Tower wrote:
>a few observations that may or may not help:
>
>1. myhostname and mydomain, by definition, should not be the same. in your
>case i'd set the myhostname to be server.itchy.kicks-ass.org and the mydomain
>parameter will automatically be set as itchy.kicks-ass.org (hostname minus
>first component). and myorigin should then be $mydomain.
>
But I'm using a domain pointer. So itchy.kicks-ass.org is both my
hostname and domain name. right? It's been working that way for some time.
>
>
>2. is it possible that postnuke is overriding your postfix settings? i know
>that if i DON'T set the myorigin parameter in main.cf but DO set a domain
>name in my mail client, then outgoing mail works correctly. perhaps the
>reverse is happening here?
>
Possibly, I'll have to look at their PHP code to see how postnuke sends
an email. I just find it hard to believe that it would be at the
Postnuke level since mail cmds & postnuke emails appear the same with
regard to FROM.
>
>3. does mail sent from a client like kmail or mozilla mail append the correct
>domain name, even if you don't set it in the client?
>
Pine works fine, mail appears to come from root at itchy.kicks-ass.org as
it should - just having problems with the simple 'mail' program & postnuke.
Thanks again,
bp
More information about the TriLUG
mailing list