I am a longtime iredmail user. I am attempting to move away from VMs to containers in my home network.
I need the ability to edit /etc/postfix/main.cf, ...dovecot/conf.d, ...amavisd.conf for for these edits to persist when rebuilding using docker-compose. It appears that amavisd is processed during container creation to insert an SQL password, so mounting an external copy of amavisd.conf does not work.
I've not tried, but I suspect I can create a Dockerfile based on this image that does some string replacements. Is there an official way to do this without such a hack?