Jun 21 15:18:31 mail postfix/smtpd[673]: sql_select option missing
Jun 21 15:18:31 mail postfix/smtpd[673]: auxpropfunc error no mechanism available
Jun 21 15:27:08 mail postfix/smtpd[2602]: sql_select option missing
Jun 21 15:27:08 mail postfix/smtpd[2602]: auxpropfunc error no mechanism available
Jun 21 15:27:09 mail postfix/smtpd[2611]: sql_select option missing
Jun 21 15:27:09 mail postfix/smtpd[2611]: auxpropfunc error no mechanism available
Jun 21 15:27:11 mail postfix/smtpd[2623]: sql_select option missing
Jun 21 15:27:11 mail postfix/smtpd[2623]: auxpropfunc error no mechanism available
Jun 21 15:27:13 mail postfix/smtpd[2627]: sql_select option missing
Jun 21 15:27:13 mail postfix/smtpd[2627]: auxpropfunc error no mechanism available
pwcheck_method: authdaemond
log_level: 3
mech_list:PLAIN LOGIN
authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: localhost
sql_user: root
sql_database: extmail
sql_select: select password from mailbox where username='%u'
Nov 15 16:03:26 mail postfix/smtpd[22902]: sql_select option missing
Nov 15 16:03:26 mail postfix/smtpd[22902]: auxpropfunc error invalid parameter supplied
原因是安装 cyru-sasl2 时选择了对mysql的支持,但实际的配置中并没有使用
所以引起的报错,在安装时取消对mysql的支持即可!
#################################################
#check cyru-sasl2 install
#------------------------------------------------
#[ ] MYSQL
#[X] AUTHDAEMOND
#[X] LOGIN
#[X] PLAIN
#[X] CRAM
#[X] DIGEST
#[X] OTP
#[X] NTLM
#################################################
SMTP认证设置