jeboehm / docker-mailserver

Docker Mailserver based on the famous ISPMail guide
MIT License
353 stars 92 forks source link

Customize Container: override of default configuration /etc/<service>.conf #276

Closed cmonty14 closed 5 months ago

cmonty14 commented 5 months ago

Is your feature request related to a problem? Please describe. I would like to be able to customize a service by means of overriding default configuration. Many services provide this function with a include line in services default config, e.g. /etc/ssh/sshd_config.d/somefile.conf /etc/sudoers.d/somefile.conf /etc/unbound/unbound.conf.d/somefile.conf

Describe the solution you'd like To implement this override some services require two changes:

  1. Default configuration must be modified with an include directive
  2. (Additional) docker volume to store all config files
jeboehm commented 5 months ago

Since none of these files is included in any of the images, could you provide some more concrete use cases?

cmonty14 commented 5 months ago

Since none of these files is included in any of the images, could you provide some more concrete use cases?

I assumed that you consider to deploy Unbound as recommended by Rspamd.

jeboehm commented 5 months ago

I'll close this. Keep in mind that you can mount files or directories anywhere into a container :)