分类: LINUX
2005-03-11 09:37:54
关于Log的设置
> auth optional /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
>
> #
> account sufficient /lib/security/pam_unix_acct.so
> account required /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
>