sending mail with a script question

David Banning david at skytracker.ca
Sat Apr 5 22:04:27 PST 2003


> > system is "nobody".
> 
> 
> Try this:
> 
> 	cat textfile | \
> 	mutt -s "Subject here" \
> 	     -x -e 'set envelope_from=yes' -e 'my_hdr From: sender at address.net' \
> 	     -a attachment1 -a attachment2 \
> 	     john at doe.com
> 
> The change is the addition of the two -e options and -x.

Nope. I tried it, but it will not change the header. I previously tried
the -F option, which specifies a different .muttrc file, in which I 
customized the header. It -did- read the .muttrc file, as it did customize
some other options I tried. No-go there either, for what reason I don't know.
There is nothing logged to maillog. I will try some of the other options 
that have been suggested now.

Thanks for the suggestion -


More information about the freebsd-questions mailing list