Re: [EXIM] SPAM without Message-Id:

Top Page
Delete this message
Reply to this message
Author: patl
Date:  
To: Philip Hazel
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.


That still doesn't quite do what I was looking for; but I think
you obliquely answered my question. (The answer being: 'Do it in
a system filter'.)

> 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.


You are right. My mistake was in thinking that Message-Id was
required. Since it isn't, there isn't much point in trying to
filter on it.


-Pat

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