procmail
[Top] [All Lists]

Re: Scanning IMAP mail (first solution)

2009-11-16 20:02:23
On Mon, 2009-11-16 at 18:50 -0600, JW Simpson wrote:

On Mon, 2009-11-16 at 16:48 -0600, JW Simpson wrote:

On Mon, 2009-11-16 at 14:18 -0700, LuKreme wrote: 

On 16-Nov-2009, at 11:43, JW Simpson wrote:
Well I don't have the same mailbox setup that you have.
I've developed enough interest in your project though, that if you want
to zip up your Maildir ( with any sensitive info purged, of course ),
and e-mail it to me, I'd be happy to experiment and see what I can come
up with.


I made sure there where some new emails (11 I think) and I stripped out 
the non-current mailboxes. It's all list mail, so not at all private 
personal, etc.

(url clipped)



I have a recursive for loop for procmail if you want to get *really* fancy. 
:D

I'm sorry ... I just couldn't wait any longer :-D

        john(_at_)system76-pc:~/LuKreme/tmp$ echo "" | procmail -pm
        LuKreme.rc
        
        2 .httpd-users.2009-11
        1 .mailman-users.2009-11
        5 .mythtv-users.2009-11
        1 .postfix-users.2009-11
        2 .procmail.2009-11
        11 Total
          Folder: /dev/null       1

Just for grins; that echo "" can also be replaced with a colon.

        john(_at_)system76-pc:~/LuKreme/tmp$ :|procmail -pm LuKreme.rc
        
        2 .httpd-users.2009-11
        1 .mailman-users.2009-11
        5 .mythtv-users.2009-11
        1 .postfix-users.2009-11
        2 .procmail.2009-11
        11 Total
          Folder: /dev/null                                                     
      0
        
        john(_at_)system76-pc:~/LuKreme/tmp$ 


____________________________________________________________
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