postfix recipient_restrictions reset by ispconfig update

Discussion in 'ISPConfig 3 Priority Support' started by Taleman, Dec 27, 2018.

  1. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Previously I have tried to modify Postfix smtpd_recipient_restrictions from ISPConfig Panel, but the changes have not appeared in Postfix main.cf file. So I have modified that file myself directly. Now I see that ISPConfig update changes main.cf, adding reject_rbl_client zen.spamhaus.org and on one of the e-mail servers removing the three RBL's I added (that spamhaus does not work for me, I am not subscribed).
    Is is possible to set smtpd_recipient_restrictions from Panel? If not, can I protect my changes from being overwritten?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not set the smtpd_recipient restrictions from within ISPConfig UI (at least I think so :) ), you can set RBL's only which get inserted there. The installer gets the postfix config from the file install/tpl/debian_postfix.conf.master in the ispconfig tar.gz. You can copy that file to /usr/local/ispconfig/server/conf-custom/install/ and modify it, these modifications should survive an update then.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    OK, copied that file. Now eagerly awating next ISPConfig update.
     
    till likes this.

Share This Page