Blank Subject in Notices to System Administrators (Exim)

Julian Field mailscanner at
Mon Jan 20 18:23:55 GMT 2003

Can you try this for me?
Edit /usr/lib/MailScanner/MailScanner/ and change line 480 from

         if ("subject" eq lc $1) {


         if ("subject:" eq lc $1) {

(i.e. add a ':'). Then restart MailScanner and see if this fixes the problem.

At 18:12 20/01/2003, you wrote:
>I am running MailScanner 4.11 + Exim patch from Nick, and I notice (pun
>intended) that all of my Notices to System Administrators have a blank
>Subject field.  I have Notices Include Full Headers = yes, and I can see the
>real subject in the full headers below, but the summary before the Full
>headers just has a blank subject.
>Here's an example:
>The following e-mail messages were found to have viruses in them:
>     Sender: <yjworks at>
>IP Address:
>  Recipient: xxxx at
>    Subject:
>  MessageID: 18ag8j-0004BD-00
>     Report: /18ag8j-0004BD-00/Notes.exe        Found the W32/Yaha.k virus
>Notes.exe contains Yaha.K
>Executable DOS/Windows programs are dangerous in email (Notes.exe)
>Full headers are
>  Received: from [] (mail)
>         by with esmtp (Exim 3.35 #1 (Debian))
>         id 18ag8j-0004BD-00; Mon, 20 Jan 2003 12:55:17 -0500
>  Received: from (
>         by with smtp (Exim 3.12 #1 (Debian))
>         id 18ag8h-0000F2-00; Mon, 20 Jan 2003 12:55:15 -0500
>  From: Jonathan<yjworks at>
>  To: xxxx at
>  Subject: Things to note
>  Date: Mon,20 Jan 2003 12:55:10 PM
>  X-Mailer: Microsoft Outlook Express 5.50.4133.2400
>  MIME-Version: 1.0
>  Content-Type:multipart/mixed;
>  boundary=#r0xx#
>  Message-Id: <E18ag8h-0000F2-00 at>
>Is anyone else having this problem?  Obviously this is not a big deal since
>email is still getting scanned, and I do have the subject in the full
>headers.  My guess is that this is Exim specific.

Julian Field
MailScanner thanks transtec Computers for their support

More information about the MailScanner mailing list