procmail
[Top] [All Lists]

Re: exit current script before end of aka goto|return|exit|jump

2005-02-04 13:48:28
Ruud wrote,

Q: Why is there no need to write   SWITCHRC = "$HOME/.procmailrc"
A: Because "$HOME/.procmailrc" is already standing in line, waiting
 for /etc/procmailrc to finish.

Not only that! If you write SWITCHRC = "$HOME/.procmailrc" and somewhere in $HOME/.procmailrc or in a SWITCHRC called from it, the user unsets SWITCHRC or sets it to /dev/null as an intentional quick exit with a save to $DEFAULT, instead, procmail will go back to the start of $HOME/.procmailrc. You'd be setting up an unexpected situation for the user.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail