Re: Procmail bug or me bug?

2007-07-26 Thread Jason Tishler
On Wed, Jul 25, 2007 at 05:42:52PM +0100, R.Renkema wrote:
> [snip]
> :0fhw
> *
> |spamtest.php
> 
> [snip]
> 
> Clue cookie? Any one?

Remove the "h" in the above recipe.  AFAICT, specifying "h" causes
procmail to only use the header and not the body.  The man page has the
following relevant albeit confusing information:

If you specify only a `h' or a `b' flag on a delivering recipe, and
the recipe matches, then, unless the `c' flag is present as well,
the body respectively the header of the mail will be silently lost.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Procmail bug or me bug?

2007-07-25 Thread R.Renkema
Hi list,

Following problem.

I filter a fetchmail message through procmail.

Procmail saves a backup: http://assist.dyndns.biz/cygwin/orgmessage.asc and then

goes

:0fhw
*
|spamtest.php

:0h:
* ^MYSPAM.*
myspam

myspam looks like:

http://assist.dyndns.biz/cygwin/mboxmsg.asc

As you can see large part of the message gone. OK in this case one might well
trow in the bug or feature discussion. Nevertheless it shouldn't do that should
it. 
I checked the output of spamtest and that's fine. And as you can see part of
the body is used so it definitly seems to break when procmail adds the header
again. 

Clue cookie? Any one?
-- 
Anti-wrinkle cream there may be, but anti-fat-bastard cream there is not.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/