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?
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.