Good day. I have this problem: my apache and dovecot configuration reset every time I do a reboot of my machine. Do ISPConfig 3 store configs somewhere else but its db? I changed PHP open_basedir via control panel for Round Cube to work on every domain, added ":/usr/share/roundcube:/var/lib/roundcube:/usr/share/php:/etc/roundcube". But vhost configurations were left unchanged, so I had to add it manually. And it resets on every reboot. Same goes for the dovecot as my mail resides in /srv/vmail, not /var/vmail.
ISPConfig is not changing any settings on reboot. It changes only settings for a website e.g. if you chnage a value for that website and save it. I guess you edited the wrong seting. The open basedir setting under system > server config is the default for new sites, so it does not change any existing settings. If you want to change the open_basedir for a existing site, then do that pn the options tab of the site settings. Never edit a vhost file manually as your changes will get overwritten as soon as you change a setting in thet site. Set the path under System > server config.