by jesse

whats a good webmail system?

horde! Actually, horde isn't a webmail system, and it is a web application framework, which happens to have a great mail client written for it, called imp. Imp is a pop3 and imap client. Sendmail, courier imapd, apache, mysql, php4.0, mod_ssl, horde, imp, turba(the address book component for horde), poppassd_ceti(lets users change passwords remotley), and the passwd component for horde together provide everything you need for a really nice webmail system fully supports localization and seems fairly secure.

If anyone is interested in a system like this and doesnt want to set it up themselves, im available for consulting work.

And now, some tips on setting up horde:
before you install horde setup your mySQL server. Each horde app comes with a script in it's scripts dir for making the neccesary tables in the DB.
Make sure to build apache with the newest PHP, and make sure to include support for gettext and zlib.
Untar horde in the apache doc root, then untar each app in the horde dir, that way you dont have to go through horde and change all the paths.
The easiest way to have it do the auth is to tell imp to do it's auth through imap, horde to do all it's auth through imp.
To let users change there passwords install poppassd_ceti, it's like normal poppassd(a daemon for remote password changing), but with PAM support, and install the passwd module for horde. passwd isn't on the main horde page, so you just have to search for it.
When you tell imp what imap server to auth to, the example shows the protocol as "imap/notls" the notls part is not needed, infact, it's an error and will prevent it from working right(it took me over an hour to track this one down).
It works best to just have PHP connect to mySQL via a unix socket, not a tcp socket, but by default PHP tries to connect to /tmp/mysql.sock, and mySQL by default uses /var/lib/mysql/mysql.sock by default, to make the two connect you just have to edit /etc/php.init, there is a line that is something like mySQL defaul_sock, just set it equal to /var/lib/mysql/mysql.sock
in the example config file for kronolith it doesn't mention that there is a mySQL driver for storing calendar data, there is, and it is mentioned further down in the file.
Make sure you have plenty of available disk space in /var
I've found it uasualy works best to built everything static into apache, you will need at least mod_php and mod_ssl, and i suggest mod_throttle(it does http rate limmiting) and mod_gzip, mod_perl(can be usefull for quick hacks), mod_include, mod_log_agent, mod_log_referer, and proably a few others thrown in for good measure. ANd build it all with apache toolbox, http://www.apachetoolbox.com

 


Annotation by chota :
A good place to see a really neato IMPlementation (haha, get it?) is at the University of Wisconsin-Milwaukee's PantherMail site.

 


 
Read more of   The Yak's Frequently Questioned Answers   (mod.2008-06-12)

420.   How can I use a new 40 Gig iPod with Debian and USB   [jake/2005-03-01]
406.   What are the different types of Rape Juice(tm) to quench a healthy thirst?   [n0b0dy/2004-03-08] ( leif/2004-03-09 )
399.   What are some common methods of radio-based navigation?   [overcode/2004-01-03]
351.   How can I setup netware services / mount netware servers in linux?   [jake/2003-02-25]
326.   How do I make an RJ-45 connector into a hardware loop back device (is that an ethernet jammer in your pocket) ? (or how the hell do you boot an Indy with out an ethernet cable)   [jake/2002-10-05]
280.   How do i stop konqueror from opening a new window when i go to a site using a plugin i dont have?   [jesse/2001-10-30]
224.   Which Yak people have been in the news recently?   [rupe/2001-05-24] ( macki/2001-05-29 )
172.   What were the specs of the Apollo Guidance Computer (AGC)?   [rupe/2001-02-05] ( strick/2001-02-11 )
168.   What's the Official Fag Razor of the YAK?   [strick/2001-01-29]
157.   In the intro to the Everclear song "A.M. Radio", what does the reference to KHJ Radio, Los Angeles refer to?   [rupe/2001-01-01]
88.   Where can I see the adventures of Pumpkin at 2600?   [josh/2001-04-04]
58.   How can i see how different background and font colors look?   [jamison/2000-02-12]
54.   What is the preferred word to use to refer to Windoze boxes?   [jamison/2000-02-11]
45.   Do I have JAVASCRIPT on?   [strick/2000-02-03]