On Thu, Oct 16, 2008 at 07:28:57PM +0300, [EMAIL PROTECTED] wrote:

> Thanks,
> 
> I am still a bit lost with pcre syntax, and
> 
> this complains something:
> 
> postmap /etc/postfix/header_checks.pcre
> postmap: warning: /etc/postfix/header_checks.pcre, line 20: expected  
> format: key whitespace value

You are trying to "index" regular expression tables. This is not possible,
unnecessary and unsupported.

> but, this works:
> 
> postmap -fq "$subject" pcre:/etc/postfix/header_checks.pcre
> REPLACE Subject: testing 1 2 3

All is fine.

> My postfix has pcre support, since postconf -m | grep pcre return pcre
> 
> What I am doing wrong?

Trying to index "pcre" tables. Don't do that.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to