wrong hard-coded socket location in amavisd-release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amavisd-new (Ubuntu) |
Triaged
|
High
|
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/
$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.
Changed in amavisd-new (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: bitesize server-next |