ispconfig custom config

Discussion in 'ISPConfig 3 Priority Support' started by tr909192, May 14, 2024.

Tags:
  1. tr909192

    tr909192 Member HowtoForge Supporter

    Dear,
    what is the preferred way to have custom config for postfix/dovecot/etc. in recent versions of ispconfig?
    Is it still the same mechanism as years ago, in which you copied the default config into `/usr/local/ispconfig/server/conf-custom/install/` and changed what you needed? Or has it changed in recent years?

    Thanks, have a nice day
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Yes. Although I do not remember if that was the correct directory.
     
  3. pyte

    pyte Well-Known Member HowtoForge Supporter

    The path is still correct. If you for example put "dovecot_custom.conf.master" in that path the ispconfig_update.sh command will recognize it and create the corresponding file at /etc/dovecot/conf.d/99-ispconfig-custom-config.conf
     
  4. tr909192

    tr909192 Member HowtoForge Supporter

    ok, so you are still required to copy the entire default config and modify it, it is not possible to write only the individual changes you want to make, right?
     
  5. pyte

    pyte Well-Known Member HowtoForge Supporter

    You can write only changes you need into these files. From my example above you'll see that ispconfig puts the configuration into the conf.d path of dovecot, which is then parsed by dovecot the 99- in the beginning sets the priority.

    if you for example set "limit = 10;" in 10-limits.conf but set "limit = 20;" in 99-custom-conf.conf, then dovecot will use 20 as a limit.
     
  6. tr909192

    tr909192 Member HowtoForge Supporter

    ok thanks
     

Share This Page