Filtering out Resent-cc
Quick question for the procmail pros. I'm already sorting out debian mail with the following: :0: * ^X-Mailing-List: [EMAIL PROTECTED] Deb-user How can I expand this to strip out the Resent-cc: headers from my debian mail? (FYI, this would fix the pine errors when responding.) Thanks, Brandon - Brandon Mitchell [EMAIL PROTECTED] We all know linux is great... it PGP: finger -l [EMAIL PROTECTED] does infinite loops in 5 seconds Phone: (757) 221-4847 --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Filtering out Resent-cc
Make it pipe through formail to save the file, as in :: DebianUser.lock * ^X-Mailing-List: debian-user |formail -I Resent-Sender DebianUser Check the man pages, I am typing this from memory and could have something wrong. Thanks Bruce -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Filtering out Resent-cc
On Sun, Mar 01, 1998 at 08:41:32PM -0500, Brandon Mitchell wrote: Quick question for the procmail pros. I'm already sorting out debian mail with the following: :0: * ^X-Mailing-List: [EMAIL PROTECTED] Deb-user How can I expand this to strip out the Resent-cc: headers from my debian mail? (FYI, this would fix the pine errors when responding.) Use this procmail rule: :0: * ^X-Mailing-List: [EMAIL PROTECTED] { :0 f | sed /^Resent-Cc:/d :0: Deb-user } HTH, Adam -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Filtering out Resent-cc
Thanks Bruce, Old rule: :0: * ^X-Mailing-List: [EMAIL PROTECTED] Deb-user New rule: :0: * ^X-Mailing-List: [EMAIL PROTECTED] |formail -I Resent-cc Deb-user Works without a problem. Brandon - Brandon Mitchell [EMAIL PROTECTED] We all know linux is great... it PGP: finger -l [EMAIL PROTECTED] does infinite loops in 5 seconds Phone: (757) 221-4847 --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .