How to deactivate "!include conf.d/auth-system.conf.ext" without touching "/etc/dovecot/conf.d/10-auth.conf"?
Hello,
I want to deactivate the auth-system.conf.ext because it slows down the system and makes no sense because I utilize passwdfile.conf.ext.
I have put all my configurations into the local.conf file, and all the original configuration files remain untouched. I want to stay on this path because that way I know where I made changes, and updates won't cause me any hassle. But how can I deactivate an option that was activated in the original configuration files?"
Jens
I see in my Debian (Stable) setup this inclusion line in /etc/dovecot/dovecot.conf :
!include conf.d/*.conf
AFAIK this already should not include files with other extensions such as *.ext Otherwise you could rename auth-system.conf.ext to not have the ".conf" string.
El 13/10/24 a les 14:50, postfix_dovecot--- via dovecot ha escrit:
Hello,
I want to deactivate the auth-system.conf.ext because it slows down the system and makes no sense because I utilize passwdfile.conf.ext.
I have put all my configurations into the local.conf file, and all the original configuration files remain untouched. I want to stay on this path because that way I know where I made changes, and updates won't cause me any hassle. But how can I deactivate an option that was activated in the original configuration files?"
Jens
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
--
Narcis Garcia
I'm using this dedicated address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should remove and omit any @, dot and mailto combinations against automated addresses collectors.
Narcis Garcia via dovecot skrev den 2024-10-13 18:34:
I see in my Debian (Stable) setup this inclusion line in /etc/dovecot/dovecot.conf :
!include conf.d/*.conf
+1
AFAIK this already should not include files with other extensions such as *.ext Otherwise you could rename auth-system.conf.ext to not have the ".conf" string.
ext files are extension conf to be included in a conf file :)
see 10-auth.conf
postfix_dovecot--- via dovecot skrev den 2024-10-13 14:50:
I want to deactivate the auth-system.conf.ext because it slows down the system and makes no sense because I utilize passwdfile.conf.ext.
so you edit something ?
I have put all my configurations into the local.conf file, and all the original configuration files remain untouched. I want to stay on this path because that way I know where I made changes, and updates won't cause me any hassle. But how can I deactivate an option that was activated in the original configuration files?"
edit conf.d/10-auth.conf change line with auth-system.conf.ext so auth-system.conf.ext is commented line
the passwdfile.conf.ext is there aswell with should not be commented out in your case
note to debian users, /etc/dovecot/ should not be overwrited by dovecot updates, in gentoo whole /etc is config protected
in case of more help needed provide a doveconf -n
so you edit something ? Nope - not in the original files! I created a "local.conf" where I put in every configuration. And there I want to overrule the "auth-system.conf.ext", activated by default in the " conf.d/10-auth.conf".
edit conf.d/10-auth.conf change line with auth-system.conf.ext so auth-system.conf.ext is commented line That would be the easiest way I guess - but exact what I don't want to do. I want to keep the original files untouched if possible.
note to debian users, /etc/dovecot/ should not be overwrited by dovecot updates [...] It's a Debian system and I've seen many times over the years that configuration files were restored during upgrades. That's why I want to have the complete configuration in local.conf.
In Debian and derivatives yo can check if some installed package provides a file, and the it can be upgradeable by package.
Example (yes): $ dpkg -S /etc/sysctl.conf
Example (no): $ dpkg -S /etc/dovecot/conf.d/10-auth.conf
El 14/10/24 a les 7:40, postfix_dovecot--- via dovecot ha escrit:
so you edit something ? Nope - not in the original files! I created a "local.conf" where I put in every configuration. And there I want to overrule the "auth-system.conf.ext", activated by default in the " conf.d/10-auth.conf".
edit conf.d/10-auth.conf change line with auth-system.conf.ext so auth-system.conf.ext is commented line That would be the easiest way I guess - but exact what I don't want to do. I want to keep the original files untouched if possible.
note to debian users, /etc/dovecot/ should not be overwrited by dovecot updates [...] It's a Debian system and I've seen many times over the years that configuration files were restored during upgrades. That's why I want to have the complete configuration in local.conf.
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
--
Narcis Garcia
I'm using this dedicated address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should remove and omit any @, dot and mailto combinations against automated addresses collectors.
Narcis Garcia via dovecot skrev den 2024-10-14 07:49:
In Debian and derivatives yo can check if some installed package provides a file, and the it can be upgradeable by package.
Example (yes): $ dpkg -S /etc/sysctl.conf
Example (no): $ dpkg -S /etc/dovecot/conf.d/10-auth.conf
funny way of config protecting /etc/.....
please tell gentoo to a debian maintainer, debian is only as good as there maintainers, it shown on maillist many times that bad configs of dovecot and postfix is badly added as defaults when is not enabled by default from the programmers of dovecot and postfix, but debian maintainers still think its a simple task
dont allow anything to be overrided in doveconf config files
PS:
doveconf -d >/tmp/default doveconf -n >/dmp/changed
diff -urp /tmp/default /tmp/changed | less
try :=)
you can remove lines not changed
also for postfix main.cf could be simple one single line, since postconf -d should be very good output with minimal settings to be changed
i just say it :)
doveconf -d >/tmp/default doveconf -n >/dmp/changed
diff -urp /tmp/default /tmp/changed | less
try :=)
Thanks for that! I know the options, but I was hoping that there was a simple, straightforward way to disable an option that the maintainers had enabled. If I had known what would come of the request, I would not have made it :)
In the future, after an update, I will simply look in the file or log to see if the option is activated again.
Thank you for your support!
-----Ursprüngliche Nachricht----- Von: Benny Pedersen via dovecot <dovecot@dovecot.org> Gesendet: Montag, 14. Oktober 2024 16:03 An: dovecot@dovecot.org Betreff: Re: How to deactivate "!include conf.d/auth-system.conf.ext" without touching "/etc/dovecot/conf.d/10-auth.conf"?
Narcis Garcia via dovecot skrev den 2024-10-14 07:49:
In Debian and derivatives yo can check if some installed package provides a file, and the it can be upgradeable by package.
Example (yes): $ dpkg -S /etc/sysctl.conf
Example (no): $ dpkg -S /etc/dovecot/conf.d/10-auth.conf
funny way of config protecting /etc/.....
please tell gentoo to a debian maintainer, debian is only as good as there maintainers, it shown on maillist many times that bad configs of dovecot and postfix is badly added as defaults when is not enabled by default from the programmers of dovecot and postfix, but debian maintainers still think its a simple task
dont allow anything to be overrided in doveconf config files
PS:
doveconf -d >/tmp/default doveconf -n >/dmp/changed
diff -urp /tmp/default /tmp/changed | less
try :=)
you can remove lines not changed
also for postfix main.cf could be simple one single line, since postconf -d should be very good output with minimal settings to be changed
i just say it :)
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
postfix_dovecot--- via dovecot skrev den 2024-10-14 07:40:
note to debian users, /etc/dovecot/ should not be overwrited by dovecot updates [...] It's a Debian system and I've seen many times over the years that configuration files were restored during upgrades. That's why I want to have the complete configuration in local.conf.
its just hard to make "doveconf -n >/tmp/doveconf.local
now edit this to be included in local.conf, edit dovecot.conf so only local.conf is used
after all you end in limbo land with debian stupidy
i close this thread here until doveconf -n is shown the problem
participants (3)
-
Benny Pedersen
-
Narcis Garcia
-
postfix_dovecot@gmx.de