Skip to content

Mailscanner doesn't mark virus infected message (inline warning) #225

@TLINDEN

Description

@TLINDEN

Our Mailscanner doesn't mark infected mails sometimes with the inline warning, although it's enabled.

Logs say:

Sep 19 10:41:09 s4mailscan2 clamd[83862]: /localdisk/MailScanner/tmp/80613/57CD545C5307.A95B8/nKonkretisierun-1.doc: PUA.Pdf.Trojan.EmbeddedJavaScript-1 FOUND
Sep 19 10:41:09 s4mailscan2 clamd[83862]: /localdisk/MailScanner/tmp/80613/57CD545C5307.A95B8/z22oleObject1.bin: PUA.Pdf.Trojan.EmbeddedJavaScript-1 FOUND
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Clamd::INFECTED:: PUA.Pdf.Trojan.EmbeddedJavaScript-1 :: ./57CD545C5307.A95B8/Konkretisierun-1.doc
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Clamd::INFECTED:: PUA.Pdf.Trojan.EmbeddedJavaScript-1 :: ./57CD545C5307.A95B8/22oleObject1.bin
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Infected message 57CD545C5307.A95B8 came from *.*.*.*
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Saved entire message to /var/spool/postfix/MailScanner/quarantine/20180919/57CD545C5307.A95B8
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Saved infected "Konkretisierun-1.doc" to /var/spool/postfix/MailScanner/quarantine/20180919/57CD545C5307.A95B8
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Saved infected "22oleObject1.bin" to /var/spool/postfix/MailScanner/quarantine/20180919/57CD545C5307.A95B8
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Message 57CD545C5307.A95B8 from *.*.*.* (foo@bar) to bar is not spam, SpamAssassin (nicht zwischen gespeichert, Wertung=0, benoetigt 6, autolearn=disabled)
Sep 19 10:41:09 s4mailscan2 MailScanner[80613]: Requeue: 57CD545C5307.A95B8 to 0A96A45F7289

The message is a correct multipart/mime message with one text/html and one text/plain part:

--=_mixed 002FB483C125830D_=
Content-Type: multipart/alternative; boundary="=_alternative 002FB483C125830D_="

--=_alternative 002FB483C125830D_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="ISO-8859-1"

text body

--=_alternative 002FB483C125830D_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="ISO-8859-1"

html body

The attachment in question has been quarantined and replaced in the mail to the receipient with the txt warning file. However, the inline message in the body is missing.

This only happens in some cases, most of the time, messages are being marked inline as configured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions