How to change the sender of admin mails on a Linux server

Posted by Cédric Girard on Server Fault See other posts from Server Fault or by Cédric Girard
Published on 2010-06-16T09:50:12Z Indexed on 2010/06/16 9:53 UTC
Read the original article Hit count: 387

Filed under:
|

Hi,

I am sure it is a dumb question, but I want to change the sender of mails sended by my Linux server (centos 5). All mails sent to user "dev" are forwarded via a /home/dev/.forward file, with this sender : [email protected].

host.mydomain.fr is the hostname of this server, but it's an internal server and it does not even have a public IP. How to have a sender like [email protected]? I try to change the "official domain name" (line begining by "Dj" but it change nothing).

Regards
Cédric

© Server Fault or respective owner

Related posts about linux

Related posts about sendmail