Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2022 21:55:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261131] [patch] security/clamassassin: a non-compliant email header is added if clamd is down
Message-ID:  <bug-261131-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261131

            Bug ID: 261131
           Summary: [patch] security/clamassassin: a non-compliant email
                    header is added if clamd is down
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: martin@lispworks.com
                CC: chalpin@cs.wisc.edu
             Flags: maintainer-feedback?(chalpin@cs.wisc.edu)
                CC: chalpin@cs.wisc.edu

Created attachment 230933
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230933&action=
=3Dedit
Patch to clamassassin

The X-Virus-Checker-Version: header added by clamassassin contains a newlin=
e if
clamd is down.  This creates a non-compliant email header (because it doesn=
't
end with a colon).

The problem is that

CLAMVERS=3D`${CLAMSCAN} -V --stdout`

contains a newline due to clamdscan printing an extra line containing an er=
ror
message.

The attached patch fixes it, as suggested in:

https://lists.jameslick.com/pipermail/clamassassin-discuss/2015-June/000055=
.html

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261131-7788>