Symptoms
-
Not possible to send or receive emails on a server with Plesk with the following errors in
/var/log/maillog
:postfix/error[14359]: 3936F15A365: [email protected], 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.
-
The Amavis service 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
The Amavis 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