procmail
[Top] [All Lists]

TRuncate all lines AFTER the one that matches and deliver to normal mailbox.

2006-10-05 12:19:43
I need to trim down 100k bounce messages, but make SURE the e-mail
address that bounced is not trimmed out of them. SO a fixed X lines
truncate will not work. i need to search on a string theat is guaranteed
to be there after the email address, strip content length heders, and
truncate everything after that unique string.

furthermore, i need to do this without temp files of any kind. the
instant the magic string shows, the e-mail up to that point needs to be
writtem tthe normal mailbox, but no further.

____________________________________________________________
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

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