Description of problem:
I have amavisd-new without local clamd server, because I configured it remotely through instream protocol.
I very appreciate if you could leave clamav and altermime dependencies.
Version-Release number of selected component (if applicable):
Now I forcedly removed clamav, but it is not good:
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
amavisd-new-2.10.1-4.el7.noarch has missing requires of altermime
amavisd-new-2.10.1-4.el7.noarch has missing requires of clamav-server
amavisd-new-2.10.1-4.el7.noarch has missing requires of clamav-server-systemd
Thanks a lot
Couldn't you just simply mask the clamd service? It is used in the default config.
# systemctl mask email@example.com
And why you want to drop altermime? it is used by amavisd-new.
(In reply to Juan Orti from comment #1)
> Couldn't you just simply mask the clamd service? It is used in the default
> # systemctl mask firstname.lastname@example.org
> And why you want to drop altermime? it is used by amavisd-new.
Ok, I can use this method and keep altermime. Thank you.
I would like to avoid to install clamav server because it is not mandatory on the same host of Amavis. If I don't install a not required clamav server I prevent confusion on administration.
I need the clamav-server dependency because amavisd-new install files in /etc/clamd.d/
Ok, anyway clamd is not a dependency on the same host for Amavis.
Clamd can be configured in STREAM protocol:
\&ask_daemon, ["*", 'clamd:clam.example.org:3310'],
qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],
If the only reason for the dependency is the directory ownership, you can co-own the directory instead of having the dependency.
Ok, I see there is a clamav-filesystem package but it doesn't own the directory. I have opened a bug to move the ownership of the directory to that package and then I'll depend on it to avoid installing the full server.
amavisd-new-2.10.1-5.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-501bd58eaf
amavisd-new-2.10.1-5.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update amavisd-new'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-501bd58eaf
amavisd-new-2.10.1-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.