Topic: amavisd-release not working
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.0
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Debian 10 Buster
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
With a brand-new installation, amavisd-release wont work.
Can't connect to UNIX socket /var/lib/amavis/amavisd.sock: No such file or directory at /usr/sbin/amavisd-release line 271.
Either open /etc/amavis/conf.d/50-user and find the following;
# Socket file, used by amavisd-release or amavis-milter.
$unix_socketname = '/var/run/amavis/amavisd.socket';
Modify the socketpath to the one amavisd-release is looking for:
$unix_socketname = '/var/lib/amavis/amavisd.sock';
OR
Edit file /usr/sbin/amavisd-release and modify the socketpath the script is looking for.
At least for Debian 10, a brand new installation turns releaseing quarantined mails into an socket error without any further manual modification from configs
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.