Dan Mahoney: > Hey all, > > We have a mailing list (of like ten, not-often-changing people) > that we'd like to not have to spin up a full mailing list program > like mailman or whatnot. > > We don't need subsciption management or archiving, but we could > really use the user rewriting akin to mailman's from_is_list > function, so that: > > a message > > FROM: "Joe" j...@example.com <mailto:j...@example.com> > TO: l...@domain.org <mailto:l...@domain.org> > > is rewritten to: > > FROM: Joe via domain list l...@domain.org <mailto:l...@domain.org> > TO: l...@domain.org <mailto:l...@domain.org> > REPLY-TO j...@example.com <mailto:j...@example.com> > > I feel like the right answer here is something like "procmail" ? > is there some kind of alias map that can be used to handle this? > Is there a standard postfix way to rewrite headers like this?
Postfix can override the envelope sender address with an owner-listname alias. However, Postfix currently requires external software to replace the original From: header with three headers (X-Original-From: with the original sender, From: with the list address, and Reply-To: with the list or the original sender). The header munging could be done with a content filter (such as a Milter, which could also do the alias expansion), but why cobble together a solution when a list manager already provides a proven implementation. Wietse