procmail
[Top] [All Lists]

Re: Simple INCLUDERC Question

1997-11-22 23:32:25
David W. Tamkin kindly responded:

Donald Hammond asked,

[...]

| What I would like to do is have a series of statements like:
| 
|      INCLUDERC=$PMDIR/.procmail_killrc
|      INCLUDERC=$PMDIR/.procmail_friendsrc
|      INCLUDERC=$PMDIR/.procmail_spamrc
|      INCLUDERC=$PMDIR/.procmail_tmprc
| 
| in a file $PMDIR/.procmail_mainrc (that is included from ~/.procmailrc)
| to process "related" recipes in turn, then (if not successful) pass
| control to the next rc file until a successful delivering recipe is
| executed or processing falls of the end of the _last_ INCLUDERC.

That's the right way to do it.

| ... or will these need to be "chained" together with an INCLUDERC to the
| next file at the end of each one?

That's unnecessary and probably harder to maintain, as you would have to
examine each rcfile in turn to see what the next one is instead of having
a list in one place.

Which is why I hoped it would work as I expected.

[...]

| It probably doesn't matter for this question, but just in case, I am
| working with two different versions at two different accounts:
|
| procmail v3.11pre5 1997/04/03
| procmail v3.11pre4 1995/10/29

No difference for this particular question; however, 3.11pre5 and pre6 had
some bugs, so it really should be upgraded to 3.11pre7.  It would be a good
idea to upgrade both, in fact.

I looked in the HISTORY file (and elsewhere) at era's site and didn't
see any versions mentioned between 3.10 and 3.11pre7.  Any idea on
where I can find info on the bugs and anything else that might help me
plead the case for an upgrade?

Thanks for the help.  (And thanks to Timothy, too.)

 - Don


<Prev in Thread] Current Thread [Next in Thread>