procmail
[Top] [All Lists]

Re: Filtering subject by number of characters

2007-12-22 14:12:20
Michael,

Are you sure {number} is standard? I always thought it was a Perl
extension. You might want to just try entering 78 periods and see if it
works, even if just to test it.

Glenn

On Sat, Dec 22, 2007 at 09:18:14AM -0500, Michael Myers wrote:
Is there a way to make a procmail filter to reject anything that 
contains more than 78 (arbitrary number that seems to work) characters 
in the subject line?

A regex filter to do this would be .{78}

But

:0
* ^Subject.*.{78}
/dev/null

does not work.

How can I make this regex filter work in my procmailrc file?

Thanks,

-- 
m-m

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


!DSPAM:476d661f256094239597403!

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>