Dovecot Fehler  [GELÖST]

Haben Sie einen Bug entdeckt? Teilen Sie es uns mit.
Post Reply
bori123
Posts: 24
Joined: Fri 10. Dec 2021, 20:50

Dovecot Fehler

Post by bori123 »

STOP - Bitte lesen Sie die nächsten Zeilen aufmerksam!

1) Bitte füllen Sie die unten stehende Beitragsvorlage vollständig aus!
2) Die Mitglieder dieses Forum stellen ihre wertvolle Zeit zur Verfügung, um zu helfen! Bitte stellen Sie im Gegenzug soviel Informationen wie möglich zur Verfügung und seien Sie in der Fehlerbeschreibung konkret. Beiträge die geringe Eigeninitiative zeigen werden wahrscheinlich keine guten Antworten erhalten!

Sie können diesen oberen Teil der Beitragsvorlage entfernen.
Die folgende Beitragsvorlage darf jedoch in keinem Fall entfernt werden.
---------------------------------------------------------------------------


Ich bin sicher, dass die Ursache des Problems bei KeyHelp liegt
(Probleme ohne KeyHelp-Bezug gehören ins Offtopic-Forum)
Ja, bzw. Dovecot

Server-Betriebssystem + Version
(z.B. Ubuntu 20.04)
Debian 12.1

Eingesetzte Server-Virtualisierung-Technologie
(z.B. keine, OpenVZ, KVM, XEN, etc.)
KVM

KeyHelp-Version + Build-Nummer
23.2 (Build 3096)

Problembeschreibung / Fehlermeldungen

Code: Select all

AEFBC24116C: to=<alex@bori-online.de>, relay=cp.alexnolte.de[private/dovecot-lmtp], delay=21416, delays=21416/0/0.01/0, dsn=4.4.2, status=deferred (lost connection with cp.alexnolte.de[private/dovecot-lmtp] while receiving the initial server greeting)
dovecot	lmtp(39095): Fatal: Plugin 'sieve' not found from directory /usr/lib/dovecot/modules
Das Verzeichnis /usr/lib/dovecot/modules/sieve ist vorhanden und folgende Dateien liegen in dem Verzeichnis:

Code: Select all

-rw-r--r-- 1 root root 47192 Jan 20  2023 lib90_sieve_extprograms_plugin.so
-rw-r--r-- 1 root root 14264 Jan 20  2023 lib90_sieve_imapsieve_plugin.so
root@cp:/usr/lib/dovecot/modules/sieve# 
Erwartetes Ergebnis
kein Fehler

Tatsächliches Ergebnis
es werden keine Mails angenommen

Schritte zur Reproduktion
bei mir bei jeder Mail

Zusätzliche Informationen
(z.B. kürzlich durchgeführte Änderungen am Server, Auszüge aus Protokolldateien (/var/log/*, /var/log/keyhelp/php-error.log, etc.))
Log siehe oben.
User avatar
OlliTheDarkness
Posts: 1854
Joined: Tue 14. Aug 2018, 16:41
Location: Essen (NRW)

Re: Dovecot Fehler

Post by OlliTheDarkness »

Moin,
vieleicht hilft ein neu schreiben der Konfigurationsdaten (keyhelp-toolbox) gefolgt von einem entspanntem Neustart.

Sonst schau mal in die nachfolgenden Daten und vergleich sie mit deinen.

/etc/dovecot/conf.keyhelp.d/90-plugins.conf

Code: Select all

plugin {
    quota = maildir:User quota
    quota_limit = 10%%

    sieve = /var/mail/vhosts/%d/%n/sieve/active.sieve
    sieve_storage = /var/mail/vhosts/%d/%n/sieve
}
/etc/dovecot/dovecot.conf

Code: Select all

# Dovecot configuration file.
#
# This file was generated by KeyHelp.
# Do not modify this file due it may be may be overridden by future releases.
# You can use 'local.conf' for your own configuration.
#

# Debug mode.
#auth_debug=yes
#mail_debug=yes

# Listen for connections on all IPv4 & IPv6 interfaces.
listen = *, [::]

# Mailbox locations.
mail_location = maildir:/var/mail/vhosts/%d/%n
mail_privileged_group = mail

# Plugins.
mail_plugins = $mail_plugins quota

# Include configurations.
!include conf.keyhelp.d/*.conf

# Include cunstom configurations.
# Put your own custom settings in the following file, it will remain untouched by KeyHelp updates.
!include_try local.conf
/etc/dovecot/conf.d/90-sieve.conf

Code: Select all

##
## Settings for the Sieve interpreter
##

# Do not forget to enable the Sieve plugin in 15-lda.conf and 20-lmtp.conf
# by adding it to the respective mail_plugins= settings.

# The Sieve interpreter can retrieve Sieve scripts from several types of
# locations. The default `file' location type is a local filesystem path
# pointing to a Sieve script file or a directory containing multiple Sieve
# script files. More complex setups can use other location types such as
# `ldap' or `dict' to fetch Sieve scripts from remote databases.
#
# All settings that specify the location of one ore more Sieve scripts accept
# the following syntax:
#
# location = [<type>:]path[;<option>[=<value>][;...]]
#
# If the type prefix is omitted, the script location type is 'file' and the 
# location is interpreted as a local filesystem path pointing to a Sieve script
# file or directory. Refer to Pigeonhole wiki or INSTALL file for more
# information.

plugin {
  # The location of the user's main Sieve script or script storage. The LDA
  # Sieve plugin uses this to find the active script for Sieve filtering at
  # delivery. The "include" extension uses this location for retrieving
  # :personal" scripts. This is also where the  ManageSieve service will store
  # the user's scripts, if supported.
  # 
  # Currently only the 'file:' location type supports ManageSieve operation.
  # Other location types like 'dict:' and 'ldap:' can currently only
  # be used as a read-only script source ().
  #
  # For the 'file:' type: use the ';active=' parameter to specify where the
  # active script symlink is located.
  # For other types: use the ';name=' parameter to specify the name of the
  # default/active script.
  sieve = file:~/sieve;active=~/.dovecot.sieve

  # The default Sieve script when the user has none. This is the location of a
  # global sieve script file, which gets executed ONLY if user's personal Sieve
  # script doesn't exist. Be sure to pre-compile this script manually using the
  # sievec command line tool if the binary is not stored in a global location.
  # --> See sieve_before for executing scripts before the user's personal
  #     script.
  #sieve_default = /var/lib/dovecot/sieve/default.sieve

  # The name by which the default Sieve script (as configured by the 
  # sieve_default setting) is visible to the user through ManageSieve. 
  #sieve_default_name = 

  # Location for ":global" include scripts as used by the "include" extension.
  #sieve_global =

  # The location of a Sieve script that is run for any message that is about to
  # be discarded; i.e., it is not delivered anywhere by the normal Sieve
  # execution. This only happens when the "implicit keep" is canceled, by e.g.
  # the "discard" action, and no actions that deliver the message are executed.
  # This "discard script" can prevent discarding the message, by executing
  # alternative actions. If the discard script does nothing, the message is
	# still discarded as it would be when no discard script is configured.
  #sieve_discard =

  # Location Sieve of scripts that need to be executed before the user's
  # personal script. If a 'file' location path points to a directory, all the 
  # Sieve scripts contained therein (with the proper `.sieve' extension) are
  # executed. The order of execution within that directory is determined by the
  # file names, using a normal 8bit per-character comparison.
  #
  # Multiple script locations can be specified by appending an increasing number
  # to the setting name. The Sieve scripts found from these locations are added
  # to the script execution sequence in the specified order. Reading the
  # numbered sieve_before settings stops at the first missing setting, so no
  # numbers may be skipped.
  #sieve_before = /var/lib/dovecot/sieve.d/
  #sieve_before2 = ldap:/etc/sieve-ldap.conf;name=ldap-domain
  #sieve_before3 = (etc...)

  # Identical to sieve_before, only the specified scripts are executed after the
  # user's script (only when keep is still in effect!). Multiple script
  # locations can be specified by appending an increasing number.
  #sieve_after =
  #sieve_after2 =
  #sieve_after2 = (etc...)

  # Which Sieve language extensions are available to users. By default, all
  # supported extensions are available, except for deprecated extensions or
  # those that are still under development. Some system administrators may want
  # to disable certain Sieve extensions or enable those that are not available
  # by default. This setting can use '+' and '-' to specify differences relative
  # to the default. For example `sieve_extensions = +imapflags' will enable the
  # deprecated imapflags extension in addition to all extensions were already
  # enabled by default.
  #sieve_extensions = +notify +imapflags

  # Which Sieve language extensions are ONLY available in global scripts. This
  # can be used to restrict the use of certain Sieve extensions to administrator
  # control, for instance when these extensions can cause security concerns.
  # This setting has higher precedence than the `sieve_extensions' setting
  # (above), meaning that the extensions enabled with this setting are never
  # available to the user's personal script no matter what is specified for the
  # `sieve_extensions' setting. The syntax of this setting is similar to the
  # `sieve_extensions' setting, with the difference that extensions are
  # enabled or disabled for exclusive use in global scripts. Currently, no
  # extensions are marked as such by default.
  #sieve_global_extensions =

  # The Pigeonhole Sieve interpreter can have plugins of its own. Using this
  # setting, the used plugins can be specified. Check the Dovecot wiki
  # (wiki2.dovecot.org) or the pigeonhole website
  # (http://pigeonhole.dovecot.org) for available plugins.
  # The sieve_extprograms plugin is included in this release.
  #sieve_plugins =

  # The maximum size of a Sieve script. The compiler will refuse to compile any
  # script larger than this limit. If set to 0, no limit on the script size is
  # enforced.
  #sieve_max_script_size = 1M

  # The maximum number of actions that can be performed during a single script
  # execution. If set to 0, no limit on the total number of actions is enforced.
  #sieve_max_actions = 32

  # The maximum number of redirect actions that can be performed during a single
  # script execution. If set to 0, no redirect actions are allowed.
  #sieve_max_redirects = 4

  # The maximum number of personal Sieve scripts a single user can have. If set
  # to 0, no limit on the number of scripts is enforced.
  # (Currently only relevant for ManageSieve)
  #sieve_quota_max_scripts = 0

  # The maximum amount of disk storage a single user's scripts may occupy. If
  # set to 0, no limit on the used amount of disk storage is enforced.
  # (Currently only relevant for ManageSieve)
  #sieve_quota_max_storage = 0

  # The primary e-mail address for the user. This is used as a default when no
  # other appropriate address is available for sending messages. If this setting
  # is not configured, either the postmaster or null "<>" address is used as a
  # sender, depending on the action involved. This setting is important when
  # there is no message envelope to extract addresses from, such as when the
  # script is executed in IMAP.
  #sieve_user_email =

  # The path to the file where the user log is written. If not configured, a
  # default location is used. If the main user's personal Sieve (as configured
  # with sieve=) is a file, the logfile is set to <filename>.log by default. If
  # it is not a file, the default user log file is ~/.dovecot.sieve.log.
  #sieve_user_log =

  # Specifies what envelope sender address is used for redirected messages.
  # The following values are supported for this setting:
  #
  #   "sender"         - The sender address is used (default).
  #   "recipient"      - The final recipient address is used.
  #   "orig_recipient" - The original recipient is used.
  #   "user_email"     - The user's primary address is used. This is
  #                      configured with the "sieve_user_email" setting. If
  #                      that setting is unconfigured, "user_mail" is equal to
  #                      "recipient".
  #   "postmaster"     - The postmaster_address configured for the LDA.
  #   "<user@domain>"  - Redirected messages are always sent from user@domain.
  #                      The angle brackets are mandatory. The null "<>" address
  #                      is also supported.
  #
  # This setting is ignored when the envelope sender is "<>". In that case the
  # sender of the redirected message is also always "<>".
  #sieve_redirect_envelope_from = sender

  ## TRACE DEBUGGING
  # Trace debugging provides detailed insight in the operations performed by
  # the Sieve script. These settings apply to both the LDA Sieve plugin and the
  # IMAPSIEVE plugin. 
  #
  # WARNING: On a busy server, this functionality can quickly fill up the trace
  # directory with a lot of trace files. Enable this only temporarily and as
  # selective as possible.
  
  # The directory where trace files are written. Trace debugging is disabled if
  # this setting is not configured or if the directory does not exist. If the 
  # path is relative or it starts with "~/" it is interpreted relative to the
  # current user's home directory.
  #sieve_trace_dir =
  
  # The verbosity level of the trace messages. Trace debugging is disabled if
  # this setting is not configured. Possible values are:
  #
  #   "actions"        - Only print executed action commands, like keep,
  #                      fileinto, reject and redirect.
  #   "commands"       - Print any executed command, excluding test commands.
  #   "tests"          - Print all executed commands and performed tests.
  #   "matching"       - Print all executed commands, performed tests and the
  #                      values matched in those tests.
  #sieve_trace_level =
  
  # Enables highly verbose debugging messages that are usually only useful for
  # developers.
  #sieve_trace_debug = no
  
  # Enables showing byte code addresses in the trace output, rather than only
  # the source line numbers.
  #sieve_trace_addresses = no 
}
Inhalte von /usr/lib/dovecot

Code: Select all

aggregator
anvil
auth
checkpassword-reply
config
deliver
dict
director
dns-client
doveadm-server
dovecot-lda
gdbhelper
health-check.sh
imap
imap-hibernate
imap-login
imap-urlauth
imap-urlauth-login
imap-urlauth-worker
indexer
indexer-worker
ipc
libdcrypt_openssl.so
libdovecot-compression.so
libdovecot-compression.so.0
libdovecot-compression.so.0.0.0
libdovecot-dsync.so
libdovecot-dsync.so.0
libdovecot-dsync.so.0.0.0
libdovecot-fts.so
libdovecot-fts.so.0
libdovecot-fts.so.0.0.0
libdovecot-lda.so
libdovecot-lda.so.0
libdovecot-lda.so.0.0.0
libdovecot-login.so
libdovecot-login.so.0
libdovecot-login.so.0.0.0
libdovecot-sieve.so
libdovecot-sieve.so.0
libdovecot-sieve.so.0.0.0
libdovecot.so
libdovecot.so.0
libdovecot.so.0.0.0
libdovecot-sql.so
libdovecot-sql.so.0
libdovecot-sql.so.0.0.0
libdovecot-storage.so
libdovecot-storage.so.0
libdovecot-storage.so.0.0.0
lmtp
log
maildirlock
managesieve
managesieve-login
modules
old-stats
pop3
pop3-login
quota-status
rawlog
replicator
script
script-login
stats
tcpwrap
xml2text

./modules:
auth
dict
doveadm
lib01_acl_plugin.so
lib01_apparmor_plugin.so
lib01_mail_lua_plugin.so
lib02_imap_acl_plugin.so
lib02_lazy_expunge_plugin.so
lib05_mail_crypt_acl_plugin.so
lib05_pop3_migration_plugin.so
lib05_snarf_plugin.so
lib10_last_login_plugin.so
lib10_mail_crypt_plugin.so
lib10_mail_filter_plugin.so
lib10_quota_plugin.so
lib11_imap_quota_plugin.so
lib11_trash_plugin.so
lib15_notify_plugin.so
lib20_autocreate_plugin.so
lib20_charset_alias_plugin.so
lib20_expire_plugin.so
lib20_fts_plugin.so
lib20_listescape_plugin.so
lib20_mailbox_alias_plugin.so
lib20_mail_log_plugin.so
lib20_notify_status_plugin.so
lib20_push_notification_plugin.so
lib20_quota_clone_plugin.so
lib20_replication_plugin.so
lib20_var_expand_crypt.so
lib20_virtual_plugin.so
lib20_zlib_plugin.so
lib21_fts_squat_plugin.so
lib22_push_notification_lua_plugin.so
lib30_imap_zlib_plugin.so
lib90_old_stats_plugin.so
lib90_sieve_plugin.so
lib95_imap_filter_sieve_plugin.so
lib95_imap_old_stats_plugin.so
lib95_imap_sieve_plugin.so
lib99_welcome_plugin.so
libdriver_mysql.so
libfs_compress.so
libfs_crypt.so
libfs_mail_crypt.so
libssl_iostream_openssl.so
old-stats
settings
sieve

./modules/auth:
lib20_auth_var_expand_crypt.so
libauthdb_imap.so
libdriver_mysql.so

./modules/dict:
libdriver_mysql.so

./modules/doveadm:
lib10_doveadm_acl_plugin.so
lib10_doveadm_expire_plugin.so
lib10_doveadm_quota_plugin.so
lib10_doveadm_sieve_plugin.so
lib20_doveadm_fts_lucene_plugin.so
lib20_doveadm_fts_plugin.so
libdoveadm_mail_crypt_plugin.so

./modules/old-stats:
libold_stats_mail.so
libstats_auth.so

./modules/settings:
libmanagesieve_login_settings.so
libmanagesieve_settings.so
libpigeonhole_settings.so

./modules/sieve:
lib90_sieve_extprograms_plugin.so
lib90_sieve_imapsieve_plugin.so
Mit freundlichen Grüßen
OlliTheDarkness

**************************************************************
Helden leben lange, Legenden sterben nie

:!: World Hack Organization :!:
**************************************************************
bori123
Posts: 24
Joined: Fri 10. Dec 2021, 20:50

Re: Dovecot Fehler

Post by bori123 »

OlliTheDarkness wrote: Mon 2. Oct 2023, 23:10 Moin,
vieleicht hilft ein neu schreiben der Konfigurationsdaten (keyhelp-toolbox) gefolgt von einem entspanntem Neustart.

Sonst schau mal in die nachfolgenden Daten und vergleich sie mit deinen.

/etc/dovecot/conf.keyhelp.d/90-plugins.conf

Code: Select all

plugin {
    quota = maildir:User quota
    quota_limit = 10%%

    sieve = /var/mail/vhosts/%d/%n/sieve/active.sieve
    sieve_storage = /var/mail/vhosts/%d/%n/sieve
}
/etc/dovecot/dovecot.conf

Code: Select all

# Dovecot configuration file.
#
# This file was generated by KeyHelp.
# Do not modify this file due it may be may be overridden by future releases.
# You can use 'local.conf' for your own configuration.
#

# Debug mode.
#auth_debug=yes
#mail_debug=yes

# Listen for connections on all IPv4 & IPv6 interfaces.
listen = *, [::]

# Mailbox locations.
mail_location = maildir:/var/mail/vhosts/%d/%n
mail_privileged_group = mail

# Plugins.
mail_plugins = $mail_plugins quota

# Include configurations.
!include conf.keyhelp.d/*.conf

# Include cunstom configurations.
# Put your own custom settings in the following file, it will remain untouched by KeyHelp updates.
!include_try local.conf
/etc/dovecot/conf.d/90-sieve.conf

Code: Select all

##
## Settings for the Sieve interpreter
##

# Do not forget to enable the Sieve plugin in 15-lda.conf and 20-lmtp.conf
# by adding it to the respective mail_plugins= settings.

# The Sieve interpreter can retrieve Sieve scripts from several types of
# locations. The default `file' location type is a local filesystem path
# pointing to a Sieve script file or a directory containing multiple Sieve
# script files. More complex setups can use other location types such as
# `ldap' or `dict' to fetch Sieve scripts from remote databases.
#
# All settings that specify the location of one ore more Sieve scripts accept
# the following syntax:
#
# location = [<type>:]path[;<option>[=<value>][;...]]
#
# If the type prefix is omitted, the script location type is 'file' and the 
# location is interpreted as a local filesystem path pointing to a Sieve script
# file or directory. Refer to Pigeonhole wiki or INSTALL file for more
# information.

plugin {
  # The location of the user's main Sieve script or script storage. The LDA
  # Sieve plugin uses this to find the active script for Sieve filtering at
  # delivery. The "include" extension uses this location for retrieving
  # :personal" scripts. This is also where the  ManageSieve service will store
  # the user's scripts, if supported.
  # 
  # Currently only the 'file:' location type supports ManageSieve operation.
  # Other location types like 'dict:' and 'ldap:' can currently only
  # be used as a read-only script source ().
  #
  # For the 'file:' type: use the ';active=' parameter to specify where the
  # active script symlink is located.
  # For other types: use the ';name=' parameter to specify the name of the
  # default/active script.
  sieve = file:~/sieve;active=~/.dovecot.sieve

  # The default Sieve script when the user has none. This is the location of a
  # global sieve script file, which gets executed ONLY if user's personal Sieve
  # script doesn't exist. Be sure to pre-compile this script manually using the
  # sievec command line tool if the binary is not stored in a global location.
  # --> See sieve_before for executing scripts before the user's personal
  #     script.
  #sieve_default = /var/lib/dovecot/sieve/default.sieve

  # The name by which the default Sieve script (as configured by the 
  # sieve_default setting) is visible to the user through ManageSieve. 
  #sieve_default_name = 

  # Location for ":global" include scripts as used by the "include" extension.
  #sieve_global =

  # The location of a Sieve script that is run for any message that is about to
  # be discarded; i.e., it is not delivered anywhere by the normal Sieve
  # execution. This only happens when the "implicit keep" is canceled, by e.g.
  # the "discard" action, and no actions that deliver the message are executed.
  # This "discard script" can prevent discarding the message, by executing
  # alternative actions. If the discard script does nothing, the message is
	# still discarded as it would be when no discard script is configured.
  #sieve_discard =

  # Location Sieve of scripts that need to be executed before the user's
  # personal script. If a 'file' location path points to a directory, all the 
  # Sieve scripts contained therein (with the proper `.sieve' extension) are
  # executed. The order of execution within that directory is determined by the
  # file names, using a normal 8bit per-character comparison.
  #
  # Multiple script locations can be specified by appending an increasing number
  # to the setting name. The Sieve scripts found from these locations are added
  # to the script execution sequence in the specified order. Reading the
  # numbered sieve_before settings stops at the first missing setting, so no
  # numbers may be skipped.
  #sieve_before = /var/lib/dovecot/sieve.d/
  #sieve_before2 = ldap:/etc/sieve-ldap.conf;name=ldap-domain
  #sieve_before3 = (etc...)

  # Identical to sieve_before, only the specified scripts are executed after the
  # user's script (only when keep is still in effect!). Multiple script
  # locations can be specified by appending an increasing number.
  #sieve_after =
  #sieve_after2 =
  #sieve_after2 = (etc...)

  # Which Sieve language extensions are available to users. By default, all
  # supported extensions are available, except for deprecated extensions or
  # those that are still under development. Some system administrators may want
  # to disable certain Sieve extensions or enable those that are not available
  # by default. This setting can use '+' and '-' to specify differences relative
  # to the default. For example `sieve_extensions = +imapflags' will enable the
  # deprecated imapflags extension in addition to all extensions were already
  # enabled by default.
  #sieve_extensions = +notify +imapflags

  # Which Sieve language extensions are ONLY available in global scripts. This
  # can be used to restrict the use of certain Sieve extensions to administrator
  # control, for instance when these extensions can cause security concerns.
  # This setting has higher precedence than the `sieve_extensions' setting
  # (above), meaning that the extensions enabled with this setting are never
  # available to the user's personal script no matter what is specified for the
  # `sieve_extensions' setting. The syntax of this setting is similar to the
  # `sieve_extensions' setting, with the difference that extensions are
  # enabled or disabled for exclusive use in global scripts. Currently, no
  # extensions are marked as such by default.
  #sieve_global_extensions =

  # The Pigeonhole Sieve interpreter can have plugins of its own. Using this
  # setting, the used plugins can be specified. Check the Dovecot wiki
  # (wiki2.dovecot.org) or the pigeonhole website
  # (http://pigeonhole.dovecot.org) for available plugins.
  # The sieve_extprograms plugin is included in this release.
  #sieve_plugins =

  # The maximum size of a Sieve script. The compiler will refuse to compile any
  # script larger than this limit. If set to 0, no limit on the script size is
  # enforced.
  #sieve_max_script_size = 1M

  # The maximum number of actions that can be performed during a single script
  # execution. If set to 0, no limit on the total number of actions is enforced.
  #sieve_max_actions = 32

  # The maximum number of redirect actions that can be performed during a single
  # script execution. If set to 0, no redirect actions are allowed.
  #sieve_max_redirects = 4

  # The maximum number of personal Sieve scripts a single user can have. If set
  # to 0, no limit on the number of scripts is enforced.
  # (Currently only relevant for ManageSieve)
  #sieve_quota_max_scripts = 0

  # The maximum amount of disk storage a single user's scripts may occupy. If
  # set to 0, no limit on the used amount of disk storage is enforced.
  # (Currently only relevant for ManageSieve)
  #sieve_quota_max_storage = 0

  # The primary e-mail address for the user. This is used as a default when no
  # other appropriate address is available for sending messages. If this setting
  # is not configured, either the postmaster or null "<>" address is used as a
  # sender, depending on the action involved. This setting is important when
  # there is no message envelope to extract addresses from, such as when the
  # script is executed in IMAP.
  #sieve_user_email =

  # The path to the file where the user log is written. If not configured, a
  # default location is used. If the main user's personal Sieve (as configured
  # with sieve=) is a file, the logfile is set to <filename>.log by default. If
  # it is not a file, the default user log file is ~/.dovecot.sieve.log.
  #sieve_user_log =

  # Specifies what envelope sender address is used for redirected messages.
  # The following values are supported for this setting:
  #
  #   "sender"         - The sender address is used (default).
  #   "recipient"      - The final recipient address is used.
  #   "orig_recipient" - The original recipient is used.
  #   "user_email"     - The user's primary address is used. This is
  #                      configured with the "sieve_user_email" setting. If
  #                      that setting is unconfigured, "user_mail" is equal to
  #                      "recipient".
  #   "postmaster"     - The postmaster_address configured for the LDA.
  #   "<user@domain>"  - Redirected messages are always sent from user@domain.
  #                      The angle brackets are mandatory. The null "<>" address
  #                      is also supported.
  #
  # This setting is ignored when the envelope sender is "<>". In that case the
  # sender of the redirected message is also always "<>".
  #sieve_redirect_envelope_from = sender

  ## TRACE DEBUGGING
  # Trace debugging provides detailed insight in the operations performed by
  # the Sieve script. These settings apply to both the LDA Sieve plugin and the
  # IMAPSIEVE plugin. 
  #
  # WARNING: On a busy server, this functionality can quickly fill up the trace
  # directory with a lot of trace files. Enable this only temporarily and as
  # selective as possible.
  
  # The directory where trace files are written. Trace debugging is disabled if
  # this setting is not configured or if the directory does not exist. If the 
  # path is relative or it starts with "~/" it is interpreted relative to the
  # current user's home directory.
  #sieve_trace_dir =
  
  # The verbosity level of the trace messages. Trace debugging is disabled if
  # this setting is not configured. Possible values are:
  #
  #   "actions"        - Only print executed action commands, like keep,
  #                      fileinto, reject and redirect.
  #   "commands"       - Print any executed command, excluding test commands.
  #   "tests"          - Print all executed commands and performed tests.
  #   "matching"       - Print all executed commands, performed tests and the
  #                      values matched in those tests.
  #sieve_trace_level =
  
  # Enables highly verbose debugging messages that are usually only useful for
  # developers.
  #sieve_trace_debug = no
  
  # Enables showing byte code addresses in the trace output, rather than only
  # the source line numbers.
  #sieve_trace_addresses = no 
}
Inhalte von /usr/lib/dovecot

Code: Select all

aggregator
anvil
auth
checkpassword-reply
config
deliver
dict
director
dns-client
doveadm-server
dovecot-lda
gdbhelper
health-check.sh
imap
imap-hibernate
imap-login
imap-urlauth
imap-urlauth-login
imap-urlauth-worker
indexer
indexer-worker
ipc
libdcrypt_openssl.so
libdovecot-compression.so
libdovecot-compression.so.0
libdovecot-compression.so.0.0.0
libdovecot-dsync.so
libdovecot-dsync.so.0
libdovecot-dsync.so.0.0.0
libdovecot-fts.so
libdovecot-fts.so.0
libdovecot-fts.so.0.0.0
libdovecot-lda.so
libdovecot-lda.so.0
libdovecot-lda.so.0.0.0
libdovecot-login.so
libdovecot-login.so.0
libdovecot-login.so.0.0.0
libdovecot-sieve.so
libdovecot-sieve.so.0
libdovecot-sieve.so.0.0.0
libdovecot.so
libdovecot.so.0
libdovecot.so.0.0.0
libdovecot-sql.so
libdovecot-sql.so.0
libdovecot-sql.so.0.0.0
libdovecot-storage.so
libdovecot-storage.so.0
libdovecot-storage.so.0.0.0
lmtp
log
maildirlock
managesieve
managesieve-login
modules
old-stats
pop3
pop3-login
quota-status
rawlog
replicator
script
script-login
stats
tcpwrap
xml2text

./modules:
auth
dict
doveadm
lib01_acl_plugin.so
lib01_apparmor_plugin.so
lib01_mail_lua_plugin.so
lib02_imap_acl_plugin.so
lib02_lazy_expunge_plugin.so
lib05_mail_crypt_acl_plugin.so
lib05_pop3_migration_plugin.so
lib05_snarf_plugin.so
lib10_last_login_plugin.so
lib10_mail_crypt_plugin.so
lib10_mail_filter_plugin.so
lib10_quota_plugin.so
lib11_imap_quota_plugin.so
lib11_trash_plugin.so
lib15_notify_plugin.so
lib20_autocreate_plugin.so
lib20_charset_alias_plugin.so
lib20_expire_plugin.so
lib20_fts_plugin.so
lib20_listescape_plugin.so
lib20_mailbox_alias_plugin.so
lib20_mail_log_plugin.so
lib20_notify_status_plugin.so
lib20_push_notification_plugin.so
lib20_quota_clone_plugin.so
lib20_replication_plugin.so
lib20_var_expand_crypt.so
lib20_virtual_plugin.so
lib20_zlib_plugin.so
lib21_fts_squat_plugin.so
lib22_push_notification_lua_plugin.so
lib30_imap_zlib_plugin.so
lib90_old_stats_plugin.so
lib90_sieve_plugin.so
lib95_imap_filter_sieve_plugin.so
lib95_imap_old_stats_plugin.so
lib95_imap_sieve_plugin.so
lib99_welcome_plugin.so
libdriver_mysql.so
libfs_compress.so
libfs_crypt.so
libfs_mail_crypt.so
libssl_iostream_openssl.so
old-stats
settings
sieve

./modules/auth:
lib20_auth_var_expand_crypt.so
libauthdb_imap.so
libdriver_mysql.so

./modules/dict:
libdriver_mysql.so

./modules/doveadm:
lib10_doveadm_acl_plugin.so
lib10_doveadm_expire_plugin.so
lib10_doveadm_quota_plugin.so
lib10_doveadm_sieve_plugin.so
lib20_doveadm_fts_lucene_plugin.so
lib20_doveadm_fts_plugin.so
libdoveadm_mail_crypt_plugin.so

./modules/old-stats:
libold_stats_mail.so
libstats_auth.so

./modules/settings:
libmanagesieve_login_settings.so
libmanagesieve_settings.so
libpigeonhole_settings.so

./modules/sieve:
lib90_sieve_extprograms_plugin.so
lib90_sieve_imapsieve_plugin.so
Hi Olli,

vielen Dank für Deine Nachricht. Ich bin gerade mal alles Zeile für Zeile durchgegangen, alles passt 1 zu 1 zu Deinen Dateien.
Leider bleibt der Fehler bestehen. Auch ein Neuschreiben der Configs über die Toolbox mit anschließendem Restart bringt keine Besserung.

Habe dann mal die Dateien von Dir übernommen und nochmal durchgebootet, aber immer noch der gleiche Fehler :-(
Einzig in der dovecot.conf habe ich Debug aus yes gesetzt, aber werde daraus auch nicht schlauer...
Hier mal eine Testmail von gmx an eine Testmailbox.

Vielleicht hat ja noch jemand ne Idee...?!?

Viele Grüße
Alex

Code: Select all

2023-10-03 11:02:22	postfix/lmtp	6660A24000F: to=<a.nolte@padermail.net>, relay=cp.alexnolte.de[private/dovecot-lmtp], delay=1.2, delays=1.2/0.01/0.01/0, dsn=4.4.2, status=deferred (lost connection with cp.alexnolte.de[private/dovecot-lmtp] while receiving the initial server greeting)
2023-10-03 11:02:22	dovecot	lmtp(4634): Fatal: Plugin 'sieve' not found from directory /usr/lib/dovecot/modules
2023-10-03 11:02:22	postfix/smtpd	disconnect from mout.gmx.net[212.227.15.18] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
2023-10-03 11:02:22	postfix/qmgr	6660A24000F: from=<alexander.nolte78@gmx.de>, size=2851, nrcpt=1 (queue active)
2023-10-03 11:02:21	postfix/cleanup	6660A24000F: message-id=1696323740962@3c-app-gmx-bs17>
2023-10-03 11:02:21	postfix/smtpd	6660A24000F: client=mout.gmx.net[212.227.15.18]
2023-10-03 11:02:21	policyd-spf	: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.15.18; helo=mout.gmx.net; envelope-from=alexander.nolte78@gmx.de; receiver=padermail.net
2023-10-03 11:02:21	postfix/smtpd	TLS SNI mail.padermail.net from mout.gmx.net[212.227.15.18] not matched, using default chain
2023-10-03 11:02:21	postfix/smtpd	connect from mout.gmx.net[212.227.15.18]
User avatar
Ralph
Posts: 847
Joined: Mon 30. Mar 2020, 16:14

Re: Dovecot Fehler

Post by Ralph »

seltsam ... sieve Packages installiert?

Code: Select all

dovecot-managesieved
bori123
Posts: 24
Joined: Fri 10. Dec 2021, 20:50

Re: Dovecot Fehler

Post by bori123 »

Ralph wrote: Tue 3. Oct 2023, 12:51 seltsam ... sieve Packages installiert?

Code: Select all

dovecot-managesieved
Hi,

ich versteh das auch nicht so ganz... Aber ja, ist auch installiert...

Code: Select all

dovecot-managesieved is already the newest version (1:2.3.19.1+dfsg1-2.1).
Überlege schon nochmal von vorne zu beginnen, will ich aber irgendwie auch nicht so wirklich.... Mails lasse ich aktuell, bis auf das "Test" Postfach von meiner "alten" Mailcow Installation bearbeiten, aber eigentlich will ich keine zwei separaten Kisten für meine Zwecke mehr haben...

Merkwürdig ist es aber allemal :?

Viele Grüße
Alex
bori123
Posts: 24
Joined: Fri 10. Dec 2021, 20:50

Re: Dovecot Fehler  [GELÖST]

Post by bori123 »

Hallo,

vielen Dank für die Lösungsansätze...
Habe es tatsächlich wieder richten können, keine Ahnung was genau das Problem verursacht hat...

Geholfen hat gerade die folgende Vorgehensweise...

Code: Select all

apt --reinstall install dovecot-sieve
apt --reinstall install dovecot-managesieved
service dovecot restart
Service postfix restart
Keine Ahnung was und warum, aber irgendwas muss da kaputt gegangen sein :roll:

Und ja, es klappt wieder, Mails gehen raus und kommen rein und werden ins Postfach zugestellt.

Viele Grüße aus dem schönen, gerade regnerischen Paderborn ;)
Alex

P.S. Wie kann ich das Thema auf gelöst setzen? Kann ich das überhaupt :?:
User avatar
Ralph
Posts: 847
Joined: Mon 30. Mar 2020, 16:14

Re: Dovecot Fehler

Post by Ralph »

bori123 wrote: Tue 3. Oct 2023, 14:11 Merkwürdig ist es aber allemal :?
Schau mal ob die Pfade aus den dovecot configs noch zutreffen, vieleicht passt da etwas nicht mehr zusammen.
Ich habe bisher noch keine Panel Installation auf Debian 12 durchgeführt, aber bei einigen speziellen Debian 12 Installationen sind mir einige Dinge aufgefallen die komplett krass geändert wurden ...
User avatar
Ralph
Posts: 847
Joined: Mon 30. Mar 2020, 16:14

Re: Dovecot Fehler

Post by Ralph »

bori123 wrote: Tue 3. Oct 2023, 14:30

Code: Select all

apt --reinstall install dovecot-sieve
apt --reinstall install dovecot-managesieved
service dovecot restart
Service postfix restart
Keine Ahnung was und warum, aber irgendwas muss da kaputt gegangen sein :roll:
hm, sehr seltsam ... aber wie auch immer, Hauptsache es läuft :mrgreen:
Post Reply