Toen wij Ruud H.V. van Tol kietelden, kwam er dit uit:
Mike Peeler wrote:
My procmailrc running "demime" on all messages that apparently
need it may have something to do with it. It saves such messages
in a zipfile beforehand. I seldom make the effort to look at the
original. I'd never see anything from Michelle if you'd please stop
quoting her.
RC = "$_"
PID = "$$"
OR = '9876543210^0'
:0 fhw
* ^Content-type:.*multipart/mixed;.*boundary=
*$ $OR ^(X-(LSV-)?)?List
*$ $OR ^Precedence:.*(bulk|list)
*$ $OR ^X-BeenThere:
*$ $OR ^Sender:.*(owner-|-bounces)
*$ $OR ^Delivered-To:.*( )list( )
| formail -i 'Content-Type: text/plain; charset=us-ascii' \
-I 'Content-Transfer-Encoding: 7bit' \
-A "X-Warning: headers adapted ($HOST $LOGNAME $RC $PID)"
(hardly tested)
You tested it, hardly? In that case, let's try, also "hardly tested":
CTYPE = 'text/plain'
CCODE = '7bit'
:0
* ^Content-Type:.*\/[^ ].*
{ CTYPE = "$MATCH" }
:0
* ^Content-Transfer-Encoding:.*\/[^ ].*
{ CCODE = "$MATCH" }
:0
* CTYPE ?? ^^text/plain
* CCODE ?? ^^([78]bit|quoted-printable)^^
{ OK }
:0 E fw
| demime --quiet 2> /dev/null
The production recipe does a bit more, but this gives you the essence.
Mike
____________________________________________________________
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