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

Joseph Tate jtate at dragonstrider.com
Thu Jan 30 21:21:18 EST 2003


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




More information about the TriLUG mailing list