- 论坛徽章:
- 0
|
d
L: 1 C: 1 =====================================================================
MYSQL_SERVER localhost
MYSQL_USERNAME postfix
MYSQL_PASSWORD postfix
MYSQL_SOCKET /tmp/mysql.sock
#MYSQL_PORT 0
MYSQL_DATABASE postfix
MYSQL_USER_TABLE mailbox
MYSQL_CRYPT_PWFIELD password
MYSQL_UID_FIELD '125'
MYSQL_GID_FIELD '125'
MYSQL_LOGIN_FIELD username
MYSQL_MAILDIR_FIELD maildir
MYSQL_HOME_FIELD '/usr/local/virtual'
ldapaddressbook:
ldapaddressbook: new
sqwebmaild:
PIDFILE: new
DEBUG_LOGIN: new
MAILDIRPATH: new
SQWEBMAIL_PREFORK: new
Add the following line to your /etc/crontab to make shure the
sqwebmail cache directory gets cleaned up.
0 * * * * bin /usr/local/share/sqwebmail/cleancache.pl
===> Compressing manual pages for sqwebmail-5.0.1
===> Registering installation for sqwebmail-5.0.1
===> SECURITY REPORT:
This port has installed the following binaries which execute with
increased privileges.
/usr/local/libexec/sqwebmail/sqwebpasswd
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/sqwebmail/sqwebmaild
/usr/local/libexec/sqwebmail/pcpd
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/sqwebmail-sqwebmaild.sh
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://inter7.com/sqwebmail/
/usr/local/www/data-dist/openwebmail/index.html
a.安装SQLWEBMAIL
cd /usr/ports/mail/sqwebmail
make install clean
修改HTTPD。CONF,把CGI的目录修改到/usr/local/www/cgi-bin下
在/etc/rc.conf 中加 sqwebmaild_enable="YES"
a.重新安装PERL
make -DENABLE_SUIDPERL all install
make clean
rehash
use.perl port
b.安装OPENWEBMAIL出现错误
===> Generating temporary packing list
===> Checking if mail/openwebmail already installed
Can't locate vars.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /dev/fd/9 line 8.
BEGIN failed--compilation aborted at /dev/fd/9 line 8.
speedy_backend[843]: perl_parse error
speedy[841]: Cannot spawn backend process
*** Error code 1
Stop in /usr/ports/mail/openwebmail.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3516/showart_49716.html |
|