On 19 January 2019 at 02:07 Tim Dickson via dovecot < dovecot@dovecot.org> wrote:
i recently upgraded a server from dovecot 2.1 to 2.3unfortunately sieve does not appear to be working. The user scripts havenot changed, and neither has the dovecont config. using managesieveallows me to create new sieve files and setting one as default updatesthe link in ~/ to point to the correct file, but the .dovecot.svbin fileis not changed (unless i run sievec /home/username/.dovecot.sieve )I have tested an out of office script that was working on the oldsystem, and a simple test script that flags the mail as $label1 as peran example.email arrives in users mailboxes but sieve scripts don't appear to bedoing anything. below is the output of doveconf -n (hostname changed forsecurity)
# 2.3.1 (8e2f634): /etc/dovecot/dovecot.conf# Pigeonhole version 0.5.1 (d9bc6dfe)# OS: Linux 4.19.14 x86_64 Slackware 14.2 ext4# Hostname: mail.myserver.netbase_dir = /var/run/dovecot/debug_log_path = /var/log/dovecot.logdefault_client_limit = 6000default_process_limit = 1300hostname = mail.myserver.netinfo_log_path = /var/log/dovecot.infolda_mailbox_autocreate = yeslda_mailbox_autosubscribe = yeslisten = 10.1.1.100login_greeting = Dovecot at mcfadyens.netlogin_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %cmail_location = maildir:/var/spool/dovecot/%nmail_log_prefix = "%s(%u): "managesieve_notify_capability = mailtomanagesieve_sieve_capability = fileinto reject envelopeencoded-character vacation subaddress comparator-i;ascii-numericrelational regex imap4flags copy include variables body enotifyenvironment mailbox date index ihave duplicate mime foreverypart extracttextpassdb {driver = shadow}plugin {mail_log_events = delete undelete expunge copy mailbox_deletemailbox_renamemail_log_fields = uid box msgid sizemail_log_group_events = yessieve = file:~/sieve;active=~/.dovecot.sievesieve_dir = ~/sievesieve_user_log = ~/.dovecot.sieve.log}protocols = imap lmtp sieveservice managesieve-login {inet_listener sieve {port = 4190}service_count = 0vsz_limit = 128 M}ssl = requiredssl_cert = </etc/ssl/certs/dovecot.certssl_dh = # hidden, use -P to show itssl_key = # hidden, use -P to show ituserdb {driver = passwd}protocol lda {mail_plugins = " sieve"}protocol lmtp {mail_plugins = " sieve"}protocol imap {mail_max_userip_connections = 30}
Any pointers on what might be wrong or how to test would be appreciated,thanks, Tim(the os is 64bit slackware 14.2, in case it is relevant)
Can you turn on mail_debug=yes and provide logs of delivery?
---
Aki Tuomi
Aki Tuomi