On Wed, Sep 04, 2024 at 11:12:02AM +0530, Burn Zero via Postfix-users wrote:

> Is there any way to update the mynetworks file without doing a postfix
> restart? I use mynetworks cidr file.

The "long-running" services in Postfix are (on a fairly idle server):

    # pstree -p $(pgrep -x master)
    master(1572)─┬─anvil(187890)
                 ├─pickup(187950)
                 ├─postlogd(187989)
                 ├─qmgr(1574)
                 └─tlsmgr(1580)

None of these use "mynetworks".  So you can change "mynetworks" without
a restart.  If there are some smtpd(8) processes running, the effect of
the change may not be immediate.  You can do "postfix reload" to ask
them to gracefull terminate after completing handling of the current
connection.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to