[SOLVED] Adding entries to mynetworks by script

Discussion in 'Mail Gateway: Installation and configuration' started by ProxCH, Jan 5, 2019.

  1. ProxCH

    ProxCH New Member

    Joined:
    Jan 5, 2019
    Messages:
    29
    Likes Received:
    0
    Hello,

    I need to be able to add entries in mynetwork file to trust IPs for relaying.
    Can you please tell me what should I do after I added a new line with IP range ? Is there a script to run to reload postfix config or whatever ?

    Thanks !
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,384
    Likes Received:
    292
    You can use

    # pmgconfig sync --restart 1

    see "man pmgconfig"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ProxCH

    ProxCH New Member

    Joined:
    Jan 5, 2019
    Messages:
    29
    Likes Received:
    0
    Thank you for your quick answer !
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice