メールサーバーでウイルスチェック(Postfix+Clam AntiVirus+milter-manager+clamav-milter)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[CentOS7]]
*メールサーバーでウイルスチェック(Postfix+Clam AntiVirus+...
''[[Clam AntiVirus>http://www.clamav.net/]]''を使用してメ...
[[メールサーバー(Postfix)>Postfix+Dovecotインストール]]...
ここでは、自宅サーバーに構築したメールサーバーに外部から...
&color(red){※[[メールサーバー>Postfix+Dovecotインストー...
*clamav-milterインストール [#pabe6694]
EPELリポジトリ導入(EPEL)を参照してEPELリポジトリを導入する
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# yum -y install clamav-milter clamav-...
*clamav-milter設定 [#uf8acc8a]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# vi /etc/mail/clamav-milter.conf &col...
|# Comment or remove the line below. &br; #Example &color...
*clamav-milter起動 [#r6a9240b]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# systemctl start clamav-milter &color...
|[root@localhost ~]# systemctl enable clamav-milter &colo...
*milter-managerインストール ※既に導入済の場合は不要 [#de8...
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# curl -s https://packagecloud.io/inst...
|[root@localhost ~]# yum -y install milter-manager &color...
*milter-manager起動※既に導入済の場合は不要 [#d0401c69]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# systemctl start milter-manager &colo...
|[root@localhost ~]# systemctl enable milter-manager &col...
*Postfix・milter-manager連携設定※既に導入済の場合は不要 [...
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# vi /etc/postfix/main.cf &color(lime)...
|&color(lime){下記を追加}; &br; milter_protocol = 6 &br; ...
|[root@localhost ~]# usermod -G milter-manager -a postfix...
|[root@localhost ~]# systemctl reload postfix &color(lime...
*milter-manager・clamav-milter連携設定 [#wd4c936b]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# usermod -G clamilt -a milter-manager...
|[root@localhost ~]# systemctl restart milter-manager &co...
*clamav-milter確認 [#u58b341b]
自分自身に空メールを送ってみて、受信したメールのヘッダに...
''X-Virus-Scanned: clamav-milter 0.99.2 at hoge.com''
*ウイルスチェック確認 [#k591f9be]
-自分自身にテストウイルスメール(メール本文が「''X5O!P%@AP...
-メールログ(''/var/log/maillog'')にウイルスを検知した旨...
|BGCOLOR(black):COLOR(white):|c
|Aug 28 13:01:20 hoge milter-manager[11258]: [statistics]...
終了行:
[[CentOS7]]
*メールサーバーでウイルスチェック(Postfix+Clam AntiVirus+...
''[[Clam AntiVirus>http://www.clamav.net/]]''を使用してメ...
[[メールサーバー(Postfix)>Postfix+Dovecotインストール]]...
ここでは、自宅サーバーに構築したメールサーバーに外部から...
&color(red){※[[メールサーバー>Postfix+Dovecotインストー...
*clamav-milterインストール [#pabe6694]
EPELリポジトリ導入(EPEL)を参照してEPELリポジトリを導入する
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# yum -y install clamav-milter clamav-...
*clamav-milter設定 [#uf8acc8a]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# vi /etc/mail/clamav-milter.conf &col...
|# Comment or remove the line below. &br; #Example &color...
*clamav-milter起動 [#r6a9240b]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# systemctl start clamav-milter &color...
|[root@localhost ~]# systemctl enable clamav-milter &colo...
*milter-managerインストール ※既に導入済の場合は不要 [#de8...
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# curl -s https://packagecloud.io/inst...
|[root@localhost ~]# yum -y install milter-manager &color...
*milter-manager起動※既に導入済の場合は不要 [#d0401c69]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# systemctl start milter-manager &colo...
|[root@localhost ~]# systemctl enable milter-manager &col...
*Postfix・milter-manager連携設定※既に導入済の場合は不要 [...
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# vi /etc/postfix/main.cf &color(lime)...
|&color(lime){下記を追加}; &br; milter_protocol = 6 &br; ...
|[root@localhost ~]# usermod -G milter-manager -a postfix...
|[root@localhost ~]# systemctl reload postfix &color(lime...
*milter-manager・clamav-milter連携設定 [#wd4c936b]
|BGCOLOR(black):COLOR(white):|c
|[root@localhost ~]# usermod -G clamilt -a milter-manager...
|[root@localhost ~]# systemctl restart milter-manager &co...
*clamav-milter確認 [#u58b341b]
自分自身に空メールを送ってみて、受信したメールのヘッダに...
''X-Virus-Scanned: clamav-milter 0.99.2 at hoge.com''
*ウイルスチェック確認 [#k591f9be]
-自分自身にテストウイルスメール(メール本文が「''X5O!P%@AP...
-メールログ(''/var/log/maillog'')にウイルスを検知した旨...
|BGCOLOR(black):COLOR(white):|c
|Aug 28 13:01:20 hoge milter-manager[11258]: [statistics]...
ページ名: