procmail
[Top] [All Lists]

Re: PARP ::was::::Re: procmail abandonded?

2012-05-27 19:32:21

From: LuKreme <kremels(_at_)kreme(_dot_)com>

... Procmail still has bugs dating into the previous century and no realis
tic hope that they will ever be fixed.  (The mysterious > From bug is part
icularly annoying to me).

What is that  'mysterious' bug?  If you're referring to procmail inserting
a '>' at the beginning of a line starting with 'From ', it is not a bug.
Quite the contrary, it is a _documented_ feature. 'Classical' mailreaders 
took a line starting with 'From ' as the _start_ of a message.  Therefore,
procmail intentionally 'quotes' such a line in a message body, so that
mail clients will not be mislead into thinking this is the start of a new
message.

*IF* that is your 'mysterious' bug, then, at approximately line 58 in source
file 'mailfold.c', there is a line;
    
    ffrom=fifrom(fromw,restbody,endp);                   /* scan body block */

replace it with:
   
    ffrom=(char *)0;

And such lines in a message body will not be quoted.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail