OT: Sendmail/Procmail Filtering on Solaris 8 boxen...

From: Ryan A. Krenzischek (krenzischek@Encompasserve.org)
Date: Mon Apr 14 2003 - 11:39:44 EDT


Greetings Sun Managers!

I'm trying to do some sendmail/procmail filtering on Solaris 8. The
configuration of the boxes are to function as email gateways. They queue
mail for delivery to other mail systems but never deliver mail locally.

What I'm trying to accomplish is that sendmail passes each email through
procmail (e.g. for content control).

My problem arises when I need to take procmail offline. When I RTFM for
procmail, the FM says:

          R$*<@some.where>$*
            $#procmail $@/etc/procmailrcs/some.rc $:$1@some.where.procmail$2
          R$*<@$*.procmail>$*
            $1<@$2>$3 Already filtered, map back

This works great until you need to take procmail offline and let email
traffic continue. It adds ".procmail" to the email address, thus becomes
undeliverable when procmail is not present.

Is there a better way to tag the emails so that it never touches the email
address that could function as a anti-loop mechanism? E.g. a X-Procmail:
header? Please note that no email is delivered locally.

Any other suggestions?

TIA.

Ryan
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:11 EDT