LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-24-2010, 09:47 AM   #1
astroboiii
Member
 
Registered: Feb 2004
Posts: 83

Rep: Reputation: 15
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
 
Old 03-24-2010, 10:10 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,937

Rep: Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330Reputation: 1330
Hi,

You can create a .muttrc in root's homedir, containing:
Code:
set from="someuser@domain.com"
Regards
 
1 members found this post helpful.
Old 03-24-2010, 10:24 AM   #3
astroboiii
Member
 
Registered: Feb 2004
Posts: 83

Original Poster
Rep: Reputation: 15
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.
 
Old 03-24-2010, 12:23 PM   #4
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
set realname = 'Your Name'
 
Old 03-24-2010, 12:32 PM   #5
astroboiii
Member
 
Registered: Feb 2004
Posts: 83

Original Poster
Rep: Reputation: 15
Thank's Penguiniator that did the trick!
 
Old 03-24-2010, 12:38 PM   #6
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
No problem
 
Old 05-09-2013, 11:01 AM   #7
mapg1964
LQ Newbie
 
Registered: May 2013
Location: Florida
Distribution: Ubuntu
Posts: 3

Rep: Reputation: Disabled
Exclamation 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?
 
  


Reply

Tags
email, mail, mutt, sendmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How is mutt detecting my email settings? xsive Linux - Software 3 07-20-2009 07:53 AM
Pipe'ing the ouput of 'cat' into 'mutt' (email) losses newlines when email received helptonewbie Linux - Newbie 2 08-28-2008 03:16 AM
Using Mutt To Read Email carlosinfl Linux - Software 1 04-01-2008 01:47 PM
cmdline: Sending email without mutt and with msmtp something? frenchn00b Linux - Newbie 3 03-02-2008 01:11 AM
Using mutt for two different email accounts spydrmn Linux - General 2 03-08-2005 07:16 AM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration