Wietse Venema via Postfix-users wrote in
 <4xxvvh0xgwzj...@spike.porcupine.org>:
 |Vincent Lefevre via Postfix-users:
 |[ Charset ISO-8859-1 converted... ]
 |> As DMARC protection, some mailing-lists (like postfix-users)
 |> rewrite the "From:" header, with at least 2 drawbacks:
 |>   * This breaks e-mail searching by the "From:" address.
 |>   * At my work, only the address is changed (without introducing
 |>     "via <mailing-list>"), so that this is very confusing as mail
 |>     appears like
 |>       From: Firstname Lastname <mailing-list-address>
 |>     and we start seeing users sending private mail to mailing-lists
 |>     because they did not notice that the address changed.
 |
 |The "via listname" part is there for a good reason - it is to prevent
 |human mistakes like the one you describe.
 |
 |If something removes "via listname" from postfix-users messages,
 |that would be a terrible mistake, and they should stop doing that.
 |
 |> I was wondering whether I could ask postfix to revert the "From:"
 |> header back to the original value, just before the local delivery,
 |> at least for lists that keep the original address in some other
 |> header ("X-MailFrom:" for postfix-users, "X-Original-From:" for
 |> some mailing-lists...). Any idea?
 |
 |No, but you're welcome to contribute a content filter (Milter) that
 |does this. A Milter can be implemented in many programming languages,
 |and would work like this:
 |
 |- Look at each SMFIC_RCPT event and see if the recipient domain is
 |local (a configurable list of domains).
 |
 |- Look at each SMFIC_HEADER event, and see if it is an "X-MailFrom:"
 |or "X-Original-From:" header (a configurable list of labels).

That is what Author: is meant for btw.

 |- When receiving an SMFIC_EOH (end of headers) event, if there was
 |no "From: XXX via YYY" header, replace From: with content from
 |"X-MailFrom:" or "X-Original-From:".

In general it is surely only a user interface question if Author:
would finally be adopted.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to