MailScanner on CentOS 8 and clamav

Thomas Stephen Lee lee.iitb at gmail.com
Wed Apr 29 04:29:02 UTC 2020


On Thu, Apr 9, 2020 at 4:55 AM Thomas Stephen Lee <lee.iitb at gmail.com>
wrote:

> No luck.
>
> $ ls -al /run/clamd.scan/clamd.sock
> srw-rw----. 1 clamscan mtagroup 0 Apr  9 04:41 /run/clamd.scan/clamd.sock
>
> Note: SELinux is in permissive mode.
>
> thanks.
>
> --
> Lee
>
> On Wed, Apr 8, 2020 at 8:03 PM Shawn Iverson <shawniverson at summitgrid.com>
> wrote:
>
>> Make sure that mtagroup can access the socket.
>> On 4/8/20 9:26 AM, Thomas Stephen Lee wrote:
>>
>> Hi Shawn ,
>>
>> did
>>
>> $ dnf install clamd
>> $ systemctl enable clamd at .service
>>
>> and made
>>
>> Clamd Socket = /var/run/clamd.scan/clamd.sock
>> in MailScanner.conf
>>
>> but MailScanner --lint says
>>
>> Warning: no virus scanners found via auto select at
>> /usr/share/MailScanner/perl/MailScanner/SweepViruses.pm line 253.
>>
>> thanks
>>
>> --
>> Lee
>>
>> On Wed, Apr 8, 2020 at 4:38 PM Shawn Iverson via MailScanner <
>> mailscanner at lists.mailscanner.info> wrote:
>>
>>> Modify this value to the following in MailScanner.conf
>>>
>>> Clamd Socket = /var/run/clamd.scan/clamd.sock
>>>
>>> On 4/7/20 11:10 PM, Thomas Stephen Lee wrote:
>>>
>>> Hi,
>>>
>>> On the CentOS 8.1 Test server I have
>>>
>>> clamav
>>>
>>> -----------------------------------------
>>> clamav-0.102.2-4.el8.x86_64
>>> clamav-lib-0.102.2-4.el8.x86_64
>>> clamav-filesystem-0.102.2-4.el8.noarch
>>> clamav-unofficial-sigs-7.0.1-5.el8.noarch
>>> clamav-data-0.102.2-4.el8.noarch
>>> clamav-update-0.102.2-4.el8.x86_64
>>> -----------------------------------------
>>>
>>> but hen I do MailScanner --lint
>>>
>>> the output is-
>>>
>>> -------------------------------------
>>> Found these virus scanners installed:
>>>
>>> -------------------------------------
>>>
>>> the list is empty.
>>>
>>> What should I do to get MailScanner to auto detect clamav ?
>>>
>>> Note: MailScanner version - 5.2.2
>>>
>>> thanks
>>>
>>> --
>>> Lee
>>>
>>> --
>>>
>>> Shawn Iverson
>>> shawniverson at summitgrid.com
>>>
>>>
>>> --
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>> --
>>
>> Shawn Iverson
>> shawniverson at summitgrid.com
>>
>
Hi,

I changed the clamav listening socket to different location.
And updated in MailScanner configuration with the new socket path.
Now MailScanner detecting clamd as antivirus.

thanks

--
Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20200429/01105d54/attachment.html>


More information about the MailScanner mailing list