Re: Help with filter-flags
LuKreme <[email protected]>
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
Arthur Dent <[email protected]> squaked out on Fri 05-Aug-2011 02:21 > return to calling recipe <--- NEEDS TO EXIT HERE! SWITCHRC on a line by itself will return to the calling recipe. > I don't know how to exit a procmail recipe and allow it to return to the > calling recipe. I have seen the SWITCHRC command - but I don't think > that is what I want here. Yep, it is. for example, in my list processing file I have the following: :0 * LISTNAME ?? macosx { LISTNAME=macosx SWITCHRC=$HOME/.boxcarrc SWITCHRC } Which means: if the LISTNAME variable contains macosx then set the LISTNAME to macosx load the recipes in $HOME/.boxcarrc exit the current file -- and I lift my glass to the Awful Truth / which you can't reveal to the Ears of Youth / except to say it isn't worth a dime