On 15-09-10 10:34, vsushkov wrote:
>
> Hi everybody.
> I need your help, please.
>
> I want to collect e-mail messages from GMail, Yahoo, Hotmail (and so on)
> mailboxes. I decide to collect it using imap. And how to store collected
> messages in the dbmail? Should I parse each message manualy? Or maybe dbmail
> has special tool to import?

Have you tried fetchmail(1)?

example /etc/fetchmailrc:

--<cut>--

set daemon 600 # poll every 10 minutes
set no bouncemail
defaults:
   antispam -1
   batchlimit 1000
   limit 10512000

poll imap.gmail.com with protocol imap
   mda "/usr/sbin/dbmail-smtp -m INBOX/gmail -u myuser"
   user [email protected]
   password somesekret;
   folder "INBOX"
   keep

--<cut>--


-- 
   ________________________________________________________________
   Paul Stevens                                      paul at nfg.nl
   NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
   The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to