Topic: Autolearn sieve not working
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version : 1.6.2 MARIADB edition
- Deployed with iRedMail the downloadable
- Linux/BSD distribution : Rocky Linux 9.1
- Store mail accounts in : MARIADB
- Web server :NGINX
- Manage mail accounts with iRedadmin
======================================================
Hi,
My email folder is /media/data/vmail
I followed th instruction in setting up the spam autolearn as on the website "https://docs.iredmail.org/dovecot.imapsieve.html" , and adjusted the folders to /media/data/vmail instead of /var/vmail
When I move the message to "Junk" folder and check the imap.log, there is nothing there for sieve.
Jun 9 10:27:01 mail dovecot[3061839]: imap(My Email)<3110175><OqW+a6f9Hp3AqA9s>: copy from INBOX: box=Junk, uid=6362, msgid=<xxxxxxxxxx, size=15825, from="xxxxxxxxxx" <Some Email>, subject=xxxxxxxxxx, flags=()
Jun 9 10:27:01 mail dovecot[3061839]: imap(My Email)<3110175><OqW+a6f9Hp3AqA9s>: delete: box=INBOX, uid=28444, msgid=<xxxxxxxxxx, size=15825, from="xxxxxxxxxx" <Some Email>, subject=xxxxxxxxxx, flags=(\Deleted \Seen \Recent)
Jun 9 10:27:01 mail dovecot[3061839]: imap(My Email)<3110175><OqW+a6f9Hp3AqA9s>: expunge: box=INBOX, uid=28444, msgid=<xxxxxxxxxx, size=15825, from="xxxxxxxxxx" <Some Email>, subject=xxxxxxxxxx, flags=(\Deleted \Seen \Recent)
When I move the email from inbox to Junk , I see email in /media/data/vmail/imapsieve_copy/spam/ which disappear after 10 minutes.
I still receive the same spam emails.
Please assist
Thank you
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.