Re: [OT] Re: unsubscribe - Procmail Rule
* Tim Nicholas <[EMAIL PROTECTED]> wrote: > On Fri, Apr 25, 2003 at 10:55:15PM -0400, Phillip Hofmeister wrote: > > Can anynone enlighten me why my rule didn't catch this message? > > > > :0 > > * ^X-Mailing-List:[EMAIL PROTECTED] > > * ^Subject: .{0,2}sub.{1,5}ibe > > /dev/null > > You might have to escape the { and }. > * ^Subject: .\{0,2\}sub.\{1,5\}ibe The { and } aren't supported in procmail regular expressions whether escaped or not. You can use only *, +, and ? for matching different number of characters.
Re: [OT] Re: unsubscribe - Procmail Rule
On Fri, Apr 25, 2003 at 10:55:15PM -0400, Phillip Hofmeister wrote: > Can anynone enlighten me why my rule didn't catch this message? > > :0 > * ^X-Mailing-List:[EMAIL PROTECTED] > * ^Subject: .{0,2}sub.{1,5}ibe > /dev/null You might have to escape the { and }. * ^Subject: .\{0,2\}sub.\{1,5\}ibe Why not just have * ^Subject: .\{0,2\}subscribe ? Tim > > -- Tim Nicholas || ICQ# 15869961 Email: [EMAIL PROTECTED]|| Cell/SMS: +64 21 337 204 http://tim.nicholas.net.nz/ ||Wellington, New Zealand "Sir, I think you have a problem with your brain being missing."
Re: [OT] Re: unsubscribe - Procmail Rule
On 03/04/25 22:55 -0400, Phillip Hofmeister wrote: > Can anynone enlighten me why my rule didn't catch this message? > > :0 > * ^X-Mailing-List:[EMAIL PROTECTED] > * ^Subject: .{0,2}sub.{1,5}ibe > /dev/null Because the message didn't contain "unsubscribe" in the subject, only in the body? -- Michael Rowe <[EMAIL PROTECTED]> IM - [EMAIL PROTECTED]Prof - ACM, IEEE, Computer Soc. Web - http://www.mojain.com/ Vice - Barley malt, brewed or Key - http://mojain.com/keys/mrowe.asc distilled (hold the ice)