Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IMP on horde: does anyone have "howto" for setting up this webmail?

0 views
Skip to first unread message

Raqueeb Hassan

unread,
Jul 23, 2002, 4:42:58 AM7/23/02
to
Hello!

Does anyone have got a good "howto" or related FAQ for setting up IMP
on freeBSD? Any help, suggestion is *really* appreciated.

Thanks in advance.

raqueeb hassan
bangladesh

Thierry Thomas

unread,
Jul 23, 2002, 5:11:56 PM7/23/02
to
On 23 Jul 2002 01:42:58 -0700, Raqueeb Hassan wrote:
> Hello!

Hello!

> Does anyone have got a good "howto" or related FAQ for setting up IMP
> on freeBSD? Any help, suggestion is *really* appreciated.

It's not very complicated, but it's quite a long way...
The simplest is to install everything from the ports.

0) Step 0 => cvsup your ports tree!

1) You need an Apache; for IMP, mod_ssl is recommanded:
cd /usr/ports/www/apache13-modssl
Install it (make + sudo make install, or portupgrade -sN)
make certificate
configure /usr/local/etc/apache/httpd.conf
test (apachectl start / restart)

2) You need a database, MySQL by default.
Remark: the server may run on another machine, but the client is
required.
cd /usr/ports/databases/mysql323-server
Install it.
cd /usr/ports/databases/mysql323-client
Install it.
Test it (/usr/local/etc/rc.d/mysql-server.sh and
/usr/local/etc/rc.d/000.mysql-client.sh)

3) You need a mail server
-> sendmail is installed by default, but you may prefer another MTA
(postfix, etc.)

4) c-client is required
cd /usr/ports/mail/cclient
Install it (make -DWITH_SSL recommanded).

5) You need an IMAP server
There are several in the ports tree, IMP chooses UW-IMAP (easy to
configure) by default:
cd /usr/ports/mail/imap-uw
Install it (Remark: this server may run on another machine, or it may be
accessed from outside => prefer make -DWITH_SSL)
make cert
Configure it (read post-install instructions / pkg-message).
Test it...

6) You need PHP (for IMP3, PHP4 is required)
cd /usr/ports/www/mod_php4
Install it => make will open a menu: for Horde / IMP, IMAP or
IMAP-SSL, MySQL (or the database choosen at step 3), and gettext are
required. If you plan to use an advanced configuration (e.g. LDAP) or to
add other modules (e.g. Kronolith), it is recommanded to choose other
options: mcrypt, OpenLDAP2, OpenSSL, XML, MCAL, etc.

7) PEAR: unfortunately, recent mod_php4 don't include some required
modules anymore, and you have to fetch them by hand:
See <URL:http://pear.php.net/get/Log>.
Remark: once PR ports/37649 will be committed, this step will become
obsolete.

8) You need Horde (it's the framework)
cd /usr/ports/www/horde2
Install it
Read carefully the post-install instructions (pkg-message) and configure
it (you have to create some table - see
/usr/local/www/horde/scripts/db/)
Configure it (change the password!)

9) The address book - Turba - is recommanded
cd /usr/ports/mail/turba
Install it
Read carefully the post-install instructions (pkg-message) and configure
it...

10) Here we are!
cd /usr/ports/mail/imp3
Install it
Read carefully the post-install instructions (pkg-message) and configure
it...

Remark: if you have choosen another IMAP server, or another database,
etc., each Makefile accepts several options: e.g. WITH_CYRUS.

[About newsx: I have not understood that you run FreeBSD -> just
cd /usr/ports/news/newsx
and install it...]
--
Th. Thomas.

Raqueeb Hassan

unread,
Jul 26, 2002, 10:20:29 PM7/26/02
to
Hello Thomas,

Thanks very much for the help. Basically I work on both the systems,
freeBSD and linux. I was running IMP on linux, but failed on freebsd,
cause the ports are failing. Now, I'll try compiling afresh (lets see)
following your instructions.

> [About newsx: I have not understood that you run FreeBSD -> just
> cd /usr/ports/news/newsx
> and install it...]

sorry, i missed out, i think ... you are right! I run newsx on linux.
I left that part on suck for a while. I'll experiment it later this
month.

Thanks!

raqueeb hassan
bangladesh

0 new messages