Subject: Re: silent

From: "Michael J. Corrigan" <[email-masked]>
Date: Tue, 10 Jan 1995 16:10:55 -0800

> 
> A question in general:
> 
> I have a couple of reply recipes in my .procmailrc, I wonder is there a
> general way to put only once:
> 
> * !^X-Loop: [email-masked]
> * !^Subject:.*Re:
> * !^FROM_DAEMON
> * !^MAILER_DAEMON
> * !^POSTMASTER
> * !^Administrator
> * !^BIOSCI-REQUEST
> * !^From +(EARNGATE|Delivr|Deliver|DEADMAIL|LISTSERV|SMTP20|LISTPROC|server)
> * !^From +(DEAD-LETTER|owner-|-errors|-request)
> 
> in stead of putting them every time into EACH reply recipe?
> 
> Thanks in advance!
> 
> Zhiliang
> 

One way is to put all those recipes inside of
:0
{

}

with the common conditions pulled outside the braces like:

:0
common conditions
{
	:0
	specific conditions
	action

...
	:0
	specific conditions
	action
}