您好,登錄后才能下訂單哦!
這篇文章給大家介紹Linux服務(wù)器中如何使用郵件服務(wù)spam,內(nèi)容非常詳細(xì),感興趣的小伙伴們可以參考借鑒,希望對(duì)大家能有所幫助。
安裝spam
spam(SpamAssassin)利用perl來(lái)進(jìn)行文字分析,他會(huì)檢測(cè)郵件的標(biāo)題、內(nèi)容、送信人,這樣就可以過(guò)濾出垃圾郵件
1、安裝spam。由于spam的依賴太多,用戶一定要使用yum源來(lái)安裝,這樣減少不必要的麻煩
|
2、配置postfix使用spam功能,修改配置文件“/etc/postfix/master.cf”
|
3、重啟postfix
|
4、啟動(dòng)spam服務(wù)
|
5、測(cè)試?yán)]件。
1)spamassassin為我們提供了一個(gè)垃圾郵件的模板“sample-spam.txt”,我們可以使用此模板的內(nèi)容來(lái)發(fā)送
|
2)使用openwebmail發(fā)信
3)查看郵箱的日志文件。Spam采用積分制,默認(rèn)超過(guò)5分就是垃圾郵件,而我們看到下面識(shí)別出的郵件是999分,很明顯是垃圾郵件
|
關(guān)于Linux服務(wù)器中如何使用郵件服務(wù)spam就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,可以學(xué)到更多知識(shí)。如果覺(jué)得文章不錯(cuò),可以把它分享出去讓更多的人看到。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。