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

2007-12-25 1:03:00

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

Comments

Got something to say?

You must be logged in to post a comment.