Dovecot, Sieve & Postfix; I can make sieve filters, but they don't work
by skubik from LinuxQuestions.org on (#5CRN6)
Hi there,
So I'm setting up a small email server for my local domain using Postfix & Dovecot w/ PostgreSQL for a database. I've gotten it to the point where I can send and recieve messages on an internal domain using both Thunderbird and Roundcube for virtual users on a virtual domain. It works well.
But I'm trying to get the Dovecot pigeonhole/sieve plugin to work so I can sort messages into appropriate folders, but it seems that the filters aren't doing anything, and I can't find evidence that they're even being used at all.
I've scoured the web for other solutions and have tried every suggestion I've across but nothing seems to be working for me. I must be missing something. Can someone help me out?
My dovecot.conf has sieve setup using the following:
Code:service managesieve-login {
inet_listener sieve {
address = *
port = 4190
}
service_count = 1
}
service lmtp {
executable = lmtp -L
unix_listener /var/run/postfix/spool/dovecot-lmtp {
mode = 0600
user = email
group = email
}
}
protocol imap {
mail_plugins = $mail_plugins imap_sieve
}
protocol lmtp {
info_log_path = /var/log/dovecot-lmtp.log
mail_plugins = $mail_plugins sieve
}
protocols = imap sieve lmtp
plugin {
sieve_extension = +imapflags +vacation
sieve_plugins = sieve_imapsieve sieve_extprograms
# These were provided by an rspamd tutorial online
imapsieve_mailbox1_name = Junk
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_before = file:/usr/local/etc/dovecot/sieve/report-spam.sieve
imapsieve_mailbox2_name = *
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_before = file:/usr/local/etc/dovecot/sieve/report-ham.sieve
sieve = ~/.dovecot.sieve
sieve_global_dir = /usr/local/etc/dovecot/sieve
sieve_before = /etc/dovecot/common.sieve
sieve_pipe_bin_dir = /usr/local/etc/dovecot/sieve
sieve_global_extensions = +vacation +vnd.dovecot.pipe
}My Postfix main.cf contains:
Code:virtual_transport = lmtp:unix:/var/run/postfix/spool/dovecot-lmtpThe lmtp thing is because one suggestion I came across suggested that Postfix needs to be told to use Dovecot's lmtp service to deliver mail locally.
However, I don't see any evidence of this actually happening in my logs.
I am able to use the managesieve plugin for Roundcube to create sieve filters, and I can see the generated managesieve.sieve file in each user's directory under a 'sieve' subdir, and I've even confirmed that there is a symlink called .dovecot.sieve pointing to the managesieve.sieve file itself; referenced by the 'sieve' setting in the dovecot.conf file, above.
To test the filter, I simply try sending an email containing the subject keywords that should trigger the sieve filter. The message goes through fine and arrives in my Inbox, but it's supposed to end up in a subfolder, and it clearly doesn't.
During this test I captured the following log output in the dovecot-debug.log file (I have mail_debug = yes in dovecot.conf):
Code:Jan 12 21:45:01 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jan 12 21:45:01 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
Jan 12 21:45:01 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_pgsql.so
Jan 12 21:45:01 auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
Jan 12 21:45:01 auth: Debug: auth client connected (pid=0)
Jan 12 21:45:02 auth: Debug: client in: AUTH 1 PLAIN service=smtp nologin lip=10.8.0.32 rip=10.8.0.10 secured resp=AHNrdWJpa0BrdWJlLnZwbgBVbHRyYV82NA== (previous base64 data may contain sensitive data)
Jan 12 21:45:02 auth: Debug: sql(user1@local.domain,10.8.0.10): query: SELECT username as user, password, '/data/local/mail/local.domain/user1' as userdb_home, 'maildir:/data/local/mail/local.domain/user1' as userdb_mail, 2020 as userdb_uid, 2020 as userdb_gid FROM mailbox WHERE username = 'user1@local.domain' AND active = '1'
Jan 12 21:45:02 auth: Debug: client passdb out: OK 1 user=user1@local.domain
Jan 12 21:45:02 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: imapsieve: mailbox Sent: APPEND event
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: sieve: Pigeonhole version 0.5.4 () initializing
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: sieve: Sieve imapsieve plugin for Pigeonhole version 0.5.4 () loaded
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: sieve: Sieve Extprograms plugin for Pigeonhole version 0.5.4 () loaded
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: imapsieve: Static mailbox rule [1]: mailbox=`Junk' from=`*' causes=(COPY) => before=`file:/usr/local/etc/dovecot/sieve/report-spam.sieve' after=(none)
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: imapsieve: Static mailbox rule [2]: mailbox=`*' from=`Junk' causes=(COPY) => before=`file:/usr/local/etc/dovecot/sieve/report-ham.sieve' after=(none)
Jan 12 21:45:03 imap-login: Debug: SSL alert: close notify
Jan 12 21:45:03 imap-login: Debug: SSL alert: close notify
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: mail stream
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: 14/14 headers not cached (first=BCC) (Mail not cached, highest cached seq=60 uid=1654: reset_id=1607657538)
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: prefetch
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: access
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: full mail
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: imapsieve: mailbox INBOX: FLAG event (changed flags: NonJunk)
Jan 12 21:45:14 auth: Debug: auth client connected (pid=20041)
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x10, ret=1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS read client hello
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write server hello
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write change cipher spec
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 write encrypted extensions
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write certificate
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 write server certificate verify
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write finished
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS read finished
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x20, ret=1: SSLv3/TLS write session ticket
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write session ticket
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write session ticket
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=1: SSL negotiation finished successfully
Jan 12 21:45:14 auth: Debug: client in: AUTH 1 PLAIN service=imap secured=tls session=yxUczsC43IUKCAAK lip=10.8.0.32 rip=10.8.0.10 lport=143 rport=34268
local_name=mail.local.domain ssl_cipher=TLS_AES_128_GCM_SHA256 ssl_cipher_bits=128 ssl_pfs=KxANY ssl_protocol=TLSv1.3
Jan 12 21:45:14 auth: Debug: client passdb out: CONT 1
Jan 12 21:45:14 auth: Debug: client in: CONT 1 AHNrdWJpa0BrdWJlLnZwbgBVbHRyYV82NA== (previous base64 data may contain sensitive data)
Jan 12 21:45:14 auth: Debug: sql(user1@local.domain,10.8.0.10,<yxUczsC43IUKCAAK>): query: SELECT username as user, password, '/data/local/mail/local.domain/user1' as userdb_home, 'maildir:/data/local/mail/local.domain/user1' as userdb_mail, 2020 as userdb_uid, 2020 as userdb_gid FROM mailbox WHERE username = 'user1@local.domain' AND active = '1'
Jan 12 21:45:14 auth: Debug: client passdb out: OK 1 user=user1@local.domain
Jan 12 21:45:14 auth: Debug: master in: REQUEST 207224833 20041 1 30d6a7150e041bbb46892481bc0bfa66 session_pid=20042 request_auth_token
Jan 12 21:45:14 auth: Debug: prefetch(user1@local.domain,10.8.0.10,<yxUczsC43IUKCAAK>): success
Jan 12 21:45:14 auth: Debug: master userdb out: USER 207224833 user1@local.domain home=/data/local/mail/local.domain/user1 mail=maildir:/data/local/mail/local.domain/user1 uid=2020 gid=2020 auth_token=2a9dddc16ce401e49bc7114be3195e134b0d0c69
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Module loaded: /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Added userdb setting: mail=maildir:/data/local/mail/local.domain/user1
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Effective uid=2020, gid=2020, home=/data/local/mail/local.domain/user1
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: maildir++: root=/data/local/mail/local.domain/user1, index=, indexpvt=, control=, inbox=/data/local/mail/local.domain/user1, alt=
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Mailbox Sent: Mailbox opened because: SELECTI see the hardcoded imapsieve filters mentioned, but they don't do anything. The scripts they point to SHOULD pass the mail to rspamd, but I check the service and nothing has been processed.
Beyond that, I don't see anything related to the other filters I setup for each user using managesieve in Roundcube.
I'm very confused.
I feel like I'm missing something.
Can anyone help point me in the right direction?
Thanks!


So I'm setting up a small email server for my local domain using Postfix & Dovecot w/ PostgreSQL for a database. I've gotten it to the point where I can send and recieve messages on an internal domain using both Thunderbird and Roundcube for virtual users on a virtual domain. It works well.
But I'm trying to get the Dovecot pigeonhole/sieve plugin to work so I can sort messages into appropriate folders, but it seems that the filters aren't doing anything, and I can't find evidence that they're even being used at all.
I've scoured the web for other solutions and have tried every suggestion I've across but nothing seems to be working for me. I must be missing something. Can someone help me out?
My dovecot.conf has sieve setup using the following:
Code:service managesieve-login {
inet_listener sieve {
address = *
port = 4190
}
service_count = 1
}
service lmtp {
executable = lmtp -L
unix_listener /var/run/postfix/spool/dovecot-lmtp {
mode = 0600
user = email
group = email
}
}
protocol imap {
mail_plugins = $mail_plugins imap_sieve
}
protocol lmtp {
info_log_path = /var/log/dovecot-lmtp.log
mail_plugins = $mail_plugins sieve
}
protocols = imap sieve lmtp
plugin {
sieve_extension = +imapflags +vacation
sieve_plugins = sieve_imapsieve sieve_extprograms
# These were provided by an rspamd tutorial online
imapsieve_mailbox1_name = Junk
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_before = file:/usr/local/etc/dovecot/sieve/report-spam.sieve
imapsieve_mailbox2_name = *
imapsieve_mailbox2_from = Junk
imapsieve_mailbox2_causes = COPY
imapsieve_mailbox2_before = file:/usr/local/etc/dovecot/sieve/report-ham.sieve
sieve = ~/.dovecot.sieve
sieve_global_dir = /usr/local/etc/dovecot/sieve
sieve_before = /etc/dovecot/common.sieve
sieve_pipe_bin_dir = /usr/local/etc/dovecot/sieve
sieve_global_extensions = +vacation +vnd.dovecot.pipe
}My Postfix main.cf contains:
Code:virtual_transport = lmtp:unix:/var/run/postfix/spool/dovecot-lmtpThe lmtp thing is because one suggestion I came across suggested that Postfix needs to be told to use Dovecot's lmtp service to deliver mail locally.
However, I don't see any evidence of this actually happening in my logs.
I am able to use the managesieve plugin for Roundcube to create sieve filters, and I can see the generated managesieve.sieve file in each user's directory under a 'sieve' subdir, and I've even confirmed that there is a symlink called .dovecot.sieve pointing to the managesieve.sieve file itself; referenced by the 'sieve' setting in the dovecot.conf file, above.
To test the filter, I simply try sending an email containing the subject keywords that should trigger the sieve filter. The message goes through fine and arrives in my Inbox, but it's supposed to end up in a subfolder, and it clearly doesn't.
During this test I captured the following log output in the dovecot-debug.log file (I have mail_debug = yes in dovecot.conf):
Code:Jan 12 21:45:01 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jan 12 21:45:01 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
Jan 12 21:45:01 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_pgsql.so
Jan 12 21:45:01 auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
Jan 12 21:45:01 auth: Debug: auth client connected (pid=0)
Jan 12 21:45:02 auth: Debug: client in: AUTH 1 PLAIN service=smtp nologin lip=10.8.0.32 rip=10.8.0.10 secured resp=AHNrdWJpa0BrdWJlLnZwbgBVbHRyYV82NA== (previous base64 data may contain sensitive data)
Jan 12 21:45:02 auth: Debug: sql(user1@local.domain,10.8.0.10): query: SELECT username as user, password, '/data/local/mail/local.domain/user1' as userdb_home, 'maildir:/data/local/mail/local.domain/user1' as userdb_mail, 2020 as userdb_uid, 2020 as userdb_gid FROM mailbox WHERE username = 'user1@local.domain' AND active = '1'
Jan 12 21:45:02 auth: Debug: client passdb out: OK 1 user=user1@local.domain
Jan 12 21:45:02 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: imapsieve: mailbox Sent: APPEND event
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: sieve: Pigeonhole version 0.5.4 () initializing
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: sieve: Sieve imapsieve plugin for Pigeonhole version 0.5.4 () loaded
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: sieve: Sieve Extprograms plugin for Pigeonhole version 0.5.4 () loaded
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: imapsieve: Static mailbox rule [1]: mailbox=`Junk' from=`*' causes=(COPY) => before=`file:/usr/local/etc/dovecot/sieve/report-spam.sieve' after=(none)
Jan 12 21:45:03 imap(user1@local.domain)<19981><ncy+w8C4vIUKCAAK>: Debug: imapsieve: Static mailbox rule [2]: mailbox=`*' from=`Junk' causes=(COPY) => before=`file:/usr/local/etc/dovecot/sieve/report-ham.sieve' after=(none)
Jan 12 21:45:03 imap-login: Debug: SSL alert: close notify
Jan 12 21:45:03 imap-login: Debug: SSL alert: close notify
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: mail stream
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: 14/14 headers not cached (first=BCC) (Mail not cached, highest cached seq=60 uid=1654: reset_id=1607657538)
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: prefetch
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: access
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: Mailbox INBOX: UID 1655: Opened mail because: full mail
Jan 12 21:45:04 imap(user1@local.domain)<18758><8NmQMcC4oIMKCAAK>: Debug: imapsieve: mailbox INBOX: FLAG event (changed flags: NonJunk)
Jan 12 21:45:14 auth: Debug: auth client connected (pid=20041)
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x10, ret=1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: before SSL initialization
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS read client hello
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write server hello
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write change cipher spec
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 write encrypted extensions
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write certificate
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 write server certificate verify
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write finished
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=-1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: TLSv1.3 early data
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS read finished
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x20, ret=1: SSLv3/TLS write session ticket
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write session ticket
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2001, ret=1: SSLv3/TLS write session ticket
Jan 12 21:45:14 imap-login: Debug: SSL: where=0x2002, ret=1: SSL negotiation finished successfully
Jan 12 21:45:14 auth: Debug: client in: AUTH 1 PLAIN service=imap secured=tls session=yxUczsC43IUKCAAK lip=10.8.0.32 rip=10.8.0.10 lport=143 rport=34268
local_name=mail.local.domain ssl_cipher=TLS_AES_128_GCM_SHA256 ssl_cipher_bits=128 ssl_pfs=KxANY ssl_protocol=TLSv1.3
Jan 12 21:45:14 auth: Debug: client passdb out: CONT 1
Jan 12 21:45:14 auth: Debug: client in: CONT 1 AHNrdWJpa0BrdWJlLnZwbgBVbHRyYV82NA== (previous base64 data may contain sensitive data)
Jan 12 21:45:14 auth: Debug: sql(user1@local.domain,10.8.0.10,<yxUczsC43IUKCAAK>): query: SELECT username as user, password, '/data/local/mail/local.domain/user1' as userdb_home, 'maildir:/data/local/mail/local.domain/user1' as userdb_mail, 2020 as userdb_uid, 2020 as userdb_gid FROM mailbox WHERE username = 'user1@local.domain' AND active = '1'
Jan 12 21:45:14 auth: Debug: client passdb out: OK 1 user=user1@local.domain
Jan 12 21:45:14 auth: Debug: master in: REQUEST 207224833 20041 1 30d6a7150e041bbb46892481bc0bfa66 session_pid=20042 request_auth_token
Jan 12 21:45:14 auth: Debug: prefetch(user1@local.domain,10.8.0.10,<yxUczsC43IUKCAAK>): success
Jan 12 21:45:14 auth: Debug: master userdb out: USER 207224833 user1@local.domain home=/data/local/mail/local.domain/user1 mail=maildir:/data/local/mail/local.domain/user1 uid=2020 gid=2020 auth_token=2a9dddc16ce401e49bc7114be3195e134b0d0c69
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Module loaded: /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Added userdb setting: mail=maildir:/data/local/mail/local.domain/user1
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Effective uid=2020, gid=2020, home=/data/local/mail/local.domain/user1
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: maildir++: root=/data/local/mail/local.domain/user1, index=, indexpvt=, control=, inbox=/data/local/mail/local.domain/user1, alt=
Jan 12 21:45:14 imap(user1@local.domain)<20042><yxUczsC43IUKCAAK>: Debug: Mailbox Sent: Mailbox opened because: SELECTI see the hardcoded imapsieve filters mentioned, but they don't do anything. The scripts they point to SHOULD pass the mail to rspamd, but I check the service and nothing has been processed.
Beyond that, I don't see anything related to the other filters I setup for each user using managesieve in Roundcube.
I'm very confused.
I feel like I'm missing something.
Can anyone help point me in the right direction?
Thanks!