On Tue, Mar 16, 1999 at 06:53:25AM -0500, Benoit Joly wrote: > Hi, I want to setup procmail to forward every email sent to [EMAIL PROTECTED] > > here is my .procmailrc > > :0 > * [EMAIL PROTECTED] > benoit > > :0 > * [EMAIL PROTECTED] > benoit > > > the first command work ok... the problem is when i receive mail from debian > user, my email address is not in Cc or To section... it's on the 3rd line aft > er the Received section. > > the last command dont work... what's wrong?
I think grep only compares one line at a time, so that won't work. For the debian-user list I identify it by the Resent-Sender header, with this recipe: :0: * [EMAIL PROTECTED] Debian-user Hope that helps, Matt -- Matt Folwell, Trinity College, Cambridge. CB2 1TQ [EMAIL PROTECTED]