ESET Linux Mail Security安裝完成之後,我們必須
1.)輸入使用者名稱和密碼
2.)設定自動更新
3.)匯入授權証 (License File)
1.) 輸入使用者名稱和密碼
編輯/etc/esets/esets.cfg,在update中輸入註冊電郵所提供的使用者名稱和密碼
# username = "username" # Username used in authentication against ESET server. username = "EAV-12345678" # password = "password" # Password used in authentication against ESET server. password = "samplepwd" |
2.) 自動更新設定
編輯av_update_period & as_update_period
av_update_period:設定病毒防護自動更新間隔時間,如輸入60即等如60分鐘
as_update_period:設定垃圾郵件防護自動更新間隔時間,如輸入60即等如60分鐘
av_update_period = 60 as_update_period = 60 |
3.) 匯入授權証
把license file複製到 etcesetslicense.
>cp /eset.lic /tec/esets/license |
重新啟動 esets_daemon 服務讓所有的設定更改生效。
>service esets_daemon restart |
ESET Mail Security設定
編輯 /etc/esets/esets.cfg 中的[smtp]去設定ESET Main Security
[smtp] agent_enabled = yes num_proc = 1 num_thrd = 2 listen_addr = "0.0.0.0" listen_port = 2526 server_addr = "your-ip" server_port = 2525 add_header_xvirus = yes add_header_received = no |
重新啟動 esets_daemon 服務讓所有的設定更改生效。
>service esets_daemon restart |
以Postfix為例子
編輯 /etc/postfix/master.cf, 加入以下內容
*content_filter為必須要的選項,但不須輸入任何資料
localhost:2525 inet n - n - - smtpd -o myhostname=test.eset.hk -o disable_dns_lookups=yes -o local_recipient_maps= -o content_filter= |
編輯 /etc/postfix/main.cf, 加入以下內容
Content_filter = [127.0.0.1]:2526 |
重新啟動 esets_daemon 服務讓所有的設定更改生效。
>service esets_daemon restart |
如何開啓垃圾郵件防護功能
編輯 /etc/esets/esets.cfg
as_enabled = yes action_on_spam = "accept" action_on_spamnotscanned = "accept" |
如何開啓While list
第一, 編輯 /etc/esets/esets.cfg中的[smtp], 請增加“user_config = esets_smtp_spec.cfg”
[smtp] User_config = esets_smtp_spec.cfg |
第三,編輯/etc/esets/esets_smtp_spec.cfg, 請新增white list的電郵地址
[while list] action_on_processed = accept as_enabled = no [|test@test.com] Parent_id = “white_list” |
如何設定Spam Mail
編輯 /etc/esets/esets.cfg
as_enabled = yes action_on_spam = “accept” action_on_spamnotscanned = “accept” |
進入 /etc/esets/anti-spam
有六個不同的程度選擇:
Spamcatcher.conf.faster
Spamcatcher.conf.fastest
Spamcatcher.conf.least_memory
Spamcatcher.conf.less_memory
Spamcatcher.conf.more_accurate
Spamcatcher.conf.most_accurate
使用者可以選擇最適合的並更名為Spamcatcher.conf
>cp 選擇的Spamcatcher Spamcatcher.conf >service esets_daemon restart |