On Fri, 12 Mar 2004, 16:27 GMT-05 Don Newcomer wrote:
I'm using Procmail 3.22 under Tru64 UNIX version 5.1B. I'd like to have an
INCLUDERC entry in my global procmail file but have it only happen if the
target file actually exists. I know that it will work but you occasionally
see errors if you get a major error (like an over-quota account) and you
see the "filename not found" error which can be disconcerting. So, in
essence, I'm looking for a conditional INCLUDERC for /etc/procmailrc. Is
that doable or do I just live with the "not found" errors? Thanks in
advance.
TEST = /usr/bin/test
# be sure to specify the correct path
my_INCLUDEFILE = /path/to_my/includefile.rc
:0
* $ ?"$TEST -r $my_INCLUDEFILE"
{ INCLUDERC $my_INCLUDEFILE }
best,
rob.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail