On Tue, Dec 04, 2012 at 05:26:34PM -0500, Spangler, Tim wrote:
I have several automated processes that send e-mail from the command line, and
I'd like each one to use its own .muttrc. This would allow me to specify the
return address for each of these sets of e-mails based on the process sending
it.
Here is the sample command I'm using to test:
echo "Testing to see if I loaded client 2's muttrc" | mutt -F ~/Muttrc_client2 -n -s
"Testing mutt commands" [email protected]
Unfortunately the muttrc is not loaded, so all of the e-mail comes from
*user*@hostname.domain.com.
Can you post what is in your Muttrc_client* files? I just testing
with:
set [email protected]
in Muttrc-1 and it worked as expected (from: was set to
[email protected]) when I tried it.