ソスソスソス[ソスソスソスTソス[ソスoソス[ソスナウソスCソスソスソスXソス`ソスFソスbソスN(Postfix+Clam AntiVirus+milter-manager+clamav-milter)

ソスナ終ソスXソスVソスソスソスF 2017.12.06

ソスソスソスTソスv

Clam AntiVirusソスソスソスgソスpソスソスソストソスソス[ソスソスソスTソス[ソスoソス[ソスソスソスナソスソス[ソスソスソスノ対ゑソスソスソスEソスCソスソスソスXソス`ソスFソスbソスNソスソスソスsソスソスソスB
ソスソスソス[ソスソスソスTソス[ソスoソス[(Postfix)ソスソスClam AntiVirusソスニの連ソスgソスソスmilter-managerソスソスclamav-milterソス利用ソスソスソスト行ソスネゑソスソスB
ソスソスソスソスソスナは、ソスソスソスソスTソス[ソスoソス[ソスノ構ソスzソスソスソスソスソスソスソス[ソスソスソスTソス[ソスoソス[ソスノ外ソスソスソスソスソス迹暦ソスソスソストゑソスソスソスソスソスソス[ソスソスソスyソスム、ソスソスソスソスソスソスソス迹暦ソスソスoソスソスソスソスソス[ソスソスソスフウソスCソスソスソスXソス`ソスFソスbソスNソスソスソスsソスソスソスAソスEソスCソスソスソスXソスソスソスソスソスoソスソスソスソスソス辜ソス[ソスソスソスソスjソスソスソスソスソスソス謔、ソスノゑソスソスソスB

ソスソスソスソスソス[ソスソスソスTソス[ソスoソス[ソスAソスAソスソスソス`ソスEソスCソスソスソスX(Clam AntiVirus)ソス導難ソスソスマでゑソスソス驍アソスソス


ソスソスclamav-milterソスCソスソスソスXソスgソス[ソスソス

EPELソスソスソス|ソスWソスgソスソスソスソスソスソス(EPEL)ソスソスソスQソスニゑソスソスソスEPELソスソスソス|ソスWソスgソスソスソス導難ソスソスソスソスソス

[root@centos ~]# yum -y install clamav-milter clamav-milter-systemdソス@ソスソスソス@clamav-milterソスCソスソスソスXソスgソス[ソスソス

ソスソスclamav-milterソスン抵ソス

[root@centos ~]# vi /etc/mail/clamav-milter.confソス@ソスソスソス@clamav-milterソスン抵ソスtソス@ソスCソスソスソスメ集
# Comment or remove the line below.
#Exampleソス@ソスソスソス@ソスsソスソスソスソス#ソスソスヌ会ソスソスソスソストコソスソスソスソスソスgソスAソスEソスg

MilterSocket /var/run/clamav-milter/clamav-milter.socketソス@ソスソスソス@clamav-milterソスソスUNIXソス\ソスPソスbソスgソスソスソスソスソスwソスソス

MilterSocketMode 660ソス@ソスソスソス@clamav-milterソスソスUNIXソス\ソスPソスbソスgソスフアソスNソスZソスXソスソスソスソスソスwソスソス

ClamdSocket unix:/var/run/clamd.scan/clamd.sockソス@ソスソスソス@Clam AntiVirusソスソスUNIXソス\ソスPソスbソスgソスソスソスソスソスwソスソス(/etc/clamd.d/scan.confソスソスLocalSocketソスIソスvソスVソスソスソスソスソスノ搾ソスソスせソスソス)

OnInfected Blackholeソス@ソスソスソス@ソスEソスCソスソスソスXソスソスソスソスソスソスソス[ソスソスソスヘ破ソスソス

AddHeader Yesソス@ソスソスソス@ソスソスソス[ソスソスソスwソスbソス_ソスノウソスCソスソスソスXソス`ソスFソスbソスNソスソスソス{ソスソスソスソスソス|ソスソスソスoソスソス

LogFacility LOG_MAILソス@ソスソスソス@ソスソスソスOソスoソスヘ撰ソスソスソスソスソス[ソスソスソスソスソスOソスノゑソスソスソス

ソスソスclamav-milterソスNソスソス

[root@centos ~]# systemctl start clamav-milterソス@ソスソスソス@clamav-milterソスNソスソス

[root@centos ~]# systemctl enable clamav-milterソス@ソスソスソス@clamav-milterソスソスソスソスソスNソスソスソスン抵ソス

ソスソスmilter-managerソスCソスソスソスXソスgソス[ソスソスソスソスソスソスソスノ難ソスソスソスソスマの場合ソスヘ不ソスv

[root@centos ~]# curl -s https://packagecloud.io/install/repositories/milter-manager/repos/script.rpm.sh | bashソス@ソスソスソス@milter-manager_reposソスソスソス|ソスWソスgソスソスソスヌ会ソス

[root@centos ~]# yum -y install milter-managerソス@ソスソスソス@milter-managerソスCソスソスソスXソスgソス[ソスソス

ソスソスmilter-managerソスNソスソスソスソスソスソスソスノ難ソスソスソスソスマの場合ソスヘ不ソスv

[root@centos ~]# systemctl start milter-managerソス@ソスソスソス@milter-managerソスNソスソス

[root@centos ~]# systemctl enable milter-managerソス@ソスソスソス@milter-managerソスソスソスソスソスNソスソスソスン抵ソス

ソスソスPostfixソスEmilter-managerソスAソスgソスン抵ソスソスソスソスソスソスノ難ソスソスソスソスマの場合ソスヘ不ソスv

[root@centos ~]# vi /etc/postfix/main.cfソス@ソスソスソス@Postfixソスン抵ソスtソス@ソスCソスソスソスメ集
ソスソスソスLソスソスヌ会ソス
milter_protocol = 6
milter_default_action = tempfail
milter_mail_macros = {auth_author} {auth_type} {auth_authen}
smtpd_milters = unix:/var/run/milter-manager/milter-manager.sock

[root@centos ~]# usermod -G milter-manager -a postfixソス@ソスソスソス@milter-managerソスOソスソスソス[ソスvソスソスpostfixソスソスソス[ソスUソス[ソスソスヌ会ソス

[root@centos ~]# systemctl reload postfixソス@ソスソスソス@Postfixソスン定反ソスf

ソスソスmilter-managerソスEclamav-milterソスAソスgソスン抵ソス

[root@centos ~]# usermod -G clamilt -a milter-managerソス@ソスソスソス@clamiltソスOソスソスソス[ソスvソスソスmilter-managerソスソスソス[ソスUソス[ソスソスヌ会ソス

[root@centos ~]# systemctl restart milter-managerソス@ソスソスソス@milter-managerソスト起ソスソス

ソスソスclamav-milterソスmソスF

ソスソスソスソスソスソスソスgソスノ空メーソスソスソス送ゑソスソストみて、ソスソスMソスソスソスソスソスソスソス[ソスソスソスフヘソスbソス_ソスノ以会ソスソスフソスソスbソスZソス[ソスWソスソスソスtソスソスソスソスソスソストゑソスソス驍アソスソス
X-Virus-Scanned: clamav-milter 0.99.2 at centossrv.com

ソスソスソスEソスCソスソスソスXソス`ソスFソスbソスNソスmソスF

ソスソスソスソスソスソスソスソスソスgソスノテソスXソスgソスEソスCソスソスソスXソスソスソス[ソスソス(ソスソスソス[ソスソスソス{ソスソスソスソスソスuX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*ソスvソスフソスソス[ソスソス)ソス送ゑソスソストみて、ソスソスソス[ソスソスソスソスソスjソスソスソスソスソスソスト届ゑソスソスネゑソスソスソスソスソス
ソスソスソスソスソス[ソスソスソスソスソスOソスi/var/log/maillogソスjソスノウソスCソスソスソスXソスソスソスソスソスmソスソスソスソスソス|ソスフソスソスbソスZソス[ソスWソスiソスソスソスLソスjソスソスソスLソス^ソスソスソスソストゑソスソス驍アソスソス
Aug 28 13:01:20 centos milter-manager[11258]: [statistics] [milter][header][add](59): <X-Virus-Status>=<Infected (Eicar-Test-Signature)>: clamav-milter


ソスソスソスヨ連ソスRソスソスソスeソスソスソスc

<!ソス\ソスeソスLソスXソスgソスフみゑソス4ソスsソス\ソスソスソスノ追会ソスソスソスCソスソスソスソスソスソス\>



ソスソスソスソスソスフペソス[ソスWソスフトソスbソスvソスヨ戻ゑソス

ソスvソスソスソスCソスoソスVソス[ソス|ソスソスソスVソス[
centossrv.com