forked from Lainports/freebsd-ports
Installation of mail/squirrelmail places the ports documentation
in PREFIX/squirrelmail, and you are not able to not install
the documentation with NOPORTDOCS.
- installs all documentation to the DOCSDIR directory
- fixes security of the port by moving the attachment
and user preferences out of the web servers document
root (moves default data_dir & attachment_dir from
SQUIRRELDIR/data to sub-directorys under
/var/spool/squirrelmail) as recommended on the
SquirrelMail web site.
- adds a periodic/daily script to clean the attachment
directory of abandoned files (disabled by default)
- location of squirrelmail can be set by either defining
SQUIRRELDIR or WITHOUT_WWWDIR when patching and installing
the port.
- BENTO FIX: The /var/spool/squirrelmail directory is
created by pkg-install, but it wasn't being uninstalled.
Connditionalized the creation of this directory depending
on how the BATCH variable is set. A message in pkg-deinstall
advises the port user to remove it if no longer needed.
PR: ports/50840
Submitted by: Scot W. Hetzel <hetzels@westbend.net>
Approved by: Maintainer timeout
17 lines
628 B
Text
17 lines
628 B
Text
|
|
You now need to add an alias to apache's httpd.conf pointing to
|
|
%%SQUIRRELDIR%% in order to access SquirrelMail from
|
|
your web browser, or create a VirtualHost with DocumentRoot set
|
|
to that directory.
|
|
|
|
For SquirrelMail to work properly you will need to make sure the
|
|
following option is set in your php.ini file:
|
|
file_uploads = On
|
|
|
|
If you have problems with SquirrelMail saying "you must login" after
|
|
you just have, the following php.ini option may help:
|
|
session.auto_start = 1
|
|
|
|
In order to do your administrative configuration you need to
|
|
cd %%SQUIRRELDIR%% && ./configure
|
|
SquirrelMail will not work until this has been done.
|