procmail
[Top] [All Lists]

Grep first three lines of body

2001-09-06 01:43:28
Much email sent to our info@ address should really go to a user - gary@

I have a basic filter of:

:0Bc:
*(Dear Gary|Hi Gary|Gary,)
! gary(_at_)ourdomain(_dot_)com

(yes, I do want to keep a copy of mails sent)

I only want to grep the first (say)
three lines of the body for the search
strings else when Gary replies with the original message, then the
enquirer replies to Gary, we end up with mutliple copies lying around.

If grepping first x lines is not possible, I suppose only checking email
sent to info@ would be OK

Suggestions please

Thank you

David


_______________________________________________
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>