wrong hard-coded socket location in amavisd-release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pkg-website |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In amavis 2.11 the utility amavisd-release has a hard-coded location for amavisd's unix socket at line 90 as '/var/amavis/
This causes amavisd-release to fail when trying to release a quarantined email for delivery.
Changing the hard-coded location in /usr/sbin/
The previous version of amavis (2.10), used with Ubuntu 16.04, did not have this problem I think. I believe it is new with the version installed (using apt-get) with Ubuntu 18.04 (i.e. 2.11). I have not tested intervening distros.
This bug is an incompatibility between the setting in debian package of amavis 2.11 which has:
/etc/amavis/ conf.d/ 25-amavis_ helpers at line 25: socketname = "/var/lib/ amavis/ amavisd. sock"; amavisd- release at line 90: amavisd. sock';
$unix_
/usr/sbin/
$socketname = '/var/amavis/
As directory /var/amavis does not exist, the only realistic solution is to change the setting in amavisd-release.
The problem arises because in Debian (and hence Ubuntu), $MYHOME is hard-coded to /var/lib/amavis whereas in the default installation, it is /var/amavis. And amavisd-release does not seem to use the $MYHOME setting.
Sorry this bug report needs to be passed to Debian maintainers...