Hi,

I would like to tag/replace each message Subject: with some custom pattern and 
leave the rest unchanged.

I'm using following header_checks rule:
/^Subject:.*/ REPLACE Subject: PRE $1
but I get a warning:
Aug 17 19:03:57 mail postfix/cleanup[20807]: [ID 947731 mail.warning] warning: 
regexp map /etc/postfix/header_checks, line 1: out of range replacement index 
"1": skipping this rule

the same rule without $1 is working fine. I'm using postfix 2.5.7.
Any thoughts please?

Thank you,
Stefan

Reply via email to