[TriLUG] Setting up roots email address?

bp bpevans at bellsouth.net
Mon Jan 13 15:51:44 EST 2003


Jeremy Portzer wrote:

><snip/>
>  
>
>BP:
>
>I'm not sure there's much that can be done when you use the basic "mail"
>program.  You can fix the local hostname to update the
>"localhost.localdomain" part (/etc/sysconfig/network and also your
>postfix configs) , but the message will always appear to be from root
>since "mail" is being run as root.  Alternatively you can write a script
>that calls "sendmail -t" directly (should work under postfix too, since
>postfix includes a sendmail wrapper) and then supplies the necessary
>"From" header. 
>
>--Jeremy
>
>On Mon, 2003-01-13 at 15:28, jason at cerient.net wrote:
>  
>
> <snip/>


Thanks Jermey,

I don't see where the localhost.localdomain fix would apply:

  [/etc/postfix]
  Itchy$ fgrep localhost.localdomain *

  [/etc/postfix]
  Itchy$ cat /etc/sysconfig/network
  NETWORKING=yes
  HOSTNAME=Itchy
  GATEWAY=192.168.0.1

Do I add some line to the network file?

Thanks again,
bp





More information about the TriLUG mailing list