Hi,
In my maillog I see this warning message at every reception of e-mail:
_STATUS=SENT (DELIVERED VIA DOVECOT SERVICE (DOVECONF: WARNING: /ETC/DOVECOT/CONF.D/90-QUOTA.CONF LINE 39: GLOBAL SETTING MAIL_PLUGINS WON'T CHAN....._
It is just a warning, the e-mail was delivered.
I don't find where is the problem.
Thank's.
-- ##########
Philippe - Forums
On 16 May 2018, at 19.49, forums@mehl-family.fr wrote:
Hi,
In my maillog I see this warning message at every reception of e-mail:
status=sent (delivered via dovecot service (doveconf: Warning: /etc/dovecot/conf.d/90-quota.conf line 39: Global setting mail_plugins won't chan.....
It is just a warning, the e-mail was delivered.
I don't find where is the problem.
You have mail_plugins setting in 90-quota.conf that is ignored because you have defined mail_plugins in protocol lmtp {} before that in the config. The order matters.
Sami
I just have thus to comment on the line in the file?
##########
Philippe - Forums
Le 2018-05-16 18:52, Sami Ketola a écrit :
On 16 May 2018, at 19.49, forums@mehl-family.fr wrote:
Hi,
In my maillog I see this warning message at every reception of e-mail:
_STATUS=SENT (DELIVERED VIA DOVECOT SERVICE (DOVECONF: WARNING: /ETC/DOVECOT/CONF.D/90-QUOTA.CONF LINE 39: GLOBAL SETTING MAIL_PLUGINS WON'T CHAN....._
It is just a warning, the e-mail was delivered.
I don't find where is the problem.
You have mail_plugins setting in 90-quota.conf that is ignored because you have defined mail_plugins in protocol lmtp {} before that in the config. The order matters.
Sami
I have comment the line...
But now I see other warning :
_WARNING: /ETC/DOVECOT/CONF.D/OLD-90-QUOTA.CONF LINE 39: GLOBAL SETTING MAIL_PLUGINS WON'T CHANGE THE SETTING INSIDE AN EARLIER FILTER AT /ETC/DOVECOT/CONF.D/15-LDA.CONF LINE 13 (IF THIS IS INTENTIONAL, AVOID THIS WARNING BY MOVING THE GLOBAL SETTING BEFORE /ETC/DOVECOT/CONF.D/15-LDA.CONF LINE 13)_
AND... I see an error message :
_ERROR: COULDN'T LOAD REQUIRED PLUGIN /USR/LIB/DOVECOT/MODULES/LIB11_IMAP_QUOTA_PLUGIN.SO: PLUGIN QUOTA MUST BE LOADED ALSO (YOU MUST SET: MAIL_PLUGINS=$MAIL_PLUGINS QUOTA)_
:-O
##########
Philippe - Forums
Le 2018-05-16 19:07, forums@mehl-family.fr a écrit :
I just have thus to comment on the line in the file?
##########
Philippe - Forums
Le 2018-05-16 18:52, Sami Ketola a écrit :
On 16 May 2018, at 19.49, forums@mehl-family.fr wrote:
Hi,
In my maillog I see this warning message at every reception of e-mail:
_STATUS=SENT (DELIVERED VIA DOVECOT SERVICE (DOVECONF: WARNING: /ETC/DOVECOT/CONF.D/90-QUOTA.CONF LINE 39: GLOBAL SETTING MAIL_PLUGINS WON'T CHAN....._
It is just a warning, the e-mail was delivered.
I don't find where is the problem.
You have mail_plugins setting in 90-quota.conf that is ignored because you have defined mail_plugins in protocol lmtp {} before that in the config. The order matters.
Sami
On 16 May 2018, at 20.16, forums@mehl-family.fr wrote:
I have comment the line...
But now I see other warning :
Warning: /etc/dovecot/conf.d/OLD-90-quota.conf line 39: Global setting mail_plugins won't change the setting inside an earlier filter at /etc/dovecot/conf.d/15-lda.conf line 13 (if this is intentional, avoid this warning by moving the global setting before /etc/dovecot/conf.d/15-lda.conf line 13)
AND... I see an error message :
Error: Couldn't load required plugin /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so: Plugin quota must be loaded also (you must set: mail_plugins=$mail_plugins quota)
Load your global plugins first, in global config file and protocol specific plugins later in the config.
Sami
OK.
I renamed "conf.d/90-quota.conf" to "conf.d/13-quota.conf" and I have no more this message.
Thank's.
##########
Philippe - Forums
Le 2018-05-16 20:53, Sami Ketola a écrit :
On 16 May 2018, at 20.16, forums@mehl-family.fr wrote:
I have comment the line...
But now I see other warning :
_WARNING: /ETC/DOVECOT/CONF.D/OLD-90-QUOTA.CONF LINE 39: GLOBAL SETTING MAIL_PLUGINS WON'T CHANGE THE SETTING INSIDE AN EARLIER FILTER AT /ETC/DOVECOT/CONF.D/15-LDA.CONF LINE 13 (IF THIS IS INTENTIONAL, AVOID THIS WARNING BY MOVING THE GLOBAL SETTING BEFORE /ETC/DOVECOT/CONF.D/15-LDA.CONF LINE 13)_
AND... I see an error message :
_ERROR: COULDN'T LOAD REQUIRED PLUGIN /USR/LIB/DOVECOT/MODULES/LIB11_IMAP_QUOTA_PLUGIN.SO: PLUGIN QUOTA MUST BE LOADED ALSO (YOU MUST SET: MAIL_PLUGINS=$MAIL_PLUGINS QUOTA)_ Load your global plugins first, in global config file and protocol specific plugins later in the config.
Sami
On 2018-05-16 21:07, forums@mehl-family.fr wrote:
OK.
I renamed "conf.d/90-quota.conf" to "conf.d/13-quota.conf" and I have no more this message. This doesn't really fix your problem, you just removed the signs of it. The order of the files in /etc/dovecot/conf.d matters.
Please provide the following: doveconf -n
grep -B2 -A1 'mail_plugins =' /etc/dovecot/conf.d/*` shows the unexpanded mail_plugins settings from your config.
-- Christian Kivalo
# DOVECOT -N
==> see attachment
# GREP -B2 -A1 'MAIL_PLUGINS =' /ETC/DOVECOT/CONF.D/*
/etc/dovecot/conf.d/10-mail.conf-#auth_socket_path = /var/run/dovecot/auth-userdb /etc/dovecot/conf.d/10-mail.conf-#mail_plugin_dir = /usr/lib/dovecot/modules /etc/dovecot/conf.d/10-mail.conf:#mail_plugins = /etc/dovecot/conf.d/10-mail.conf-#mailbox_list_index = no
/etc/dovecot/conf.d/10-mail.conf.ucf-dist-# Space separated list of plugins to load for all services. Plugins specific to /etc/dovecot/conf.d/10-mail.conf.ucf-dist-# IMAP, LDA, etc. are added to this list in their own .conf files. /etc/dovecot/conf.d/10-mail.conf.ucf-dist:#mail_plugins = /etc/dovecot/conf.d/10-mail.conf.ucf-dist-
/etc/dovecot/conf.d/13-quota.conf-} /etc/dovecot/conf.d/13-quota.conf- /etc/dovecot/conf.d/13-quota.conf:mail_plugins = $mail_plugins quota /etc/dovecot/conf.d/13-quota.conf- /etc/dovecot/conf.d/13-quota.conf-protocol imap { /etc/dovecot/conf.d/13-quota.conf: mail_plugins = $mail_plugins imap_quota /etc/dovecot/conf.d/13-quota.conf-}
/etc/dovecot/conf.d/15-lda.conf-#lda_mailbox_autosubscribe = no /etc/dovecot/conf.d/15-lda.conf-protocol lda { /etc/dovecot/conf.d/15-lda.conf: mail_plugins = $mail_plugins sieve /etc/dovecot/conf.d/15-lda.conf-}
/etc/dovecot/conf.d/15-lda.conf.ucf-dist-protocol lda { /etc/dovecot/conf.d/15-lda.conf.ucf-dist- # Space separated list of plugins to load (default is global mail_plugins). /etc/dovecot/conf.d/15-lda.conf.ucf-dist: #mail_plugins = $mail_plugins /etc/dovecot/conf.d/15-lda.conf.ucf-dist-}
/etc/dovecot/conf.d/20-imap.conf-#imap_urlauth_host = /etc/dovecot/conf.d/20-imap.conf-protocol imap { /etc/dovecot/conf.d/20-imap.conf: #mail_plugins = $mail_plugins quota /etc/dovecot/conf.d/20-imap.conf- #mail_max_userip_connections = 10
/etc/dovecot/conf.d/20-imap.conf.ucf-dist-protocol imap { /etc/dovecot/conf.d/20-imap.conf.ucf-dist- # Space separated list of plugins to load (default is global mail_plugins). /etc/dovecot/conf.d/20-imap.conf.ucf-dist: #mail_plugins = $mail_plugins /etc/dovecot/conf.d/20-imap.conf.ucf-dist-
/etc/dovecot/conf.d/20-managesieve.conf- #managesieve_max_line_length = 65536 /etc/dovecot/conf.d/20-managesieve.conf- #mail_max_userip_connections = 10 /etc/dovecot/conf.d/20-managesieve.conf: #mail_plugins = /etc/dovecot/conf.d/20-managesieve.conf- #managesieve_logout_format = bytes=%i/%o
/etc/dovecot/conf.d/20-managesieve.conf.ucf-dist- # Space separated list of plugins to load (none known to be useful so far). /etc/dovecot/conf.d/20-managesieve.conf.ucf-dist- # Do NOT try to load IMAP plugins here. /etc/dovecot/conf.d/20-managesieve.conf.ucf-dist: #mail_plugins = /etc/dovecot/conf.d/20-managesieve.conf.ucf-dist-
/etc/dovecot/conf.d/20-pop3.conf-protocol pop3 { /etc/dovecot/conf.d/20-pop3.conf- # Space separated list of plugins to load (default is global mail_plugins). /etc/dovecot/conf.d/20-pop3.conf: #mail_plugins = $mail_plugins /etc/dovecot/conf.d/20-pop3.conf-
##########
Philippe - Forums
Le 2018-05-16 21:40, Christian Kivalo a écrit :
On 2018-05-16 21:07, forums@mehl-family.fr wrote:
OK.
I renamed "conf.d/90-quota.conf" to "conf.d/13-quota.conf" and I have no more this message. This doesn't really fix your problem, you just removed the signs of it. The order of the files in /etc/dovecot/conf.d matters.
Please provide the following: doveconf -n
grep -B2 -A1 'mail_plugins =' /etc/dovecot/conf.d/*` shows the unexpanded mail_plugins settings from your config.
On 2018-05-16 21:53, forums@mehl-family.fr wrote:
# DOVECOT -N
==> see attachment This looks overly complicated for a doveconf-n output but it seems to work...
# GREP -B2 -A1 'MAIL_PLUGINS =' /ETC/DOVECOT/CONF.D/*
/etc/dovecot/conf.d/10-mail.conf-#auth_socket_path = /var/run/dovecot/auth-userdb /etc/dovecot/conf.d/10-mail.conf-#mail_plugin_dir = /usr/lib/dovecot/modules /etc/dovecot/conf.d/10-mail.conf:#mail_plugins =
/etc/dovecot/conf.d/10-mail.conf-#mailbox_list_index = no
rename the file back to 90-quota.conf and comment or remove the lines marked below /etc/dovecot/conf.d/13-quota.conf-} /etc/dovecot/conf.d/13-quota.conf- /etc/dovecot/conf.d/13-quota.conf:mail_plugins = $mail_plugins quota ^^ comment / remove thie above line /etc/dovecot/conf.d/13-quota.conf- /etc/dovecot/conf.d/13-quota.conf-protocol imap { /etc/dovecot/conf.d/13-quota.conf: mail_plugins = $mail_plugins imap_quota /etc/dovecot/conf.d/13-quota.conf-} ^^ comment / remove the above 3 lines (the whole protocol imap block),
^^ uncomment this line and add quota to the end. This is the global mail_plugins setting that's included as mail_plugins = $mail_plugins in all protocol sections the protocol imap block is defined in 20-imap.conf
-- /etc/dovecot/conf.d/15-lda.conf-#lda_mailbox_autosubscribe = no /etc/dovecot/conf.d/15-lda.conf-protocol lda { /etc/dovecot/conf.d/15-lda.conf: mail_plugins = $mail_plugins sieve /etc/dovecot/conf.d/15-lda.conf-}
/etc/dovecot/conf.d/20-imap.conf-#imap_urlauth_host = /etc/dovecot/conf.d/20-imap.conf-protocol imap { /etc/dovecot/conf.d/20-imap.conf: #mail_plugins = $mail_plugins quota ^^ uncomment the above line /etc/dovecot/conf.d/20-imap.conf- #mail_max_userip_connections = 10
/etc/dovecot/conf.d/20-managesieve.conf- #managesieve_max_line_length = 65536 /etc/dovecot/conf.d/20-managesieve.conf- #mail_max_userip_connections = 10 /etc/dovecot/conf.d/20-managesieve.conf: #mail_plugins = /etc/dovecot/conf.d/20-managesieve.conf- #managesieve_logout_format = bytes=%i/%o
/etc/dovecot/conf.d/20-pop3.conf-protocol pop3 { /etc/dovecot/conf.d/20-pop3.conf- # Space separated list of plugins to load (default is global mail_plugins). /etc/dovecot/conf.d/20-pop3.conf: #mail_plugins = $mail_plugins /etc/dovecot/conf.d/20-pop3.conf-
With those four changes your warning should be gone.
-- Christian Kivalo
It"s good, no more message at the restart.
##########
Philippe - Forums
Le 2018-05-16 22:23, Christian Kivalo a écrit :
On 2018-05-16 21:53, forums@mehl-family.fr wrote:
# DOVECOT -N
==> see attachment This looks overly complicated for a doveconf-n output but it seems to work...
# GREP -B2 -A1 'MAIL_PLUGINS =' /ETC/DOVECOT/CONF.D/*
/etc/dovecot/conf.d/10-mail.conf-#auth_socket_path = /var/run/dovecot/auth-userdb /etc/dovecot/conf.d/10-mail.conf-#mail_plugin_dir = /usr/lib/dovecot/modules /etc/dovecot/conf.d/10-mail.conf:#mail_plugins = ^^ uncomment this line and add quota to the end. This is the global mail_plugins setting that's included as mail_plugins = $mail_plugins in all protocol sections
/etc/dovecot/conf.d/10-mail.conf-#mailbox_list_index = no
rename the file back to 90-quota.conf and comment or remove the lines marked below
/etc/dovecot/conf.d/13-quota.conf-} /etc/dovecot/conf.d/13-quota.conf- /etc/dovecot/conf.d/13-quota.conf:mail_plugins = $mail_plugins quota ^^ comment / remove thie above line
/etc/dovecot/conf.d/13-quota.conf- /etc/dovecot/conf.d/13-quota.conf-protocol imap { /etc/dovecot/conf.d/13-quota.conf: mail_plugins = $mail_plugins imap_quota /etc/dovecot/conf.d/13-quota.conf-} ^^ comment / remove the above 3 lines (the whole protocol imap block), the protocol imap block is defined in 20-imap.conf
-- /etc/dovecot/conf.d/15-lda.conf-#lda_mailbox_autosubscribe = no /etc/dovecot/conf.d/15-lda.conf-protocol lda { /etc/dovecot/conf.d/15-lda.conf: mail_plugins = $mail_plugins sieve /etc/dovecot/conf.d/15-lda.conf-}
/etc/dovecot/conf.d/20-imap.conf-#imap_urlauth_host = /etc/dovecot/conf.d/20-imap.conf-protocol imap { /etc/dovecot/conf.d/20-imap.conf: #mail_plugins = $mail_plugins quota ^^ uncomment the above line
/etc/dovecot/conf.d/20-imap.conf- #mail_max_userip_connections = 10
/etc/dovecot/conf.d/20-managesieve.conf- #managesieve_max_line_length = 65536 /etc/dovecot/conf.d/20-managesieve.conf- #mail_max_userip_connections = 10 /etc/dovecot/conf.d/20-managesieve.conf: #mail_plugins = /etc/dovecot/conf.d/20-managesieve.conf- #managesieve_logout_format = bytes=%i/%o
/etc/dovecot/conf.d/20-pop3.conf-protocol pop3 { /etc/dovecot/conf.d/20-pop3.conf- # Space separated list of plugins to load (default is global mail_plugins). /etc/dovecot/conf.d/20-pop3.conf: #mail_plugins = $mail_plugins /etc/dovecot/conf.d/20-pop3.conf-
With those four changes your warning should be gone.
On 2018-05-16 19:16, forums@mehl-family.fr wrote:
I have comment the line...
But now I see other warning :
_WARNING: /ETC/DOVECOT/CONF.D/OLD-90-QUOTA.CONF LINE 39: GLOBAL SETTING MAIL_PLUGINS WON'T CHANGE THE SETTING INSIDE AN EARLIER FILTER AT /ETC/DOVECOT/CONF.D/15-LDA.CONF LINE 13 (IF THIS IS INTENTIONAL, AVOID THIS WARNING BY MOVING THE GLOBAL SETTING BEFORE /ETC/DOVECOT/CONF.D/15-LDA.CONF LINE 13)_
AND... I see an error message :
_ERROR: COULDN'T LOAD REQUIRED PLUGIN /USR/LIB/DOVECOT/MODULES/LIB11_IMAP_QUOTA_PLUGIN.SO: PLUGIN QUOTA MUST BE LOADED ALSO (YOU MUST SET: MAIL_PLUGINS=$MAIL_PLUGINS QUOTA)_ The output of doveconf -n would help to see what plugins you are trying to load
-- Christian Kivalo
participants (3)
-
Christian Kivalo
-
forums@mehl-family.fr
-
Sami Ketola