Re: [OT] Re: unsubscribe - Procmail Rule

2003-04-27 Thread Janne Nikula
* 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

2003-04-27 Thread Tim Nicholas

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

2003-04-26 Thread Michael Rowe
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)



[OT] Re: unsubscribe - Procmail Rule

2003-04-25 Thread Phillip Hofmeister
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


I would appreciate it...Thanks.

On Fri, 25 Apr 2003 at 08:20:27AM +0300, Andres wrote:
> unsubscribe
> 
> -
> Hot Mobiil - helinad, logod ja pilts?numid!
> http://portal.hot.ee
> 
> 
> 

-- 
Phillip Hofmeister
Network Administrator/Systems Engineer
IP3 Inc.
http://www.ip3security.com

PGP/GPG Key:
http://www.zionlth.org/~plhofmei/
wget -O - http://www.zionlth.org/~plhofmei/key.txt | gpg --import
--
Excuse #4: Global warming