EMAIL and / or use_from in batch process
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.
% mutt -v
Mutt 1.5.16 (2007-09-19)
Copyright (C) 1996-2007 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: OpenBSD 4.0 (sparc64)
ncurses: ncurses 5.2.20010224 (compiled with 5.2)
libiconv: 1.9
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE
+USE_FCNTL -USE_FLOCK -USE_INODESORT
-USE_POP +USE_IMAP -USE_SMTP -USE_GSS -USE_SSL_OPENSSL
-USE_SSL_GNUTLS -USE_SASL +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID -USE_HCACHE
ISPELL="/usr/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.
patch-1.5.13.cd.trash_folder.3.4