On Sun, Feb 06, 2000 at 03:09:43PM +0000, Edmund GRIMLEY EVANS wrote:
> Wouter Hanegraaff <[EMAIL PROTECTED]>:
>
> > and a bit below there is a header like this Sender: [EMAIL PROTECTED]
> >
> > However, I have multiple accounts because I don't want certain people
> > and mailing lists to spam me on my real mail address. And if my real
> > address is still somewhere in the headers, I might as well have just one
> > account.
>
> The From_ line and the Sender: line are presumably added by your MTA
> (sendmail/exim/...).
I can't speak about Exim or Sendmail since I haven't tested it (would be
a piece of cake to do so though), but the "Sender" line in qmail's case
is generated solely by the MUA, the MTA does not put one in.
Pine, for example, puts an "X-Sender" or "Sender" (configurable) into
the headers if the "From" line does not match the user who executed Pine
(which happens when you use "Roles," the built-in multiple account
support.
This, as it happens, is one of the major reasons I switched to Mutt as
my MUA. Pine really pisses me off (pardon the expression) when it
throws those headers in there when my whole point of changing my From
line to begin with is to keep my "good" addresses out of my mail!
While qmail does not put in [X-]Sender lines, it does add a
"Return-Path" header which indicates the userid who executed the
"sendmail" wrapper which Mutt uses. But in this case, you can override
this with a "my_hdr Return-Path: " command.
Anyway to my point. :) Test with your respective MTAs, if you are sure
it is the source of [X-]Sender lines you may be able to override
them by supplying your own from Mutt. Worth a shot anyway.