Mail Filtering tutorial doesn't result in correct group memberships to allow ClamAV to scan messages

Bug #424272 reported by Aaron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ubuntu-docs

https://help.ubuntu.com/8.04/serverguide/C/mail-filtering.html

The line 'sudo adduser amavis clamav' results in the following entries in /etc/group:-

clamav:x:127:amavis
amavis:x:128:

I had to follow the information at 'http://wiki.clamav.net/bin/view/Main/AmavisdNew' to fix a 'Clam Antivirus-clamd FAILED - unknown status' error that was occuring in /var/log/mail.log. My resulting entries in /etc/group are now:-

clamav:x:127:amavis
amavis:x:128:clamav

With this change Clam immediately sprung to life (After restart of the service) and started scanning messages OK.

Tags: serverguide
Connor Imes (ckimes)
Changed in ubuntu-docs (Ubuntu):
importance: Undecided → Medium
Connor Imes (ckimes)
tags: added: serverguide
Revision history for this message
Connor Imes (ckimes) wrote :

The Ubuntu Documentation team has moved the serverguide out of the ubuntu-docs package, it is now under the serverguide project. Moving this bug accordingly.

I'm keeping this open under ubuntu-docs as I think it is a good candidate for a SRU in the future.

Changed in serverguide:
importance: Undecided → Medium
Changed in serverguide:
status: New → Confirmed
assignee: nobody → Leo Jackson (lajjr)
Changed in serverguide:
status: Confirmed → In Progress
Revision history for this message
Joker Wild (lajjr-deactivatedaccount) wrote :

I found this to be valid and because it doesn't add user to the last group.

ex: clamav:x:127:amavis
amavis:x:128:
with only this command:
sudo adduser clamav amavi

To fix we need to do:
sudo adduser amavis clamav

after this it shows this:
clamav:x:127:amavis
amavis:x:128:clamav

Regards,
Leo Jackson

Changed in serverguide:
status: In Progress → Fix Committed
Connor Imes (ckimes)
Changed in serverguide:
status: Fix Committed → Fix Released
Revision history for this message
Vikram Dhillon (dhillon-v10) wrote :

Has anyone tested this to see whether the instructions being applied to the server are applicable to the regular distro as well? I think they will work just fine so if the fix has been committed to serverguide, we can probably port it.

no longer affects: ubuntu-docs (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.