[PLUG] imap retrieval

Michael Montagne montagne at boora.com
Tue Jun 3 10:01:02 UTC 2003


>On about 02/06/03, Wil Cooley was heard to proclaim:

> On Mon, 2003-06-02 at 12:17, Michael Montagne wrote:
> > I need to automate the download of messages from an Exchange Mail
> folder
> > (or two).  I tried to use fetchmail but there are numerous incorrect
> > headers (these are spam messages) that cause fetchmail to not downlaod
> > anything.  This is documented on their mailing list as an issue, but
> > since messages with this problem are usually spam, they are not
> > concerned.  So I need to find a way to retrieve the mails and put them
> > in a mailbox on a linux machine.  I need these so I can run sa-learn
> on
> > them, therefore the headers should be unaltered.  
> 
> You might try writing your own client in Perl or Python.  Both have
> modules for speaking IMAP.  A couple hours with RFC 2060 and the man
> pages and you should be good to go.
> 
> Wil

That was so easy.  Thanks for the tip!!

-- 
  Michael Montagne  http://www.themontagnes.com  503.226.1575 
--    




More information about the PLUG mailing list