• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

postfix header_checks getting ignored

paultanner

New Pleskian
I am completing migration to Plesk 12.5 on centos 6.

I have some forwarding rules that depend on the sender so I want to use header_checks with regex.

After configuring this in main.cf and restarting postfix it seems that my rules are not being applied.

The simplest of these (and the only one currently in place) is

/^From: .*@sourcedomain\.com/ REDIRECT [email protected]

(Obviously, one this simple could be done in the Plesk GUI but my real ones are more complex)

I tried doing this with the Plesk GUI first to verify the rest of the mail setup. I receive from the source and can forward to the destination ok.

Then I tried using the above header_checks. The redirect is not actioned and there is no evidence in the log of any reaction to my rule.

I am wondering if I need to enable something or whether plesk is somehow overriding my config?

Thx for any suggestions.
 
Back
Top