https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8028
--- Comment #2 from Sidney Markowitz <sid...@sidney.com> --- The SQL error message is because in the case of SQLite the code does not properly handle an upsert. According to https://www.sqlite.org/lang_UPSERT.html as of SQLite version 3.24.0 it can use the same ON CONFLICT syntax as PostgreSQL. Since we already require that minimum version of SQLite, the fix is to change all the if of dsn pg to be pg|SQLite in SQLBasedAddrList.pm -- You are receiving this mail because: You are the assignee for the bug.