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-11-08)

419.   What is december 25th or christmas for jewish people in america?   [jake/2004-12-26]
399.   What are some common methods of radio-based navigation?   [overcode/2004-01-03]
396.   I'm lost at sea and I need to navigate to a non-extradition island republic. Can you help?   [overcode/2003-11-30]
383.   How do I translate to and from Japanese?   [novalis/2003-09-25]
335.   What is Bob?   [gopherdave/2002-11-04]
324.   whats the right command to use stunnel like an SSL version of telnet(client)?   [jesse/2002-09-08]
320.   why wont my indy receive a kernel via tftp?   [jesse/2002-08-10]
296.   how do i make a tofurkey?   [jesse/2001-12-10]
287.   How do I make a VCD (Video CD)?   [combee/2001-11-19]
255.   why is the text on some website(such as kernel.org) unreadable in konqueror at the default font size?   [jesse/2001-07-09]
213.   When and where is the next space launch?   [rupe/2001-04-17]
175.   What's the best wine with chocolate chip cookies?   [strick/2001-02-11]
167.   What are the hardware specs on a Cybiko?   [rupe/2001-01-24]
162.   What Internet drafts are in the RFC queue currently?   [rupe/2001-01-09]
130.   How do I resolve the incompatibility of many older Mac applications with OS9?   [rupe/2000-10-08]
127.   How can I make the "whois" command work like before?   [robey/2000-09-28]
99.   Can I legally use electronic countermeasures on my vehicle in California?   [rupe/2000-05-23]
74.   How many roads must a man walk down?   [vonguard/2000-04-04]
70.   How can I get info from my (email-capable) cellfon?   [robey/2000-02-29]
68.   What are Nana's rats names?   [nana/2000-02-28]
55.   How can i find out what other websites have links to my website?   [jamison/2000-02-11]
44.   What web pages are by VONGUARD?   [strick/2000-02-02]
33.   What is 'netpbm' ?   [strick/2000-01-26]
27.   What is Bleech made from   [vonguard/2000-01-23] ( rupe/2001-05-30 )
20.   What is a good tool to beautify HTML? Can it handle the mess generated by many web-page generation programs, especially the bloated files created by Word2000?   [jamison/2000-02-10]