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 want to be able to
detect the host name and set the From address accordingly.  I need a
sort of send-hook with pattern matching on an external (host name)
parameter. 

Specifically I want (using existing send-hook syntax):-

    On host zbmc.eu:- 'my_hdr From: Chris Green <[email protected]>'

    and on host cheddar.halon.org.uk:- 'my_hdr From: Chris Green 
<[email protected]>'


-- 
Chris Green

Reply via email to