procmail
[Top] [All Lists]

Re: checking the version

1998-06-11 13:10:51
| To answer that question, try something like:
|     LOG=`hostname; uname -a; procmail -v`
| for a while and see what emerges.  Perhaps they have 3.11pre7 installed
| only on some machines.

I've felt for a while that it would be nice if procmail had some clean way
to check its version, say a $VERSION or $PROCMAIL_VERSION read-only variable.
That way one could make sure that the binary can handle certain recipes
before attempting to use them (and shunt to another rcfile if necessary).

I agree.  Maybe I'll write a patch...

Once you've compiled a list of procmail to hostname mappings, you could
use the HOST variable to do this type of conditional matching. 

Chris

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