[ale] Fetchmail IMAP backup

Chris Fowler cfowler at outpostsentinel.com
Tue Jan 3 21:07:20 EST 2017


> From: "Steve Litt" <slitt at troubleshooters.com>
> To: ale at ale.org
> Sent: Tuesday, January 3, 2017 7:05:41 PM
> Subject: Re: [ale] Fetchmail IMAP backup

> I'm not sure how procmail can use an external command to decide
> something, but I bet it can, thereby accommodating your programming to
> look in spreadsheets and the like.

A rule like this 
:0: 
* YADA YADA 
| ~/myprogram.pl 

YADA is search criteria if required. 

So far I've got his working and I have it handling MIME Attachments. It keeps a track of all #s it sees in the email body and appends it to a file, named with the number, that is mbox format. I can use mutt to read that and see all history of that target. 

I ran into one issue where the history ended in 6/30/16, but I have it active till 6/30/17. After 15 minutes I found that info in a spreadsheet where they listed the #s, but the email body does not reference it. 

I now need to parse the XLSX. I'll try DBD::Excel which allows me to loop through each cell without k knowing the schema. 
I'll keep track of the #s found in that and append that email to mbox file described above. 

I have found some PDFs. I've parsed those in the past too. :) 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20170103/9ba97c61/attachment.html>


More information about the Ale mailing list