[exim-dev] [Bug 1505] New: Misleading message "clamd: failed…

Top Page
Delete this message
Reply to this message
Author: Miro
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 1505] Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused", [exim-dev] [Bug 1505] Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused", [exim-dev] [Bug 1505] Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused", [exim-dev] [Bug 1505] Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused", [exim-dev] [Bug 1505] Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused"
Subject: [exim-dev] [Bug 1505] New: Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused"
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1505
           Summary: Misleading message "clamd: failed to connect to
                    127.0.0.1: couldn't connect to any host: Connection
                    refused"
           Product: Exim
           Version: 4.82
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: low
         Component: Logging
        AssignedTo: nigel@???
        ReportedBy: bug@???
                CC: exim-dev@???



I have defined connection to av_scanner as below:
av_scanner = clamd:127.0.0.1 3310 : 192.168.254.10 3310

On localhost clamav is turned off. When I sent eicar test I got in
exim_main.log:

# exigrep 1X1cPB-0001CM-E1 /var/log/exim/exim_main.log
+++ 1X1cPB-0001CM-E1 has not completed +++
2014-06-30 16:18:01 1X1cPB-0001CM-E1 DKIM: d=cibet.pl s=120625
c=relaxed/relaxed a=rsa-sha256 [verification succeeded]
2014-06-30 16:18:01 1X1cPB-0001CM-E1 malware acl condition: clamd:
failed to connect to 127.0.0.1: couldn't connect to any host: Connection
refused
2014-06-30 16:19:01 1X1cPB-0001CM-E1 H=poczta3.cibet.pl
(poczta.cibet.pl) [77.252.119.98] I=[88.198.102.195]:25
X=TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256
F=<prvs=025879ac1c=XXXXXXX@???> rejected after DATA: Virus found /
znaleziono wirusa :Eicar-Test-Signature

Mentioned message isn't correct because exim could connect to second defined
clamd. It would be better to log something like this:
clamd: failed to connect to 127.0.0.1: Connection refused : Trying next
av_scanner


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email