关于Log的设置
> authoptional /lib/security/pam_mysql.so
> user="root"\
> passwd="senha"
> host="localhost"\
> db="postfix"\
> table="mailbox"\
> usercolumn="username"\
> passwdcolumn="password"\
> sqllog=0\
> logtable="log"\
> logmsgcolumn="msgcolumn"\
> logusercolumn="usercolumn"\
> loghostcolumn="hostcolumn"\
> logpidcolumn="pidcolumn"\
> logtimecolumn="timecolumn"\
> crypt=1
>
> #
> accountsufficient/lib/security/pam_unix_acct.so
> accountrequired/lib/security/pam_mysql.so
> user="postfix"\
> passwd="senha"\
> host="localhost"\
> db="postfix"\
> table="mailbox"\
> usercolumn="username"\
> passwdcolumn="password"\
> sqllog=0\
> logtable="log"\
> logmsgcolumn="msgcolumn"\
> logusercolumn="usercolumn"\
> logpidcolumn="usercolumn"\
> loghostcolumn="hostcolumn"\
> logtimecolumn="timecolumn"\
> crypt=1
>