LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-26-2022, 01:59 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,587

Rep: Reputation: 179Reputation: 179
mutt replacing sender name


I have the following muttrc:
Code:
set envelope_from_address="Brian Smith <briansmith71@gmail.com>"
set use_envelope_from=yes
I am sending an email to me as:
Code:
EMAIL="briansmith71@gmail.com" mutt -F ./muttrc -e 'set content_type="text/html"' -s "Odd emails" mfoley@novatec-inc.com < textfile2
but when I get this email at mfoley@novatec-inc.com it has:
Code:
From briansmith71@gmail.com  Tue Jul 26 02:56:20 2022
Date: Tue, 26 Jul 2022 02:56:19 -0400
From: Mark Foley <briansmith71@gmail.com>
To: mfoley@novatec-inc.com
Subject: Odd emails
Why is it putting my name in the From: address instead of "Brian Smith"?
 
Old 07-26-2022, 02:55 AM   #2
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,587

Original Poster
Rep: Reputation: 179Reputation: 179
I figured it out. I have to do: EMAIL="Brian Smith <briansmith71@gmail.com>". That is, include the person's name in the EMAIL env var.
 
  


Reply

Tags
mutt, muttrc



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
changing the sender address when using mutt mapg1964 Linux - Server 3 05-14-2013 03:24 PM
[SOLVED] Mutt does not change the "unread" flag on the IMAP server and other Mutt questions TobiSGD Linux - Software 1 10-09-2012 08:44 AM
mutt does not honour mutt.rc 'use_from' entry when accepting piped input davidchall Linux - Software 0 05-28-2012 02:13 AM
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 08:04 AM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration