[Esa-l] Re: How to Exempt procmail-checked mails from procmail checking

John D. Hardin jhardin at wolfenet.com
Wed Sep 13 20:30:19 PDT 2000

On Thu, 14 Sep 2000, Philip Choy wrote:

> I wonder, how to configure procmail filter, so that we can exempt
> the mails that have been already checked by procmail from procmail
> checking.
> Let us say, we have 2 mail servers, that are doing procmail
> filtering. It seems that it is redundant to do checking on mails
> from the other one. So, how to exempt them?

Take a look at the headers in a sanitized MIME message. You'll see
something like:

X-Security: MIME headers sanitized on hq.impsec.org
        See http://www.wolfenet.com/~jhardin/procmail-security.html
        for details. $Revision: 1.117 $Date: 2000-08-08 20:24:01-07

Assuming mail relay #1 is named "smtp.imcome.com.sg", you might put
something like this in the /etc/procmailrc file on the second gateway:

* ! ^X-Security: MIME headers sanitized on smtp.imcome.com.sg

 John Hardin KA7OHZ   ICQ#15735746   http://www.wolfenet.com/~jhardin/
 jhardin at wolfenet.com      pgpk -a finger://gonzo.wolfenet.com/jhardin
  768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
  "Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
  does quite what I want. I wish Christopher Robin was here."
				-- Peter da Silva in a.s.r
   46 days until Daylight Savings Time ends

More information about the esd-l mailing list