As old unix "MUA"s have the habit of providing a from line
of "[EMAIL PROTECTED]" and, even with new MUAs, user can't be
bothered to configure them correctly, we set up the following
environment variables in /etc/profile and such:

QMAILHOST
QMAILUSER
QMAILINJECT=f

This usually works nicely for the vintage MUAs, and doesn't
do anything bad with sensible MUAs like mutt or Gnus.

But: If you are resending a message to someone else with a sensible
MUA, it will add Resent-From: etc. headers.

Then qmail-inject goes ahead and removes the original From: header
(beacuse of QMAILINJECT=f) and looks if it must add a new Resent-From:
header (it doesn't need to) and the mail is sent without any From: header
at all.

So:

1. If you are using a sensible client, be smart enough to unset
   QMAILINJECT.
2. qmail-inject could be enhanced by making the process of removing
   and adding headers more symmetrical.
3. It could be termed a bug because qmail-inject shouldn't produce
   a non-RFC 2?822 message, with no regard to the setting of
   QMAILINJECT.

Jost
-- 
| [EMAIL PROTECTED]      Please help stamp out spam! |
| Postmaster, JAPH, resident answer machine          am RZ der RUB |
| Pluralitas non est ponenda sine necessitate                      |
|                                 William of Ockham (1285-1347/49) |

Reply via email to