procmail
[Top] [All Lists]

junk in my headers.

2003-04-16 14:10:16
Hello.

I hope somebody can help me.

Something makes some of my mail headers look like this sometimes:

Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-description: Text
Precedence: list
X-BeenThere: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE

 ); 10 Apr 2003 04: 38:21 +0200
 User-Agent: Mutt/1.3.28i
 X-Operating-System: Linux 2.4.18 on an i686
 X-Spam-Status: No,
 tests=CARRIAGE_RETURNS,SPAM_PHRASE_00_01,USER_AGENT,
        USER_AGENT_MUTT version=2.43
 X-Spam-Level:

etc.

Everything after the ); is broken and appears in the body of the
message. I think something inserts a herd return, plus the junk+date.

How can I remove this hard return + junk with procmail?

I think I can find it like this:
:0hf
* ^ \)\;  #not sure how to check for the space.
| sed     #no idea whet next.

Please help?
Thanks.

-- 

QUIPd 1.02: (440 of 623)
->  Press any key to continue or any other key to quit...
##435  # 10:34pm up 26 days, 10:38, 5 users, load average: 0.16, 0.23, 0.16

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

<Prev in Thread] Current Thread [Next in Thread>