==== Required information ====
- iRedMail version: v0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Linux/BSD distribution name and version: Centos v6.5, Linux 3.14.5-x86_64-linode42 on x86_64
- Related log if you're reporting an issue: maillog
====
I've recently updated PGSQL to v9.1.14 and currently I'm running amavisd-new v2.9.1;
When I tried releasing an email from quarantine, I received the following maillog error message and the operation failed (and apparently my email was lost from the DB as I then refreshed and checked the table contents after the release attempt):
Aug 4 12:52:56 mail amavis[16604]: (rel-SjATB8bB_-gB) release: no records with msgs.mail_id=SjATB8bB_-gB in a database, trying to read from a quar. anyway
Aug 4 12:52:56 mail amavis[16604]: (rel-SjATB8bB_-gB) Amavis::IO::SQL::open key=SjATB8bB_-gB, p_tag=: no such record
Aug 4 12:52:56 mail amavis[16604]: (rel-SjATB8bB_-gB) (!!)policy_server FAILED: Can't open sql obj for reading: No such file or directory at (eval 109) line 375, <GEN311> line 5.
When I looked in the database for a newly quarantined email (as a test), I see the quarantine ID set as: XCcuPsb_SaPg
I seem to recall this used to be a random alpha-numeric number so this confuses me. What could have happened?
Thanks.