how to disable services on the docker image?
Hi everybody!
I am trying to find the cleanest way to disable services (like pop3-login, pop3, etc.) in the docker image, if possible extending the existing configuration with conf.d files. Is this possible? I have tried using the protocol keyword on those services, after setting the protocols to that ones I want, and the services still get instantiated (thus consuming resources as well).
Thank you! Felix
On 06/07/2025 10:07 EEST Felix Rubio via dovecot <dovecot@dovecot.org> wrote: Hi everybody! I am trying to find the cleanest way to disable services (like pop3-login, pop3, etc.) in the docker image, if possible extending the existing configuration with conf.d files. Is this possible? I have tried using the protocol keyword on those services, after setting the protocols to that ones I want, and the services still get instantiated (thus consuming resources as well). Thank you! Felix Hi! You can put conf.d files into /etc/dovecot/conf.d protocols { pop3 = no } should disable pop3. Aki
Hi Aki,
Thank you for your answer. Is this equivalent to resetting in my conf.d/ dovecot.conf file "protocols = imap lmtp submission"? Should I get the active protocols with doveconf, pop3 is not enabled. Still the service shows up as configured.
Regards! Felix
On Sunday, 6 July 2025 11:27:46 Central European Summer Time Aki Tuomi wrote:
On 06/07/2025 10:07 EEST Felix Rubio via dovecot <dovecot@dovecot.org>
wrote:
Hi everybody!
I am trying to find the cleanest way to disable services (like pop3-login, pop3, etc.) in the docker image, if possible extending the existing configuration with conf.d files. Is this possible? I have tried using the protocol keyword on those services, after setting the protocols to that ones I want, and the services still get instantiated (thus consuming resources as well).
Thank you! Felix
Hi!
You can put conf.d files into /etc/dovecot/conf.d
protocols { pop3 = no }
should disable pop3.
Aki
service pop3-login won't disappear from config, it just won't get started. Aki On 06/07/2025 15:15 EEST Felix Rubio via dovecot <dovecot@dovecot.org> wrote: Hi Aki, Thank you for your answer. Is this equivalent to resetting in my conf.d/ dovecot.conf file "protocols = imap lmtp submission"? Should I get the active protocols with doveconf, pop3 is not enabled. Still the service shows up as configured. Regards! Felix On Sunday, 6 July 2025 11:27:46 Central European Summer Time Aki Tuomi wrote: On 06/07/2025 10:07 EEST Felix Rubio via dovecot <dovecot@dovecot.org> wrote: Hi everybody! I am trying to find the cleanest way to disable services (like pop3-login, pop3, etc.) in the docker image, if possible extending the existing configuration with conf.d files. Is this possible? I have tried using the protocol keyword on those services, after setting the protocols to that ones I want, and the services still get instantiated (thus consuming resources as well). Thank you! Felix Hi! You can put conf.d files into /etc/dovecot/conf.d protocols { pop3 = no } should disable pop3. Aki _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
OK! Thank you!
Felix
On Sunday, 6 July 2025 15:03:16 Central European Summer Time Aki Tuomi wrote:
service pop3-login won't disappear from config, it just won't get started.
Aki On 06/07/2025 15:15 EEST Felix Rubio via dovecot <dovecot@dovecot.org> wrote:
Hi Aki,
Thank you for your answer. Is this equivalent to resetting in my conf.d/ dovecot.conf file "protocols = imap lmtp submission"? Should I get the active protocols with doveconf, pop3 is not enabled. Still the service shows up as configured.
Regards! Felix
On Sunday, 6 July 2025 11:27:46 Central European Summer Time Aki Tuomi wrote:
On 06/07/2025 10:07 EEST Felix Rubio via dovecot <dovecot@dovecot.org> wrote:
Hi everybody!
I am trying to find the cleanest way to disable services (like pop3-login, pop3, etc.) in the docker image, if possible extending the existing configuration with conf.d files. Is this possible? I have tried using the protocol keyword on those services, after setting the protocols to that ones I want, and the services still get instantiated (thus consuming resources as well).
Thank you! Felix
Hi!
You can put conf.d files into /etc/dovecot/conf.d
protocols { pop3 = no }
should disable pop3.
Aki
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
-- Felix Rubio
participants (2)
-
Aki Tuomi
-
Felix Rubio