Hi,

I have update today dovecot and dovecot pigeonhole to the latest version available on my centos 7.
It’s a small email servers with postfix/amavisd/clamav/spamasssin.

I had dovecot for IMAP/POP3 with spam plugins to store spam message automatically into the spam folder.

After the upgrade, I was noticed by some of my users that they have in their message the same message appearing 2,3 even 10 times.
I had the same behavior when using roundecube

I was able to stop this after removing pigeonhole rpm (removing/disabling the config was not enough).

Would appreciate your help to understand what is wrong with my config.

Thanks

dovecot conf :
[root@justyna conf.d]# dovecot -n
# 2.3.3 (dcead646b): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab127.2 x86_64 CentOS Linux release 7.5.1804 (Core)  
# Hostname: x
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
doveadm_password = # hidden, use -P to show it
doveadm_port = 2727
imap_client_workarounds = delay-newmail
mail_location = maildir:~/Maildir
mail_plugins = " zlib notify replication"
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = 
}
passdb {
  driver = pam
}
passdb {
  args = scheme=CRYPT username_format=%u /etc/dovecot/users
  driver = passwd-file
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size
  mail_replica = tcp:62.210.220.186:2727
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_duplicate_default_period = 1h
  sieve_duplicate_max_period = 1d
  sieve_extensions = +vnd.dovecot.duplicate
  sieve_global_dir = /var/lib/dovecot/sieve/
  sieve_global_path = /var/lib/dovecot/sieve/default.sieve
  zlib_save = gz
  zlib_save_level = 6
}
protocols = imap pop3
service aggregator {
  fifo_listener replication-notify-fifo {
    mode = 0666
    user = vmail
  }
  unix_listener replication-notify {
    mode = 0666
    user = vmail
  }
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
}
service doveadm {
  inet_listener {
    port = 2727
  }
}
service imap-login {
  process_min_avail = 2
  service_count = 0
}
ssl_ca = /etc/letsencrypt/live/www.cr-avocats.com/lets-encrypt-x3-cross-signed.pem
ssl_cert = </etc/letsencrypt/live/mail.cr-avocats.com/cert.pem
ssl_client_ca_dir = /etc/ssl/certs/
ssl_client_ca_file = /etc/pki/tls/certs/ca-bundle.trust.crt
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_key_password = # hidden, use -P to show it
userdb {
  driver = passwd
}
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}
protocol lmtp {
  mail_plugins = " zlib notify replication"
}
protocol lda {
  mail_plugins = " zlib notify replication zlib sieve"
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins = " zlib notify replication"
}

Thomas Durand