[TriLUG] POSTFIX: How to fix source seen as localhost.localdomain

B. Evans bpevans at bellsouth.net
Thu Jan 30 22:23:38 EST 2003


Joseph Tate wrote:

> bp wrote:
>
>> 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
>
>
> PHP uses a method similar to mail to send e-mail.  Postnuke must not 
> set the From: <> header attribute correctly.  It may be configurable.  
> Check your config file.  As for mail, it will send mail as 
> user@`hostname`. What is yours set to?  Run hostname -a.  If it comes 
> back localhost.localdomain, set it using hostname -s 'desired.hostname'
>
> Joseph

Itchy$ hostname -a
localhost.localdomain localhost itchy.kicks-ass.org

Tried hostname -s but the results are the same.  Any other ways to 
eliminate the localhost references?

-bp




More information about the TriLUG mailing list