procmail
[Top] [All Lists]

Re: Strange >From (was: Re: what means the parameters Y, d and T)

2003-01-21 10:35:30
At 17:05 2003-01-21 +0100, Ruud H.G. van Tol wrote:

That was what I was thinking too. I still wonder where it occurs

At the MTA, usually.

Sendmail has several configuration options relating to the "From " separator - including an option to change the formattin:

        NOTUNIX (Exclude From line support)
        UnixFromLine
        SaveFromLine

Flags for delivery agents:

        F=U (Use UUCP-Style From line)
        F=n (Don't use UNIX-style From in header)
        F=E (Change extra From into >From)      [30.8.19 in sendmail book]

So, most likely, your LDA is set up with the E flag, or the *LISTSERVE* is similarly configured (probably a "prog" delivery though). Once it's been escaped, from that point on, it'll be an escaped header. Send yourself a test message.

The following line _should_not_ be escaped, as the line preceeding it is not blank:
From the depths of hell, there came a spammer.

This line would be (assuming the list server is escaping them):

From the manuals, you can learn a lot of useful stuff.

and why also with a line that does not really look like an mbox
separator at all.

It _starts_ with "From ". Utilities scanning for mbox separators are not necessarily scanning for the full context of the line (which, JFTR, isn't chiseled in stone anywhere) - merely a "From " following a blank line (or BOF). The separator is defined as 'a blank line followed by a line that begins with the five characters "From ".'

We now return to our regularly scheduled programming, discussing stuff in the manpages, and the documentation of _other_ programs.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail