procmail
[Top] [All Lists]

Re: Procmail 4.0 WishList

2004-06-26 17:19:51
On Jun 26, 2004, at 1:47 PM, Google Kreme wrote:

formail as a plugin, DNS lookups as a plugin.  Sounds great to me.

Me2.

But PCRE matches?  Multiple actions per recipe?  These will take more
than just a plugin architecture, and I think both of these would be
welcome additions to procmail.

Yeah.

I do like the > + idea Micheal had, since it very clearly indicates
when a message is no longer going to be processed and when it is.

Which was my point, yes.

It's not a huge deal, of course, but I see something like this:

:0  (zero is deprecated, but ignored)
* condition
| (external -option) >mailbox

How about this?

        /condition/
        | (external -option) > mailbox

It occurs to me that if we have the PRCE's leading "/", that we don't need the "*" at all,
and the ":" can be kept around to specify options like ":D".

Another example I've been thinking about is the classic:

        # Keep a backup of the last 32 messages.
        ? [ -d backup ]
{ ::; + backup; | cd backup; rm -f dummy `ls -t msg.* | sed -e 1,32d`; }

The "::;" gets a default lock, BTW, which is released by the "}".

Aloha mai Nai`a!
--
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."


____________________________________________________________
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

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