[Mailman-Users] Displaying message sender
msapiro at value.net
Wed Feb 22 04:12:56 CET 2006
Matthew Thompson wrote:
>I was looking for a way that we could automatically add the sender's
>name or email address to the message to make this more fool-proof. I
>would prefer to add it to the subject line to make sorting in the mail
>client meaningful but adding it to the message body would be useful too.
You will have to modify code to make this happen.
I have several ideas about how this could be done, but perhaps the most
interesting to me is not to make the list anonymous, but to mung the
address in From:. Exactly how to design this depends on what
naughty.com looks at/for.
Does it care about Reply-To:? It would be cool if it didn't. You could
mung the address in From: replacing '@' with ' at ' and '.' with
' dot ' or whatever works. Now, if there's already a Reply-To:, you're
done because reply would go there anyway. If there isn't a Reply-To:,
you add one with the original From: address.
If it cares about Reply-To:, you probably have to strip it (a current
list option), and people will have to edit the addresses in their
replies so this is not nearly as viable.
Also, even in the first case, you'll probably run into MUA's that want
to reply to the To: and the Cc: and the From: and the Reply-To: on a
'reply all', so the From: will have to be edited out in those cases.
The logical place to do all this is Mailman/Handlers/CookHeaders.py.
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users