LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to change Email from Name when used by 'mutt'? (http://www.linuxquestions.org/questions/linux-server-73/how-to-change-email-from-name-when-used-by-mutt-797552/)

astroboiii 03-24-2010 09:47 AM

How to change Email from Name when used by 'mutt'?
 
Hi everyone,

I am currently using a shell script to run a java app which performs some integration logic. The shell then continues to compile a file with all stats resulting from the java app. I then send this compiled stats file to several emails. The email is from 'root'. Is there anyway to change this without having to create a new user and running this app as them instead.

let me know what information I can provide to help.

Thanks,

astro

bathory 03-24-2010 10:10 AM

Hi,

You can create a .muttrc in root's homedir, containing:
Code:

set from="someuser@domain.com"
Regards

astroboiii 03-24-2010 10:24 AM

First off, bathory thank you for responding to my post.

your suggestion seemed to set the from email to whatever I set in the .muttrc file but the name which shows up in the email clients is still ROOT. I really want that to change and I'm not sure where I would do that. I'll take a look at what possible settings I can manipulate within the .muttrc config file.

penguiniator 03-24-2010 12:23 PM

set realname = 'Your Name'

astroboiii 03-24-2010 12:32 PM

Thank's Penguiniator that did the trick!

penguiniator 03-24-2010 12:38 PM

No problem

mapg1964 05-09-2013 11:01 AM

how to chage the from address when using mutt?
 
the previous oistings resolved tchanging the name but what I need is to change the email from address when using mutt, I know I can use exportEMAL= user@domain and then i can use mutt but the from address comes mixed my regular network addres and the address I sed in the export,
any way to resolve that?


All times are GMT -5. The time now is 11:34 PM.