procmail
[Top] [All Lists]

Nested recipes... (sorry if this is sent twice.. )

2005-01-22 16:14:17
Hi.. me again :)

In testing this recipe (at the end of the email) by sending email to
root(_at_)wingfoot(_dot_)org, I see in my logs that it *does* seem to match
^TO_root(_at_)wingfoot(_dot_)org, which I would expect... :) But it doesn't 
match
after that..??

(Root mail--Wing)
procmail: Skipped ".Root/"
procmail: Skipped ".DataBasement.Root/"
(-- No matches in procmail recipes)
From ges(_at_)wingfoot(_dot_)org  Sat Jan 22 17:17:00 2005
Subject: testing..10
 Folder:
/home/ges/Maildir/new/1106432222.78196_0.caduceus.wingfoot.o     1594

I'm hoping this is another "needing a second pair of eyes" thing.. My
hope here, is to be able to "group" certain rules together.. like "*
^List-Post:(_dot_)*(_at_)freebsd(_dot_)org" then go into a nest and break it 
out from
there ("* ^List-Post:.*questions@" etc...)

Am I on the right road? Is this a futile attempt? The example (sort of)
that I saw http://perlcode.org/tutorials/procmail/proctut/proctut7.pod
showed me this recipe, which is what I used for a template:

:0
* > 20000
{
   :0 fw
   | virus_scanner

   :0:
   * ^X-Virus-Scanner: infected
   /dev/quarantine
}

Here is my recipe...

# Root Emails...
:0
* ^TO_root@
{
   :0
   * ^TO_root(_at_)wingfoot(_dot_)org
   {
       LOG="(Root mail--Wing)$NL"
       .Root/
   }
   :0
   * ^TO_root(_at_)databasement(_dot_)org
   {
       LOG="(DataBasement Root Mail)$NL"
       .DataBasement.Root/
   }
}

Again, thank you all in advance.. :)

Best,
--Glenn

--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
          ~Benjamin Franklin, Historical Review of Pennsylvania, 1759

____________________________________________________________
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