系统不断地提示:
postfix/smtpd[6217]: sql_select option missing
postfix/smtpd[6217]: auxpropfunc error no mechanism available
解决:
编辑/usr/local/lib/sasl2/smtpd.conf文件,修改为以下内容
pwcheck_method:authdaemond
log_level:3
mech_list: PLAIN LOGIN
authdaemond_path:/var/run/authdaemond/socket //注意真实路径。
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: localhost
sql_user: extmail
sql_passwd: extmail
sql_database: extmail
sql_select: select password from mailbox where username='%u'
(如果修改了extmail数据库的名称、用户及密码,请填写正确的参数。)
搞定!
登陆extman后,默认页上总有一行:Connection refused
解决:
执行# /usr/local/www/extman/daemon/cmdserver --daemon
并将该行追加到/etc/rc.conf文件内:
# echo /usr/local/www/extman/daemon/cmdserver --daemon >> /etc/rc.conf
fatal:open database /etc/aliases.db: No such file or directory
解决:
下面这一行添加到/usr/local/etc/postfix/main.cf里面,或者将原有的行修改成下面这样也可以:
FETCH_BEFORE_ARGS= -a/( -n 10 -a)
FETCH_AFTER_ARGS=
DISABLE_SIZE=yes
WITHOUT_X11=yes
WITHOUT_IPV6=yes
WITHOUT_PRINT=yes
MASTER_SITE_OVERRIDE?=http://ports.hshh.org/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=http://ports.cn.freebsd.org/${DIST_SUBDIR}/
MASTER_SITE_BACKUP?=ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBFIR}/\
[root@FreeBSD /usr/ports/textproc/linux-expat]# make install clean
===> linux-expat-1.95.8_2 bsd.linux-rpm.mk test failed: default package building at
OSVERSION>=800076 was changed to linux-f10 ports, please define OVERRIDE_LINUX_NONBASE_PORTS
to build other linux infrastructure ports.
*** Error code 1
解决:
将
OVERRIDE_LINUX_BASE_PORT=f10 //注意:系统内安装的emulators必须也为f10,否则这里要写相对应的emulators版本。
OVERRIDE_LINUX_NONBASE_PORTS=f10 //注意:系统内安装的emulators必须也为f10,否则这里要写相对应的emulators版本。
这两行添加到/etc/make.conf文件内,重新安装即可。





