communque wrote:re-imaging the server, re-installing iRedMail with postgreSQL and then re-doing the steps to get SpamAssassin.
What do you mean "get SpamAssassin"?
I cannot reproduce this issue locally.
get SpamAssassin: Refers to what my (possibly mistaken) understanding that setting up SpamAssassin learning via dragging to/from Junk folder requires additional installation. Let me know if I misunderstood. I was attempting to get it set up in postgreSQL.
But before getting into that: I re-imaged the OS again and re-installed iRedMail.
This time I did NOT attempt to set up bayes in postgres, so the only steps were those to install iRedMail + certbot for LetsEncrypt and then used iredmail's webmail UI to set up a single email user.
There's no additional customization of any kind.
Nonetheless I'm seeing the duplicate key error already, so it's definitely something coming from the installation process.
I am able to send/receive emails successfully, at least for a while. After a day or emails stop sending/receiving, and I re-boot the iRedMail server to get things working again. I don't know if that's related to the error.