Topic: Fixed in 0.5.0: per-user mail filter setting

Hi, all.

This post is used to fix per-user mail filter setting in iRedMail/iRedOS-0.5.0. If it doesn't work for you, please post a new topic in iRedMail General Technical Support forum.

First of all, we'd like to thank Emidio Reggiani for his report and testing. smile


- Mail filter doesn't work after custimizing and saving filter rules in webmail.

Affected versions:

- iRedMail-0.5.0
- iRedOS-0.5.0

Steps to fix it:

- Add below lines in /etc/dovecot.conf (RHEL/CentOS) or /etc/dovecot/dovecot.conf (Debian/Ubuntu):

plugin {
    sieve = /var/vmail/sieve/%Ld/%Ln/dovecot.sieve

- Addition modification is required on Debian/Ubuntu, you have to change 'sieve' setting in /etc/dovecot/dovecot.conf:

protocol managesieve {
    ... skip some lines here ...
    #sieve = dovecot.sieve
    sieve = /var/vmail/sieve/%Ld/%Ln/dovecot.sieve

- Restart dovecot service and it should work for you now.

# /etc/init.d/dovecot restart


Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team.