Loading ...
Sorry, an error occurred while loading the content.

Re: Multiple action on one rule in header_check pcre

Expand Messages
  • Wietse Venema
    ... As documented, only one rule can fire per line. http://www.postfix.org/header_checks.5.html As documented, use an external content filter for complex
    Message 1 of 3 , Apr 1, 2009
    • 0 Attachment
      Lars Johansen:
      > Hi,
      >
      > I have the following rules in header check
      >
      > /^Subject: \*\*\*SPAM\*\*\*(.*)$/ PREPEND X-Spam-Flag: YES
      > /^Subject: \*\*\*SPAM\*\*\*(.*)$/ REPLACE Subject: ${1}
      >
      >
      > The problem is that only the first rule are run, are there some way to
      > run multiple action on one rule?

      As documented, only one rule can fire per line.
      http://www.postfix.org/header_checks.5.html

      As documented, use an external content filter for complex actions.
      http://www.postfix.org/BUILTIN_FILTER_README.html#limitations

      Wietse
    Your message has been successfully submitted and would be delivered to recipients shortly.