Custom postfix config

Discussion in 'Installation/Configuration' started by Voodoo Priest, Oct 24, 2024.

  1. Voodoo Priest

    Voodoo Priest New Member

    Hi,
    I am switching my Ansible scripts to using a custom Postfix config in /usr/local/ispconfig/server/conf-custom/install/postfix_custom.conf.master
    My scripts were modifying main.cf as well as master.cf.
    I am correct in assuming that the custom config relates to main.cf?
    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, it's for main.cf
     
    Voodoo Priest likes this.
  3. giovanni.four

    giovanni.four New Member

    Hi Dears,
    I should make a customization in smtpd_client_restrictions to add reject_unknown_reverse_client_hostname (rather than reject_unknown_client_hostname supported by ispconfig GUI configuration that is too restrictive).
    Adding the entire line in /usr/local/ispconfig/server/conf-custom/install/postfix_custom.conf.master
    Code:
    smtpd_client_restrictions = check_client_access proxy:mysql:/etc/postfix/mysql-virtual_client.cf, permit_inet_interfaces, permit_mynetworks, permit_sasl_authenticated, reject_rbl_client cbl.abuseat.org, reject_rbl_client b.barracudacentral.org, reject_rbl_client dnsbl-1.uceprotect.net, reject_unauth_pipelining, reject_unknown_reverse_client_hostname, permit
    Are you sure that any new configurations made from the GUI will not be overwritten?
    Thanks
     
  4. pyte

    pyte Well-Known Member HowtoForge Supporter

    I have the whole line set in the file. So that should work. Please don't hijack old posts but rather create a new post in the forum.
     

Share This Page