procmail
[Top] [All Lists]

Resend: Nesting INCLUDERC's...

2002-01-03 12:58:24
[This is the fourth post that I'm resending.]

Ashton MacAndrews asked,

| I was just looking at spambouncer and noted that it included all files
| even if variables prevented the rules from being used.  Do conditionals
| prevent INCLUDERC from being included or just from being processed?

I'm not sure what you mean.  Being included and being processed are the same
thing.  Procmail does only one pass through the rcfiles: it doesn't read
ahead to the end, doing some sort of run-time compile, and then process the
message from the beginning; it just reads as it goes.

So if you have this:

 :0 flags
 * conditions
 { INCLUDERC=somefile }

and the conditions are met, somefile is read, included, processed, tickled,
soaked, sued, escorted to the prom, whatever term you want to use.  If the
conditions are not met, the value of INCLUDERC is not changed (a subsequent
reference to $INCLUDERC will source its previous value, if any), and
somefile is just ignored; it is not read, included, processed, tickled,
soaked, sued for anything, nor escorted anywhere.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Resend: Nesting INCLUDERC's..., David W. Tamkin <=