Applicable to:
- Plesk for Linux
Symptoms
-
Sending and receiving mail fails with errors in
/var/log/maillog
postfix/error[14359]: 3936F15A365: to=example@example.com, relay=none, delay=0.32, delays=0.32/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Message: (!)_DIE: Suicide in child_init_hook: BDB can't connect db env. at /var/spool/amavisd/db: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch, Operation not permitted. at (eval 79) line 338.
-
Amavis is up and running
# systemctl status amavisd-new | grep Active
Active: active (running) since Wed 2020-01-01 12:00:00 EST; 55min ago
Cause
Amavis (spam filter service) is stuck.
Resolution
-
Connect to the server via SSH
-
Restart the Amavis service:
# systemctl restart amavisd-new
-
Re-send queued emails:
# postsuper -r ALL
If this doesn't work, try the steps from Unable to receive email with Plesk Email Security extension installed: (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=emailsecurity;mysql_socket=/var/run/mysqld/mysqld.sock'
Comments
3 comments
This doesn't work, the only solution was to edit /etc/amavisd/email-security.conf and modify this line:
to:
Restart amavis service afterwards:
followed by processing the queued emails:
I have the same problem, I don't have any service with the name amavisd-new, I did what Adrian Cherciu said but the problem persists.
I've updated my reply, please do the rest of the commands, I just assumed would be common sense, sorry :)
Please sign in to leave a comment.