On Fri, Apr 08, 2022 at 06:20:12AM +0200, Fourhundred Thecat wrote:

> I have header_checks configured in master.cf:
> 
> header-check         unix      n         -        n        -        0
>    cleanup
>    -o header_checks=regexp:/var/local/postfix/maps/header_checks
> 
> when I edit the header_checks file containing the regex rules, how do I
> make postfix re-read the new changed file ?
> 
> Do I have to restart postfix, or is there a way to do it without restart?

If you're not in a hurry, do nothing.  The cleanup process will be
replaced after handling $max_use messages or being idle for $max_idle
seconds.

If you're in a hurry, a "postfix reload" is sufficient, no need to
restart, which is needlessly disruptive.  Note that this will also cause
the queue manager to exit and be replaced, which causes all active
message to move back into the incoming queue.  So you don't want to
reload frequently, especially on busy systems.

-- 
    Viktor.

Reply via email to