Migrated to new server. Now filters do not work

I migrated my MIAB to a new server. Everything went great! Everything is up and running. All my email filters (also known as rules) copied over. However, they are no longer working.

I tried deleting the email filters and creating new filters in RoundCube, but those didn’t work either. I have filters setup to move certain emails to folders. All the emails go to my inbox.

I already tried going through the setup again by running sudo mailinabox, but that didn’t fix the issue either.

Any other ideas? My next step is to export all my emails, reinstall MIAB as a new install, import emails, re-create rules brand new. I’m really trying to avoid that if possible.

I do not recognize these symptoms, so no easy way out from me :frowning: I would start by looking at log files, there might be some clue in there. Look at

  • /var/log/mail.log
  • /var/log/roundcube/errors.log (or other files in this dir)

Rules are implemented by the sieve plugin of dovecot, so you might also have a look at sudo journalctl -u dovecot

I reinstalled the MIAB server as brand new. Re-imported all my emails. Created brand new filters/rules. They are working again. Solved.

Lame that restoring from a backup breaks the rules. This a a bug in the MIAB software. I don’t know how to report it, but it’s defitenly annoying to have to go about this route.

For folks that don’t use rules, I guesss you’re fine. But for those of us that do, your email rules will not carry over from box to box. It will break if you do a restore.

Please fix! Thank you!

#HappyBugFinder :slight_smile: