I would really like to know what the heck MAILHOST and friends are doing.
It was stated that MAILHOST does not set the envelope sender. Well, I did
the following experiment
$ export MAILHOST=oki.doki
$ export QMAILINJECT=f
$ echo '|echo $SENDER > hosttest.out' .qmail-hosttest
$ echo|mail mw-hosttest
$ cat hosttest.out
[EMAIL PROTECTED]
So it is supposed to effect the envelope sender. But then I start
Emacs from the same shell, send a message as
To: mw-hosttest
Subject: test
--text follows this line--
test
and I get
$ cat hosttest.out
[EMAIL PROTECTED]
Setting QMAILSHOST has the same effect---nothing.
The only way I can change the domain part of the envelope sender's
address for Emacs, if I put oki.doki in defaulthost.
What is going on?
Mate