On Mon, 2006-10-09 at 17:35 -0500, Steven F Siirila wrote:
This matches up with what I'm seeing in our raw mailboxes.
This is how it looks after being handled by KMail:
From sfs@tc.umn.edu Mon Oct 9 17: 28:37 2006 Return-Path: <sfs@tc.umn.edu>
Note that this is wrong. The From_-line shouldn't be sent to clients at all. Looks like most don't care that much though.
I'd anyway really suggest fixing the double-From_-line problem since it most likely is going to cause problems at some point.
I verified that this is the case; it appears that Dovecot itself is perhaps taking only the most-recently-encountered "From_" header when returning the message to the MUA. .. We currently have some archival scripts that look for "From_" headers in order to determine when the next message starts. We may have to modify them. It seems that the delimiter between messages should be "\n\nFrom ", not just "\nFrom " .
Right. This is why it works in Dovecot.