上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
juan Site Admin
註冊時間: 2004-03-31 文章: 54 來自: Taiwan
|
發表於: 星期三 九月 26, 2007 5:47 pm 文章主題: Sendmail + SASL |
|
|
1, 先安裝 /usr/ports/security/cyrus-sasl2
2, 再編輯 /etc/make.conf
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
3, cd /usr/src/usr.sbin/sendmail
如果有 make buildworld 過的話, 請先 make clean,
然後 make && make install
4, 在 /etc/mail/{host_name}.mc 後面加這三行
dnl The following lines are used to enable CYRUS-SASL function
TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl
5, 然後去/etc/mail底下 make clean ; make all install ; make restart _________________ This is Juan (https://juan.tw)
I'd like to be a teardrop,
To be born in your eye,
To live my life on your cheek,
And on your lips to die. |
|
回頂端 » |
|
|
juan Site Admin
註冊時間: 2004-03-31 文章: 54 來自: Taiwan
|
發表於: 星期四 十月 04, 2007 2:21 pm 文章主題: |
|
|
還少了一個 port 要安裝
#cd /usr/ports/security/cyrus-sasl2-saslauth
#make install
#/usr/local/etc/rc.d/saslauthd start
安裝並啟動後
記得修改 /etc/rc.conf 加上
saslauthd_enable="YES"
讓saslauthd 可以在開機後自動啟動 _________________ This is Juan (https://juan.tw)
I'd like to be a teardrop,
To be born in your eye,
To live my life on your cheek,
And on your lips to die. |
|
回頂端 » |
|
|
|
|