procmail
[Top] [All Lists]

Re: Procmaillog and LOG variable

2003-03-05 02:39:04
On 4 Mar 2003 Don Hammond (throwaway-aye6CPwTejPe(_at_)tradersdata(_dot_)com) 
wrote:

NL="
"

LOG="`formail -XX-Spam-Level`$NL"


I have a question about efficiency and optimization. I do this
type of thing using a recipe like this:

:0
* ^\/X-Spam-Level:.*$
{ LOG="$MATCH" }

It seems to me that this would be more efficient since there's no
call to formail, but I don't know. What would be the most
efficient way to do this type of logging?

Thanks,
Nancy

-- 
       PROCMAIL  <http://www.ii.com/internet/robots/procmail/qs/>
           IMAP  <http://www.ii.com/internet/messaging/imap/isps/>
           PINE  <http://www.ii.com/internet/messaging/pine/>

--  I N F I N I T E  I N K    www.ii.com    N A N C Y  M c G O U G H  --

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>