git/list[1] front-page[2] threads[3] people[4] search[5] about
 

mutt aliases file not working

From
DHDarren Hart <dvhart@linux.intel.com>
Date
Oct 27, 2010, 21:38 UTC
Message-ID
<4CC89BC4.8080009@linux.intel.com>

For whatever reason, which I'm sure is user error, I haven't been able to get mutt aliases to work, while mailrc works fine:

$ mkdir aliases.git
$ cd !$
$ git init
Initialized empty Git repository in /home/dvhart/aliases.git/.git/
$ echo "joe Joe Blow joe@foobar.com" > muttaliases
$ git add muttaliases
$ git commit -m "aliases file"
[master (root-commit) b71ae4a] aliases file
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 muttaliases
$ git config sendemail.aliasesfile `pwd`/muttaliases
$ git config sendemail.aliasfiletype mutt
$ cat .git/config
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[sendemail]
	aliasesfile = /home/dvhart/aliases.git/muttaliases
	aliasfiletype = mutt
$ git send-email --to joe -1 
/tmp/l0xCEC7o3d/0001-aliases-file.patch
Who should the emails appear to be from? [Darren Hart <darren@dvhart.com>] 
Emails will be sent from: Darren Hart <darren@dvhart.com>
Message-ID to be used as In-Reply-To for the first email? 
(mbox) Adding cc: Darren Hart <darren@dvhart.com> from line 'From: Darren Hart <darren@dvhart.com>'
From: Darren Hart <darren@dvhart.com>
To: joe
    ^ when using a mailrc fail this expands to joe@foobar.com
Cc: Darren Hart <darren@dvhart.com>
Subject: [PATCH] aliases file
Date: Wed, 27 Oct 2010 14:29:10 -0700
Message-Id: <1288214950-13695-1-git-send-email-darren@dvhart.com>
X-Mailer: git-send-email 1.7.1
Send this email? ([y]es|[n]o|[q]uit|[a]ll): ^C

$ stty: standard input: Input/output error ^C

Am I doing something obviously wrong?
-- 
Darren Hart
Embedded Linux Kernel
Next: Michael J Gruber
Message 1 of 3 in “mutt aliases file not working”
  1. Darren HartOct 27, 2010
  2. Michael J GruberOct 29, 2010
  3. Darren HartOct 29, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.