Tải bản đầy đủ (.pdf) (5 trang)

Thiết lập Spamassassin Hệ điều hành máy chủ Asianux Server 3

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (325.16 KB, 5 trang )


Thiết lập Spamassassin
Thiết lập Spamassassin
Hệ điều hành máy chủ
Hệ điều hành máy chủ
Asianux Server 3
Asianux Server 3
VietSoftware Inc.
Asianux Vietnam
Ha noi, 16-20/06/2008

Phiên bản cài đặt
spamassassin-3.1.9-1
Cấu hình spamassassin
file etc/mail/spamasassin/local.cf
# How many hits before a message is considered spam.
required_hits 5.0
# Add *****SPAM***** to the Subject header of spam e-mails
rewrite_header Subject *****SPAM*****
# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
report_safe 1
# Use Bayesian classifier (default: 1)
use_bayes 1
# Bayesian classifier auto-learning (default: 1)
bayes_auto_learn 1
bayes_path /home/spamd/
bayes_file_mode 0666

Chạy 2 lệnh sau để trao quyền cho SpamAsassin
#groupadd –g 505 spamd


#useradd -u 505 -g 505 -s /sbin/nologin -d /home/spamd spamd
Bật tắt dịch vụ
service spamassassin start
service spamassassin stop
Kiểm tra dịch vụ
Khởi động
service spamassassin start
Starting spamd: [OK]
Kiểm tra trạng thái của dịch vụ
service spamassassin status
spamd (pid 3144 3143 3044 ) is running...

Tài liệu tham khảo


/>
/>

Thank you!
Thank you!

×