Julien Gabel julien.gabel at thilelli.net
Tue May 20 04:17:01 PDT 2003

> i've used uw-imap (university of washington) in the past because it is
> so easy to configure and use.  just install and set inetd to run it and
> it uses your regular unix user account credentials...  haven't used it
> on freebsd though so i can't give you more specifics there...

Not too hard, especially "helped" by the ports collection.

>> I found and installed it from 4.7 under /usr/port/mail/squirrelmail
>> I don't know about easy, so far the pretty logon page comes up so I
>> guess it's not so hard. My problem is with getting an IMAP server running
>> properly. If you have any hints to help me setup up squirrel mail if
> you get it up and going send them to me.

Ok, these are the steps i followed :

* Installation of the "imap-uw" port
%su -
# portinstall -R -m '-DWITH_SSL_AND_PLAINTEXT' imap-uw
# pkgdb -F
# grep -i imap /etc/inetd.conf
imap4   stream  tcp     nowait  root    /usr/local/libexec/imapd      imapd
imaps   stream  tcp     nowait  root    /usr/local/libexec/imapd      imapd
# grep -i inetd /etc/rc.conf
inetd_flags="-wW -l -R 1024"

* Installation of the "apache+mod_ssl-1.3.27+2.8.14" port
%su -
# portinstall -R apache+mod_ssl-1.3.27+2.8.14
# pkgdb -F
/* Modify the configuration file:
   /usr/local/etc/apache/httpd.conf */
# cat /usr/local/etc/apache/httpd.conf
NameVirtualHost *
<VirtualHost *>
     ServerAdmin webmaster at domain.tld
     DocumentRoot /usr/local/squirrelmail
     ServerName webmail.domain.tld
     ErrorLog /var/log/webmail.domain.tld-error_log
     CustomLog /var/log/webmail.domain.tld-access_log common
AddType application/x-httpd-php .php

Hope this help,

More information about the freebsd-questions mailing list