Bowie Bailey writes:

A little more digging found preline in my default delivery
instructions.  I am using this to get the Delivered-To header.

DEFAULTDELIVERY="| /usr/lib/courier/bin/preline
/usr/lib/courier/bin/maildrop -w 90"

This seems to be what is adding the From_ header.  The header does not
appear if I remove the preline call.

Yes, I do realize that preline is expected to add a From_ header...

However, this is not a recent change -- it has been in place for years.
But the From_ headers only started appearing after I upgraded to
0.73.1.  Older messages only show the Delivered-To and Return-Path
headers.  Was there a change in preline?  Or perhaps maildrop was
previously removing the unnecessary From_ header and is no longer doing so?

Right, that's it.

maildrop never needed From_ headers, to deliver mail effectively. Its not clear where the preline came from, there was never any need for it, ant that really looks like some leftovers from procmail. Procmail needed preline, but maildrop never did.

Until about a year ago, maildrop completely ignored the From headers, so this did nothing. Simply remove preline from the delivery chain. It is not needed.

---------- Forwarded message ----------
From: Sam Varshavchik <mr...@courier-mta.com>
To: courier-users@lists.sourceforge.net, courier-annou...@lists.sourceforge.net, 
courier-i...@lists.sourceforge.net, SqWebMail mailing list 
<courier-sqwebm...@lists.sourceforge.net>, Maildrop mailing list 
<courier-maild...@lists.sourceforge.net>
Subject: Development builds of courier, sqwebmail, and maildrop packages
Date: Wed, 28 Aug 2013 22:06:52 -0400
Mime-Version: 1.0
X-Mime-Autoconverted: from 8bit to quoted-printable by mimegpg
Content-Type: multipart/signed; 
boundary="=_monster.email-scan.com-28348-1377742012-0001"; micalg=pgp-sha1; 
protocol="application/pgp-signature"

Download: http://www.courier-mta.org/download.php

Changes:

• Major update to maildrop, adding the ability to search MIME-encoded
content. Search patterns must now be specified in the UTF-8 codeset
exclusively.

• To make room for the new MIME-aware maildrop, certain, and likely obsolete
mail server interfaces (mail handed to maildrop with an mbox-style From_
line, or with leading spurious blank lines) are no longer directly
supported; must use maildrop together with reformail. See the maildrop(1)
man page for more information.

• Update sqwebmail to write maildrop mail filters in UTF-8. It's unlikely
that any existing sqwebmail-written mail filters will have any non-Latin
search strings; but if they do, the rules will have to be rewritten.


Attachment: pgp_BVqQM1ex6.pgp
Description: PGP signature

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to