I have CentOS running mutt. When mails are sent from mutt (via a shell script), it takes the current user name as sender address causing it to go into the spam.

I receive mail as

From: tech

What I need is:

From:    [email protected]

All I need is a single place change that reflects everwhere. i.e. if I send from the root user, the from address should be [email protected].

1 Answer 1


Do you have a system-wide mutt RC file? Perhaps it is here: /etc/mutt/Muttrc? Within the file, set the hostname with set hostname=myserver.com.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .