[exim-dev] [Bug 392] Option not to panic when spamd/clamd is…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Git Commit
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 392] Option not to panic when spamd/clamd is down
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=392




--- Comment #2 from Git Commit <git@???> 2015-01-25 19:17:11 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/70817078bcd173fa33c9dabdf1e8068c901a83a1

commit 70817078bcd173fa33c9dabdf1e8068c901a83a1
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jan 25 18:48:06 2015 +0000
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jan 25 18:48:06 2015 +0000


    Do not panic-log each clamd connection fail.  Bug 392
    The panic log line for all servers failed is retained.
---
 src/src/malware.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/src/src/malware.c b/src/src/malware.c
index 365ef03..43f0314 100644
--- a/src/src/malware.c
+++ b/src/src/malware.c
@@ -1360,7 +1360,8 @@ if (!malware_ok)
            break;
            }


-         (void) m_errlog_defer(scanent, errstr);
+         log_write(0, LOG_MAIN, "malware acl condition: %s: %s",
+           scanent->name, errstr);


          /* Remove the server from the list. XXX We should free the memory */
          num_servers--;



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