[Mailman-Users] Gmail RFC 2822

Mark Sapiro mark at msapiro.net
Wed May 15 20:21:35 CEST 2013


On 05/15/2013 08:45 AM, Dave Jones wrote:
> 
> My question is can Mailman strip out the duplicate From: headers leaving
> the first one?  I have searched for a Postfix solution with no luck.  I
> guess I could work up a procmail solution for all inbound mail but really
> didn't want to add that layer of complexity if it could be handled by
> Postfix or Mailman.


Mailman can do this, but it requires a custom handler
<http://wiki.list.org/x/l4A9>.

Alternatively, you could use header_filter_rules with a regexp like
"^From:(.|\n)*^From:" to detect multiple From: headers and reject the post.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list