It appears that macro expansion can only be done in certain places.

This works:

macro rcvstore deliver=|~cwg/bin/lockedrcvstore
macro FOLDER Housekeeping/test
from-file -optional ~/.tmda/filters/me                          rcvstore FOLDER 
-nounseen
from-file -optional ~/Mail/Housekeeping/test/.drop              drop
from-file -optional ~/Mail/Housekeeping/test/.author            rcvstore FOLDER 
-sequence author
from-file -optional ~/Mail/Housekeeping/test/.knowledgeable     rcvstore FOLDER 
-sequence knowledgeable
from-file -optional ~/Mail/Housekeeping/test/.whitelist         deliver

While this does not:

macro rcvstore deliver=|~cwg/bin/lockedrcvstore
macro FOLDER Housekeeping/test
from-file -optional ~/.tmda/filters/me                  rcvstore FOLDER -nounseen
from-file -optional ~/Mail/FOLDER/.drop                 drop
from-file -optional ~/Mail/FOLDER/.author               rcvstore FOLDER -sequence 
author
from-file -optional ~/Mail/FOLDER/.knowledgeable        rcvstore FOLDER -sequence 
knowledgeable
from-file -optional ~/Mail/FOLDER/.whitelist            deliver

I'm using 0.62.

Also, is there a way I can define my rcvstore macro globally so that I don't 
have to put the definition in each of my filters?

Chris

-- 
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
virCIO                          http://www.virCIO.Com
716 Congress, Suite 200
Austin, TX  78701               +1 512 374 0500

  World War III:  The Wrong-Doers Vs. the Evil-Doers.



Attachment: msg00300/pgp00000.pgp
Description: PGP signature

Reply via email to