How to change From: according to hostname?

2012-11-09 Thread Chris Green
I want to use identical muttrc files on two different hosts (I'll be using rsync to keep them in step), however I want my From address to be set differently for the two hosts. How can I switch the From address according to the hostname? It won't *use* the host name in the From address, I just

Re: How to change From: according to hostname?

2012-11-09 Thread David Champion
* On 09 Nov 2012, Chris Green wrote: How can I switch the From address according to the hostname? It won't Solution 1. # muttrc source muttrc.`hostname` # muttrc.zbmc.eu my_hdr From: Chris Green ch...@isbd.co.uk # muttrc.cheddar.halon.org.uk my_hdr From: Chris Green ch...@halon.org.uk

Re: How to change From: according to hostname?

2012-11-09 Thread Chris Green
On Fri, Nov 09, 2012 at 10:57:35AM -0600, David Champion wrote: * On 09 Nov 2012, Chris Green wrote: How can I switch the From address according to the hostname? It won't Solution 1. # muttrc source muttrc.`hostname` # muttrc.zbmc.eu my_hdr From: Chris Green ch...@isbd.co.uk

Re: How to change From: according to hostname?

2012-11-09 Thread Todd Hesla
to change From: according to hostname? I want to use identical muttrc files on two different hosts (I'll be using rsync to keep them in step), however I want my From address to be set differently for the two hosts. How can I switch the From address according to the hostname? It won't *use

Re: How to change From: according to hostname?

2012-11-09 Thread Jeremy Kitchen
On Fri, Nov 09, 2012 at 02:02:38PM -0600, Todd Hesla wrote: set my_this_pw=`gpg2 -d --batch ~/.mutt/.this_pw.gpg` This. I like this. This is being implemented right now :) Thanks! -Jeremy pgppSs66epzmA.pgp Description: PGP signature

Re: How to change From: according to hostname?

2012-11-09 Thread Todd Hesla
13:04:00 -0800 To: mutt-users@mutt.org From: Jeremy Kitchen kitc...@kitchen.io Subject: Re: How to change From: according to hostname? On Fri, Nov 09, 2012 at 02:02:38PM -0600, Todd Hesla wrote: set my_this_pw=`gpg2 -d --batch ~/.mutt/.this_pw.gpg` This. I like this. This is being