Location of MBOX PEAR Module

software development

#1

HI All,

Hope someone can help me here, I am new to the Unix world and stumbling about in the dark (Although I suppose you could say that I come from the Dark Side as all my programming and web dev has been in a Microsoft environment :slight_smile: ). Anyway like a good developer you don’t write new code you just pinch someone elses, and I’ve put together a site with a web forum integrated to mailman, and Joomla! CMS along with other pretty tools :slight_smile:

What I want to do before anouncing it to the world in general, is to import an MBOX archive of an existing Forum of which I am a member I have found a script to do this and would like to run it, but I am having trouble locating something called the MBOX PEAR Module, anyone know if its installed and if so where to find it?

The Script needs it Here

/* THIS SCRIPT REQUIRES THE MBOX PEAR MODULE TO OPERATE */

define(“MBOX_FILE”, “/path/to/somearchive.mbox”); //THE MBOX FILE YOU WISH TO LOAD
define(“SCRIPT_LOCATION”, “/path/to/maillist.php”);
define(“MBOXPHP_LOCATION”, “/usr/local/php/lib/php/Mail/mbox.php”); //THE MBOX PEAR MODULE
define(“FORUM_ID”, 5); //THE FORUM YOU WISH TO IMPORT INTO

TIA Aleman


#2

You can download it from the PEAR repository:

http://pear.php.net/package/Mail_Mbox


If you want useful replies, ask smart questions.