procmail
[Top] [All Lists]

Re: How can I properly detect and handle wrapping?

2003-07-25 14:40:22
On Fri, Jul 25, 2003 at 01:44:07PM -0700, James Burlington wrote:
Is there another list or a web site that I can read
about this, since no one is willing to help here?

*shrug*, I'll take it, I guess.

What you need to do is send the body of your message to something that
can display it correctly for you, such as lynx, links, demime,
mimedefang, perl (some nice one-liner like "perl -p0777 -e
's{=\n}{}g'"), sed/awk, etc.

Someone else on the list may fix this off-the-cuff answer:

    :0fb:
    | perl -p0777 -e 's{=\n}{}g'
    
    :0
    * B ?? advertiseddomain\.com
    $ignore

There are many reasons why you wouldn't want to do this for all mail
(munging your bodies isn't really a great idea, esp. if you have
encoded data, etc.) You're best to identify some other criteria for
the first recipe, or copy it (via 'c' flag) so the original continues
through on failure.

People here are more willing to help when you're willing to help
yourself a little. Accusations of not being helpful won't make you
many friends on this list. No one here is being paid to help you.

Scott

I wrote a small recipe that does this.

:0B:
* (advertiseddomain\.com)
$ignore

Was working for 2 days and then all of sudden I see
that some messages 
got through, viewing message source shows this.


2" height=3D"210"></a><map name=3D"FPMap0"><area
href=3D"http://advertiseddo=
main.com/p.htm" shape=3D"rect" coords=3D"4, 5, 152,
51">

-- 
Scott Wiersdorf
scott(_at_)perlcode(_dot_)org

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