nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] somewhat OT: re procmail or ??

2012-09-12 08:42:56
Hi rader,

I'm mostly interested in answering the question "which folder did the
recent msg FROM so-and-so@somewhere go into?"

I haven't been following the thread, having not used procmail in years,
but would this do?  (Untried.)

    for f in `folders -fast`; do
        pick -seq lp -from foo +$f && mhpath lp:-1
    done |
    tail -1 |
    xargs -r ls -ltr

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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