Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-28-2012, 03:13 AM   #1
LQ Newbie
Registered: May 2012
Location: Durban, South Africa
Distribution: Ubuntu, SLES
Posts: 1

Rep: Reputation: Disabled
mutt does not honour mutt.rc 'use_from' entry when accepting piped input

When running run from a shell, and redirecting output to it:
Quote:> cat body.txt |mutt -F test.muttrc -s 'Mutt Pipe Test'
mutt -F test.muttrc -s 'Mutt Pipe Test' < body.txt

The email comes from, even though test.muttrc has 'set from=""' as a parameter.

If I process the mail manually, inserting the text file rather than piping it in:
Quote:> mutt -F test.muttrc -s 'Mutt Editor Test' -i body.txt
The mutt application runs, parsing the parameters correctly, and displaying the header correctly:
From: Gavin <>
Subject: Mutt Pipe Test
Fcc: ~/sent
Security: Clear
The mail is then received from as expected.

Basically, Mutt appears to be functioning differently using redirected input, than if used as a mail client.

This is not the case on other servers I have worked on, but I am unable to correct this on this particular environment.

Suse Linux Enterprise Server 11 SP1
mutt v1.5.17

Rather than post the contents of every config I have played with and failed to change, if you have any ideas, please let me know what sections of what configs you'd like to see?

I'd appreciate any efforts to help me hold onto the bits of hair I haven't yet pulled out working through this issue!

(As background, the need for this to work is we have database users emailing from a program, and use temporary mutt.rc files to send mail from these users. They do not have shell logins)


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
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 09:04 AM
Mutt chadefa1 Linux - Newbie 0 06-24-2008 07:05 PM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 10:09 AM
Mutt innuendo_98 Linux - Software 2 12-18-2005 08:16 AM
Mutt que? garyura Linux - General 1 05-31-2002 02:27 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:08 AM.

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