Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to change outbound email id for root, i.e instead of root@localhost.localdomain to

share|improve this question
You will need to provide details of how you are generating email and what MTA you are using. – Dan Carley Oct 6 '09 at 13:36
i am using postfix – Rungano Oct 6 '09 at 13:44

Modify the aliases file to your taste. It will be in /etc or /etc/mail or /etc/postfix or any other directory depending on your MTA. You may also need to rebuild alias db or reload your MTA (see the MTA documentation).

share|improve this answer



myhostname =


share|improve this answer

Hi all I have found the solution its smtp_generic_maps (default: empty)

Optional lookup tables that perform address rewriting in the SMTP client, typically to transform a locally valid address into a globally valid address when sending mail across the Internet. This is needed when the local machine does not have its own Internet domain name, but uses something like localdomain.local instead.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.