[clamav-users] Postfix 21 integration issue

Richard Troy rtroy at ScienceTools.com
Thu Apr 16 19:28:57 UTC 2015



Hello All,

following hardware failure, I upgraded my server's OS to Fedora 21 and 
decided to add ClamAV to my mail configuration. It seems that this version 
of Fedora is a substantial enough departure from previous versions that 
the configuration advice / guidance I've found so far is wrong.

Here's what I have installed:

    postfix-2.11.3-1.fc21.x86_64

    clamav-0.98.6-1.fc21.x86_64
    clamav-filesystem-0.98.6-1.fc21.noarch
    clamav-data-0.98.6-1.fc21.noarch
    clamav-lib-0.98.6-1.fc21.x86_64

I went to what I think is supposed to be the distribution's information 
source, /usr/share/doc/clamav, however, no joy there:  The README, 
ChangeLog, AUTHORS, BUGS, and NEWS files are of no help, FAQ is empty, and 
of the two URLs in UPGRADE, one doesn't work and the other is of no help. 
That leaves the three PDFs which are unreadable on a non-windowing system 
like this one is, and have to be moved (PITA), which I of course did. Of 
these, clamdoc.pdf was very interesting, but no help here, and 
phishsigs_howto.pdf and signatures.pdf were also no help. I did find a 
different version of clamdoc.pdf on the official web site and read through 
it too, again no help on these issues.

There are several issues with the installation. One of these is that when 
I try and enable the service, I get:

    # systemctl enable clamav.service
    Failed to execute operation: No such file or directory

I can't seem to find a file called clamav-milter.conf, though there's a 
man page for it (try 'man clamav-milter.conf') Somewhere I found a 
reference that intimated that file belongs in /etc, but there was none 
found following the installation.

Additionally, I imagine that there needs to be an entry made in Postfix's 
main.cf to create or add an entry called smtpd_milters to include whatever 
link is needed to tell Postfix how to call clamav. PRESENTLY I have an 
entry for openDKIM:

    # This is for openDKIM - missing are clamav and spamassassin:
    smtpd_milters = inet:localhost:8891

Ordinarily there are platform-specific installation directions somewhere, 
but NONE of what I've found pertains to these versions. Please either tell 
me how this should be done or point me to where I can find a competent 
write-up that DOES apply!

Thank you!

Regards,
Richard



More information about the clamav-users mailing list