On 21 Feb, FireEgl (Philip) wrote:
| I want to run two recipes, one extracts attachments, the other extracts URLs
| from the message, and if either one was a success then I don't want it to go
| to $DEFAULT..
|
| How can I do this?
|
| I've tried doing it in different ways on my own with no success. I can't
| find a way to always have it run two recipies (besides making copies, which
| in turn will always make it go to $DEFAULT) =(
| Ya'll are my last hope..
Assuming you've got the two recipes working and just need help with the
delivery logic ...
:0
* condition(s) to get attachments
{
SOMEVAR=yes
:0 c
action to take care of attachment
}
:0
{
SOMEVAR=yes
:0 c
action with urls
}
:0
* SOMEVAR ?? ^^yes^^
/dev/null
SOMEVAR obviously must be the same name in both recipes, and be unique
to these recipes or always reset if it's used prior to these two.
--
/"\ Don Hammond
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL,
/ \ AND NEWS TOO
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail