<<< Date Index >>>     <<< Thread Index >>>

Re: EMAIL and / or use_from in batch process



William Yardley wrote:
> I'm using a command like this to send a bunch of emails out:
> % egrep -v "^(#|$)" test_email.txt  | sed 's/^[\@\!\~][[:digit:]]*//g' |
> while read line ; do mutt -F bogus_muttrc -s 'The Subject' ${line} <
> message_text.txt ; done
> 
> Currently, bogus_muttrc has this in it:
> % cat bogus_muttrc 
> set envelope_from
> set use_from
> set from="foo@xxxxxxxxxxx"
> set realname="The Name"
> 
> earlier, it just had "set envelope_from", and I set $EMAIL to the
> address I wanted. This had worked before (with earlier versions of
> 1.5.x), and I'm sure that $EMAIL is set, but now, I'm not getting the
> sender or envelope-sender addresses in the email that's being sent out.

This was the same issue that a patch sent to mutt-dev a few days ago
was aimed at: http://marc.info/?l=mutt-dev&m=119564833700787&w=2

It might be worth keeping an eye on that thread.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In their enthusiasm for frequent travel through the Doors of
Perception, far too many get hung up on the doorknob.
    -- M. Domalgowski

Attachment: pgpC4AQODKmTa.pgp
Description: PGP signature