On 2008-11-10, Kyle Wheeler <[EMAIL PROTECTED]> wrote:
> On Monday, November 10 at 12:15 AM, quoth Gary Johnson:
>> $ echo test | mutt -s test garyjohn
>
> Hmmm, okay, so, you're not *specifying* a return address. I suppose the
> question is: what should mutt be doing in this case?
>
> Have you set the environment variable 'EMAIL'? I'm guessing not. I'm also
> guessing that you don't have a muttrc that sets $from to anything either. I
> think sendmail probably defaults to $USER @ $HOSTNAME, and I suppose mutt
> could do that too. But in any case you should be able to work around this
> by providing mutt with some more information.
Thanks for looking at this.
I don't explicitly specify a from address when I use that same mutt
binary interactively, as I'm doing now, and it sends mail fine
interactively.
I tried the following three methods of specifying my from address.
1.
[EMAIL PROTECTED] echo test | mutt -s test garyjohn
2.
export [EMAIL PROTECTED]
echo test | mutt -s test garyjohn
3.
echo test | mutt -s test -e "set [EMAIL PROTECTED]" garyjohn
All failed as before.
Regards,
Gary