procmail
[Top] [All Lists]

Re: procmail inserting blank line in headers

1999-01-15 03:50:04


On Thu, 14 Jan 1999, Philip Guenther wrote:

*selah* <soma(_at_)dorsai(_dot_)org> writes:
Sometimes the messages get transferred ok without eliminating the subject
and author and other times not. I noticed that the messages that get thru
ok have the X-Status: line near or at the bottom of the headers. The ones
that have the subject and from lines missing have the X-Status: line near
the top and the blank line gets inserted under it.

Sorry, but that's a red herring (misleading clue).  The X-Status:
header is added by pine to the end of what it thinks the headers is.
If it thinks it ends 'too soon', then the X-Status: header will appear
'too soon' as well.

Have you tried examining new messages in the mailspool using some other
program like less or emacs, _before_ attempting to view them with
pine?  Are there any recipes in the /etc/procmailrc file (assuming it
exists)?  How about in yours?  When a message header is split, is the
first header after the split always a particular one, say, always a
X-Mailer: header?  How about the last header before the split (ignoring
the X-Status: header)?  You previously mentioned that your mailservers
had been upgraded.  Exactly _what_ was upgraded: the OS, the mail
software, the hardware, or all of the above?



It seems that the messages that don't get a line inserted have no
X-Status: line. The ones that do get a line inserted all have the X-Status
line. I looked at a message before it was processed by procmail and it had
no X-Status line and no line was inserted after processing by procmail.