Re: [EXIM] SPAM without Message-Id:

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: patl
CC: exim-users
Subject: Re: [EXIM] SPAM without Message-Id:
On Tue, 28 Jul 1998 patl@??? wrote:

> I've recently noticed some UCE/UBE arrives without a Message-Id:
> header, or with one from an intermediate site. What would be the
> best way to configure Exim 1.92 to reject any incoming message
> which has a Received: header but no Message-Id: ?


Exim (like many MTAs, but not all) adds a Message-Id to messages that
don't have them. You can detect this by putting something like this in a
system filter file

  if $sender_host_address is not "" and
     $h_message-id contains $primary_hostname


but of course that test is not 100% reliable since the message may have
gone out from your system and come back (mailing list expansion or
forwarding). The contents of the message-id added by exim are
configurable; you could arrange to add some magic text only in the case
of incoming remote messages without message ids. That would make things
better.

However, since such header lines are optional, I don't think this test
is actually going to work, and I would advise against implementing it.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***