[LUGOS] Mail2MySQL

Iztok Umek iztok at si-con.com
Wed Nov 27 22:22:55 CET 2002


Rok Krulec <Rok.Krulec at fpp.edu> said:

> Zivijo,
>
> ker rabim mocen iskalni stroj za iskanje po eMailih, bi bilo cas da si vse
> skupaj spravim v neko bazo, preferably MySQL. Imam vse maile od 1993 v
> mbox formatu in bi jih rad spucal v neko bazo, brez attachmentov seveda.
>
> Ali obstaja kaksen program, ki pobere eMail sporocilo iz stdin in ga
> dostavi v MySQL bazo. Rabim namrec neko referenco oz. ce je delujoc koncni
> produkt = toliko boljse, itak bom verjetno spet vse sam mogu napravit.

http://www.cpan.org/modules/by-category/19_Mail_and_Usenet_News/Mail/Mail-MboxParser-0.37.readme

http://www.cpan.org/modules/by-category/19_Mail_and_Usenet_News/Mail/Mail-MboxParser-0.37.tar.gz

Mail::MboxParser is a module for working with UNIX-flavoured mailboxes.
This document describes version 0.37.

Its purpose is to _easily_ extract messages from a mailbox with _simple_
access to header fields, body and MIME-parts. It is for those people who
find the above two module-sets too confusing and heavy-weighted. See the
list of provided methods below.
It is particularly easy to deal with any kind of attached files. See the
supplied store_att.pl script for an example.



Potem pa kak DBD/DBI pa v MySQL.



--
Iztok Umek
Smart Information Consulting
CCSA/CCSE, SCSA/SCNA, GISO




More information about the lugos-list mailing list