Blank Subject in Notices to System Administrators (Exim)
Julian Field
mailscanner at ecs.soton.ac.uk
Mon Jan 20 18:23:55 GMT 2003
Can you try this for me?
Edit /usr/lib/MailScanner/MailScanner/Exim.pm and change line 480 from
if ("subject" eq lc $1) {
to
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 online.sh.cn>
>IP Address: 199.105.164.4.22033
> Recipient: xxxx at sensis.com
> 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 smtpmail.sensis.com [199.105.164.4] (mail)
> by dimstar.syr.sensis.com with esmtp (Exim 3.35 #1 (Debian))
> id 18ag8j-0004BD-00; Mon, 20 Jan 2003 12:55:17 -0500
> Received: from bgp385601bgs.jersyc01.nj.comcast.net (smtpmail.sensis.com)
>[68.36.35.194]
> by smtpmail.sensis.com with smtp (Exim 3.12 #1 (Debian))
> id 18ag8h-0000F2-00; Mon, 20 Jan 2003 12:55:15 -0500
> From: Jonathan<yjworks at online.sh.cn>
> To: xxxx at sensis.com
> 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 smtpmail.sensis.com>
>=====================================
>
>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.
>
>Thanks.
>
>Jason
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list