[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Postfix Regular Expressions

On Fri, 2002-04-12 at 16:42, Gene Grimm wrote:
> I have simple question that I can't find documented. I need to add basic 
> spam/virus filters to body_checks using regular expressions where the 
> line begins with a tab character. Using "\t" or "\s" doesn't seem to 
> work. Can anyone suggest the best way to handle this?

Are you using regexp or pcre maps ??
If you are using pcre style regular expressions then \t should work. If
the map is a regexp style map, then you just use a tab instead of \t.

Testing your regular expressions with postmap -q is a great way to find
out any problems with the regexes.

Tot ziens,


To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: