[Esd-l] Bypassing for known users

John D. Hardin jhardin at impsec.org
Fri Feb 28 21:36:13 PST 2003


On Fri, 28 Feb 2003, Kenneth Porter wrote:


> I'd like to bypass the scanner for mail within my LAN. Is there some way in
> procmail to identify messages that arrived on a particular interface? (I
> know I can't trust the message body.)

Look for a Received: header showing that your mail server received the
message from your LAN IP network. e.g.:

> Received: from [10.69.3.69] (uugw.kensingtonlabs.com [65.200.126.98])
> 	by home.sewingwitch.com (8.11.6/8.11.6) with ESMTP id h2139UO16443
> 	for <esd-l at spconnect.com>; Fri, 28 Feb 2003 19:09:30 -0800

:0
* ! ^Received: from .10\.69\.3\.[0-9]+.* by home\.sewingwitch\.com 
{
  INCLUDERC=/etc/procmail/html-trap.procmail
}

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin at impsec.org                        pgpk -a jhardin at impsec.org
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
 ...voice or no voice, the people can always be brought to the bidding
 of the leaders. That is easy. All you have to do is tell them they
 are being attacked and denounce the pacifists for lack of patriotism
 and exposing the country to danger. It works the same way in any
 country.
                                            -- Hermann Goering
-----------------------------------------------------------------------
   83 days until The Matrix Reloaded



More information about the esd-l mailing list