Bug 1480861 - amavisd default conf conflicts with nmh (scan)
Summary: amavisd default conf conflicts with nmh (scan)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: amavisd-new
Version: 26
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Juan Orti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-12 12:27 UTC by Jos Vos
Modified: 2017-09-03 22:19 UTC (History)
4 users (show)

Fixed In Version: amavisd-new-2.11.0-9.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-03 22:19:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jos Vos 2017-08-12 12:27:23 UTC
Description of problem:

When besides amavisd-new also nmh is installed, the default amavisd.conf rule for Avast antivirus lets amavisd discard *any* incoming mail with:

    Blocked INFECTED () {DiscardedInbound,Quarantined}

This is because /bin/scan is called, which is part of nmh (as /usr/bin/scan).

Version-Release number of selected component (if applicable):

Any I know of.  I found the problem using EPEL 7 on CentOS 7, but the amavisd-new and nmh packages conflict everywhere the same way.

Solution:

Comment out the this line in /etc/amavisd/amavisd.conf:

    ['avast! Antivirus', '/bin/scan', '{}', [0], [1], qr/\t(.+)/m ],

Because the use of the Avast virusscanner is probably not very common, it would IMHO be a good idea to comment out this conflicting rule by default.  It costed me quite some time to find out why all my mails were discarded.

Comment 1 Fedora Update System 2017-08-25 09:15:19 UTC
amavisd-new-2.11.0-9.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b736e5e44e

Comment 2 Fedora Update System 2017-08-26 22:35:36 UTC
amavisd-new-2.11.0-9.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b736e5e44e

Comment 3 Fedora Update System 2017-09-03 22:19:12 UTC
amavisd-new-2.11.0-9.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.