procmail
[Top] [All Lists]

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

2005-02-04 08:03:18
On Fri, 04 Feb 2005, 15:05 GMT+01 Ruud H.G. van Tol wrote:

Toen wij Robert Allerstorfer kietelden, kwam er dit uit:

Unsetting SWITCHRC within '/etc/procmailrc' seems to be the same 
as my suggestion.

No, SWITCHRC is like a GOTO, INCLUDERC like a GOSUB.

sure, but if the INCLUDERC occurs directly before delivering to
$DEFAULT the bahaviour is the same. I would define SWITCHRC as a
INCLUDERC with exiting afterwards.

rob.


____________________________________________________________
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