ãã®èšäºã§ã¯ãçŽæãããããã« ãã¹ãã 察çã®çµéšãå ±æããããšèããŠããŸãã äœããã®åå ãçµæãããããããšãç¥ãããŠããŸãã ãã®ãã¬ãŒãºã¯ãçŸè±¡ã®ã€ãªããã®å²åŠç圢æ ã®1ã€ãè¡šããŠããŸãã
ç§ãã¡ã®çç±ã¯ããã¹ãã£ã³ã°ããã³VPSã¯ã©ã€ã¢ã³ãããçºããããã¹ãã ã®èŠæ ãç¹°ãè¿ãããããšã§ãã ããããã¯ã©ã€ã¢ã³ãã®æå³çãªè¡åã§ããã®ãããããšãã¹ãã ãããã®è¢«å®³è ã§ãããšçã£ãŠããªãã£ãã®ããåžžã«ç¢ºå®ã«èšãããšã¯ã§ããŸããã ãããäœã§ãããåé¡ã¯è§£æ±ºãããªããã°ãªããŸããã§ããã
圌ãã¯ã¹ãã ã奜ãã§ã¯ãããŸããã IPã¢ãã¬ã¹ããã©ãã¯ãªã¹ãã«è¿œå ããããšãã¹ãã ã¯ãããã€ããŒã®è¡šé¢ã«ããã©ãã¯ã¹ãããããæ®ããŸããããã¯ãã¹ãŠã®ã¯ã©ã€ã¢ã³ãã«åœ±é¿ããŸãã ãã©ãã¯ãªã¹ãããIPãåé€ããããšã¯ç¹å¥ãªäŒè©±ã§ãã ããããããã¯ã³ã€ã³ã®çåŽã§ãã IPã¢ãã¬ã¹ã®ã¬ãã¥ããŒã·ã§ã³ãå埩ã§ããå ŽåãäŒç€Ÿã®ã¬ãã¥ããŒã·ã§ã³ãšä¿¡é Œãè¿ãããšã¯ã¯ããã«å°é£ã§ãã
解決çãèŠã€ããUnihostæ§é å ã®äžèŠãªã¡ãŒã«ãä¿è·ããã³é²æ¢ããããã®è€åäœãå®è£ ããããšã«ããŸããã ãã¬ãŒã³ã¹ããŒãã³ã°ãšè°è«ã®åŸã圌ãã¯ã¹ãã / AVã³ãã¥ããã£ãæäŸããªããã°ãªããªããã®ããã¹ãããæ¯èŒãå§ããŸããã
åžå Žã«ã¯å€ãã®ãªãã·ã§ã³ããããŸãã ãã ããé«å質ã®ãœãªã¥ãŒã·ã§ã³ã®å€§éšåã¯ã1å°ã®ãµãŒããŒã«å¯ŸããŠ1ã©ã€ã»ã³ã¹ããŸãã¯éä¿¡/åä¿¡æåæ°ã«å¯ŸããŠãæéã課ãããããããæéãé«ããªããŸãã ãã®ããããªãŒãã³ãœãŒã¹ã®äžããã®ã¿éžæããŸããã
人æ°ã®ãããªãŒãã³ãœãŒã¹ã®ã¹ãã 察çãœãªã¥ãŒã·ã§ã³
Rspamd
ããŸããŸãªãµã€ãºã®ã·ã¹ãã ã«é©ããŠããŸãã ããŸããŸãªMTAïŒEximãPostfixãSendmailãããã³Harakaã«ã€ããŠã®ããã¥ã¡ã³ãïŒã«çµ±åããããSMTPãããã·ã¢ãŒãã§åäœã§ããŸãã
ã¡ãã»ãŒãžãè©äŸ¡ããããã®ã·ã¹ãã ã¯ãç¹ã«ããŸããŸãªèŠå ã«åºã¥ããŠãSpamAssassinãšåãã§ãïŒæ£èŠè¡šçŸãDNSãããã¯ãªã¹ãããã¯ã€ããã°ã¬ãŒããã©ãã¯ãªã¹ããSPFãDKIMãçµ±èšãããã·ã¥ïŒãã¡ãžãŒããã·ã¥ïŒãªã©-ãããã¯äœæ¥ã§ã®ã¿äœ¿çšãããŸãä»ã®ã¢ã«ãŽãªãºã ã
Rspamdã¯ãã©ã°ã€ã³æ¡åŒµããµããŒãããŠããŸãã
Apache spamassassin
SAã¯ããã€ãžã¢ã³ãã£ã«ã¿ãªã³ã°ãã¯ãããžãŒã®äœ¿çšã«ããå声ãåŸãŸããã åãã¹ãã¡ãã»ãŒãžã¯ç¹å®ã®ã¹ã³ã¢ãååŸãããããå€ã«éãããšã¹ãã ã«å ¥ããããŸãã
ã»ãšãã©ãã¹ãŠã®ã¡ãŒã«ãµãŒãã¹ãšç°¡åã«çµ±åã§ããŸãã ãã©ã°ã€ã³ãšããŠæ¥ç¶ããäžè¬çãªãã¯ãããžãŒã¯ãSAã§å©çšå¯èœã§ãïŒDNSBLãSPFãDKIMãURIBLãSURBLãPSBLãRazorãRelayCountryãèªåãã¯ã€ããªã¹ãïŒAWLïŒãªã©ã
éåžžãã€ã³ã¹ããŒã«ã¯è€éã§ã¯ãããŸããã ã€ã³ã¹ããŒã«åŸãSpamAssassinã«ã¯ãã©ã¡ãŒã¿ãŒã®åŸ®èª¿æŽãšã¹ãã ã¡ãŒã«ã«é¢ãããã¬ãŒãã³ã°ãå¿ èŠã§ãã
ASSP
MTAã®åã«ã¡ãã»ãŒãžãåä¿¡ããã¹ãã ãåæãããã©ãããã©ãŒã åºæã®SMTPãããã·ãµãŒããŒã
ãã¯ã€ãããã³ã°ã¬ãŒãªã¹ãããã€ãžã¢ã³ãã£ã«ã¿ãŒãDNSBLãDNSWLãURIBLãSPFãDKIMãSRSããŠã€ã«ã¹ã¹ãã£ã³ïŒClamAVã䜿çšïŒãæ·»ä»ãã¡ã€ã«ã®ãããã¯ãŸãã¯çœ®æãªã©ããã¹ãŠã®äžè¬çãªãã¯ãããžãŒããµããŒããããŠããŸãã æå·åãããMIMEã¹ãã ããã³ç»åãæ€åºãããŸãïŒTesseractã䜿çšïŒã ã¢ãžã¥ãŒã«ã®å©ããåããŠãå¯èœæ§ãåºãããŸãã
ãããžã§ã¯ãã®ããã¥ã¡ã³ãã¯å¿ ããããããããããã®ã§ã¯ãªããå€ãã®å Žåãæ瀺ã¯ãã§ã«å€ããªã£ãŠããŸãããããçšåºŠã®çµéšãããã°ç解ã§ããŸãã
ã¡ãŒã«ã¹ãã£ããŒ
MailScannerã¯ããã£ãã·ã³ã°ã¡ãŒã«ã«å¯Ÿæããã¡ãŒã«ã§ãŠã€ã«ã¹ãã¹ãã ããã§ãã¯ããããã®å æ¬çãªãœãªã¥ãŒã·ã§ã³ã§ãã æçŽã®å 容ãåæããã¡ãŒã«ã¯ã©ã€ã¢ã³ããHTMLã¿ã°ãçã£ãæ»æããããã¯ããæ·»ä»ãã¡ã€ã«ïŒçŠæ¢ãããæ¡åŒµåãäºéæ¡åŒµåãæå·åãããã¢ãŒã«ã€ããªã©ïŒããã§ãã¯ããæçŽã®ã¢ãã¬ã¹ã®ãªãããŸããå¶åŸ¡ããŸãã
MailScannerã¯ä»»æã®MTAãšç°¡åã«çµ±åã§ããé ä¿¡ã«ã¯æ¢æã®æ§æãã¡ã€ã«ããããŸãã 圌èªèº«ã®éçºã«å ããŠã圌ã¯ãµãŒãããŒãã£ã®ãœãªã¥ãŒã·ã§ã³ã䜿çšã§ããŸãã SpamAssassinã䜿çšããŠãã¹ãã ããã§ãã¯ã§ããŸãã
EFAãããžã§ã¯ã
å¥ã®ãªãŒãã³ãœãŒã¹ãããžã§ã¯ã-ãeFa-projectã-Email Filter ApplianceããããŸãã EFAã¯å ã ãVmwareãŸãã¯HyperVã§å®è¡ããä»®æ³ããã€ã¹ãšããŠèšèšãããŸããã ãã®ããã°ã©ã ã¯ãæ¢è£œã®ããã±ãŒãžMailScannerãPostfixãSpamAssasinïŒä»¥äžã®ãªã¹ãå šäœïŒã䜿çšããŠã¹ãã ãšãŠã€ã«ã¹ãé»æ¢ããŸãããããã¯ãã§ã«ã€ã³ã¹ããŒã«ãããvmã§æ£ããåäœããããã«æ§æãããŠããŸãã ããã¯ãæŸèæãå¿ èŠãªãããšãæå³ããŸã-ãã¹ãŠãç®±ããåºããŠåäœããŸãã
EFAã«ã¯æ¬¡ã®ã³ã³ããŒãã³ããå«ãŸããŠããŸãã
Postfixã¯MTAïŒã¡ãŒã«è»¢éãšãŒãžã§ã³ãïŒãšããŠæ©èœããŸã-ä¿¡é Œæ§ãé«ããé«éã§ãé·å¹Žã«ããã£ãŠå®èšŒãããŠããŸãã
ã¹ãã ãã£ã«ã¿ãŒã®ã³ã¢-MailScanner-ã¢ã³ããŠã€ã«ã¹ãšè©ã䞊ã¹ãŠå
šäœãæ»æããŸãã
ã¹ãã ãã£ã«ã¿ãŒ-SpamAssassin-ã¹ãã ã¡ãŒã«ãå®çŸ©ããŸãã å€ãã®è©äŸ¡ã·ã¹ãã ãMTAãããã³æ£èŠè¡šçŸã»ãããå«ãŸããŠããŸãã
ClamAV -MailScannerã§åäœããã¢ã³ããŠã€ã«ã¹ã
MailWatch -MailScannerããã³ãã®ä»ã®ã¢ããªã±ãŒã·ã§ã³ãæäœããããã®äŸ¿å©ãªWebã€ã³ã¿ãŒãã§ã€ã¹ã
ã³ã³ãã³ããã£ã«ã¿ãŒ-DCC-ã¯ãæçŽã®æ¬æã®ããã·ã¥ãç¹å¥ãªãµãŒããŒã«éä¿¡ããããšã«ããã倧éã¡ãŒã«éä¿¡ã決å®ããŸãããã®ãµãŒããŒã¯ãåä¿¡ããããã·ã¥ã®æ°ã®åœ¢åŒã§åçãæäŸããŸãã æ°ããããå€ã¹ã³ã¢= 6ãè¶
ããå Žåãã¡ãã»ãŒãžã¯ã¹ãã ãšèŠãªãããŸãã
Pyzorããã³Razor-ã¹ãã æ€åºãããã¯ãŒã¯ã䜿çšããŠãSpamAssassinãã¹ãã ãããæ£ç¢ºã«èªèã§ããããã«ããŸãã
ã°ã¬ãŒãªã¹ãã«ã¯SQLgreyã䜿çšãããŸã-åä¿¡è
ãåãå
¥ããããšãã§ããã¹ãã ã®éãæžããããšãã§ããpostfixããªã·ãŒãµãŒãã¹ã
ImageCeberusã¢ãžã¥ãŒã«ã¯ç»åèªèã«äœ¿çšãããŸã-ãã«ãç»åãªã©ãå®çŸ©ããŸãã
ãããžã§ã¯ãã«ã¯äžèšã®ãã¹ãŠã®æé«ã®æ©èœãå«ãŸããŠãããããEFAãéžæããŸããã ããã«ã管çè
ã¯ãã§ã«ããçšåºŠã®çµéšããã£ããããEFAå°çšã«éžæããŸããã ã€ã³ã¹ããŒã«ã®èª¬æã«é²ã¿ãŸãã
EFAãã€ã³ã¹ããŒã«ããŠæ§æãã
圌ãã¯ãäžç¶ãµãŒããŒãšããŠæ©èœããã¯ãªãŒã³ãªCentOS 6.8 x64ãåããVPSã«ã€ã³ã¹ããŒã«ããããšã«ããŸããã ãŸãããã¹ãŠã®ã·ã¹ãã ãŠãŒãã£ãªãã£ãšã³ã³ããŒãã³ãããªããžããªã§å©çšå¯èœãªææ°ããŒãžã§ã³ã«æŽæ°ããå¿ èŠããããŸãã ãããè¡ãã«ã¯ã次ã®ã³ãã³ãã䜿çšããŸãã
yum -y update
次ã«ãwgetããã³screenãŠãŒãã£ãªãã£ãã€ã³ã¹ããŒã«ãããŠããªãå Žåã¯ã€ã³ã¹ããŒã«ããŸãã
yum -y install wget screen
ãã®åŸãEFAãã€ã³ã¹ããŒã«ããã¹ã¯ãªãããããŠã³ããŒãããŸãã
wget https://raw.githubusercontent.com/EFA/v3/master/build/prepare-build-without-ks.bash
ã¹ã¯ãªããã«å®è¡æš©éãäžããŸãã
chmod +x ./prepare-build-without-ks.bash
å®è¡ç»é¢ïŒ
screen
ãããŠãã¹ã¯ãªãããå®è¡ããŸãã
./prepare-build-without-ks.bash
ããã§ãCtrl + A + Dã®çµã¿åããã䜿çšããŠç»é¢ãæããããããšãã§ããŸãã
ã€ã³ã¹ããŒã«åŸãæåã®ãã°ã€ã³ã®ããŒã¿ã䜿çšããŠãsshãä»ããŠãµãŒããŒã«åå ¥åããå¿ èŠããããŸãã ããã¯ãEFAã®åæåã¹ã¯ãªãããšåææ§æãå®è¡ããããã«å¿ èŠã§ãã
ãã°ã€ã³ãããšãEFAãèšå®ããããã®ããã€ãã®è³ªåã«çããããã«æ±ããããŸãã
質åã®ãªã¹ãã¯æ¬¡ã®ãšããã§ãã
æ©èœ | ç©ä»¶ |
---|---|
ãã¹ãå | ãã·ã³ã®ãã¹ãåã瀺ãããŸãã |
ãã¡ã€ã³å | ãã·ã³ãå±ãããã¡ã€ã³ã ãã¹ãåãšåãããŠãå®å šãªFQDNãµãŒããŒãååŸããŸã |
管çè | ã·ã¹ãã èªäœããé»åã¡ãŒã«ãåä¿¡ãã管çããã¯ã¹ïŒå©çšå¯èœãªæŽæ°ãããŸããŸãªã¬ããŒããªã©ïŒ |
ãã¹ããã¹ã¿ãŒã¡ãŒã« | MTAã«é¢é£ããæçŽãåãåã人ã®ç®± |
IPã¢ãã¬ã¹ | ãã·ã³ã®IPã¢ãã¬ã¹ |
ããããã¹ã¯ | ä»®é¢ |
ããã©ã«ãã²ãŒããŠã§ã€ | ã²ãŒããŠã§ã€ |
ãã©ã€ããªDNS | ãã©ã€ããªDNSãµãŒã㌠|
ã»ã«ã³ããªDNS | ã»ã«ã³ããªDNSãµãŒã㌠|
ããŒã«ã«ãŠãŒã¶ãŒ | ããŒã«ã«ç®¡çè ã®ãã°ã€ã³ã MailWatch Webã€ã³ã¿ãŒãã§ãŒã¹ãžã®ãã°ã€ã³ã«äœ¿çš |
ããŒã«ã«ãŠãŒã¶ãŒã®ãã¹ã¯ãŒã | ãã¹ã¯ãŒã |
ã«ãŒããã¹ã¯ãŒã | ã«ãŒããŠãŒã¶ãŒã®ãã¹ã¯ãŒã |
VMwareããŒã« | VMwareãå®è¡ããŠããä»®æ³ãã·ã³ã«ã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºãããŸãã VMwareããŒã«ãã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã |
UTCæé | ãã·ã³ãUTCã¿ã€ã ãŸãŒã³ã«ããå Žåã¯ã[ã¯ã]ãéžæããŸãã |
ã¿ã€ã ãŸãŒã³ | ããã§ã¯ãUTCãšã¯ç°ãªãã¿ã€ã ãŸãŒã³ãéžæã§ããŸã |
ããŒããŒãã®ã¬ã€ã¢ãŠã | ã·ã¹ãã ã§äœ¿çšãããããŒããŒãã¬ã€ã¢ãŠã |
IANAã³ãŒã | æ©æ¢°ãæåšããåœã®ã³ãŒãã瀺ããŸãã ããã¯ãä»åŸã©ã®ãã©ãŒããæŽæ°ããã°ã©ã ãããŠã³ããŒããããã決å®ããããã«å¿ èŠã§ãã |
ã¡ãŒã«ãµãŒã㌠| åå¥ã®ãã©ã¡ãŒã¿ãŒã EFAãé»åã¡ãŒã«ã®åä¿¡ã«æ©èœããå Žåã«äœ¿çšãããŸãã |
ããªãã®çµç¹å | çµç¹ã®ååã æçŽã®èŠåºãã«äœ¿çš |
èªåæŽæ° | èªåæŽæ°ããªã·ãŒãèšå®ãããŸãã ããã©ã«ãã¯ç¡å¹ã§ãã ãã®å ŽåãèªåæŽæ°ã¯è¡ãããŸããããå©çšå¯èœãªæŽæ°ã«é¢ããéç¥ã¯ç®¡çè ã®ã¡ãŒã«ã«éä¿¡ãããŸã |
ãã®ãããªã¢ã³ã±ãŒãã®åŸãåçã®ãªã¹ãå šäœã衚瀺ãããŸãã äœããå€æŽããå¿ èŠãããå Žåã¯ã質åçªå·ããã€ã€ã«ããŠæ°ããããŒã¿ãå ¥åããŸãã 次ã«é²ãæºåãã§ãããããOKããšå ¥åããŠEnterããŒãæŒããŸãã ã·ã¹ãã ã¯èªå調æŽããã»ã¹ãéå§ããŸãã
æ§æãå®äºãããšãã·ã¹ãã ãåèµ·åããå®å šãªæŠéæºåãæŽããŸãã
次åãsshçµç±ã§ãã°ã€ã³ãããšãEFAèšå®ã¡ãã¥ãŒãããã«è¡šç€ºãããŸãã ãã®ã¡ãã¥ãŒã«ã¯å€ãã®äŸ¿å©ãªã¢ã¯ã·ã§ã³ããããŸãïŒ
- ã·ã¹ãã ã®åèµ·å/ã·ã£ããããŠã³ã
- ãããã¯ãŒã¯èšå®ãå€æŽããŸãã
- MailScannerãæ§æããŸãã
- ç°è²ãªã¹ãã®ãªã³/ãªããåãæ¿ããŸãã
- èªåæŽæ°ãæå¹/ç¡å¹ã«ããŸãã
- ã·ã¹ãã ãçºä¿¡ãªã¬ãŒãµãŒããŒãšããŠæ§æããŸãã
- Adminemailã¡ãŒã«ããã¯ã¹ãå€æŽããŸãã
- ã¡ãŒã«ãã¡ã€ã³ã®è¿œå /åé€ã
- ã¹ãã ãã£ã«ã¿ãŒã®èšå®ãå€æŽããŸãã
- ç°åžžãªã·ã£ããããŠã³ã«ããæå·ã®å Žåã®mysqlããŒã¿ããŒã¹ã®åŸ©å ã
ããã¯ãMailWatch Webã€ã³ã¿ãŒãã§ã€ã¹ã§ã¯ç·šéã§ããªãäž»èŠãªEFAãªãã·ã§ã³ã®ãªã¹ãã§ãã ãããã£ãŠãããããã©ãã§èŠã€ããããç¥ã£ãŠãããšããã§ãããã
æåEFAãã¥ãŒãã³ã°
ç§ãã¡ã¯èŠåŽããŸããããããæè»ã«ãªããŸããã EFAèªäœã®æ§æã¯ã察話åã¡ãã¥ãŒã§ã¯ãªããæ§æãã¡ã€ã«ã«ãã£ãŠæ±ºãŸããŸããã ãã¹ãŠãæ§æããã ãã§ãªãããã¹ãŠã®ã³ã³ããŒãã³ããç解ãããã®æ©èœãšä»çµã¿ãç解ããããšèããŸããã
postfixèšå®ã®main.cfãã¡ã€ã«ã§æåã«è¿œå ãããã®ã¯mynetworksã§ãããããSMTPæ¥ç¶ãåãå ¥ããããŸããã 次ã«ãheloãªã¯ãšã¹ããéä¿¡è ãåä¿¡è ã«å¶éãèšå®ããç¹å®ã®æ¡ä»¶ã«å¿ããŠACCEPTãŸãã¯REJECTããªã·ãŒã䜿çšããŠã«ãŒããžã®ãã¹ã瀺ããŸããã ãŸããinet_protocolsã¯ipv4ã«å€æŽãããipv6æ¥ç¶ãé€å€ãããŸããã
次ã«ãèšå®ãã¡ã€ã«/etc/MailScanner/MailScanner.confã«Spam Actionsããªã·ãŒãStoreã«å€æŽããŸããã ããã¯ãã¡ãã»ãŒãžãã¹ãã ãšããŠèå¥ãããå Žåãéé¢ãããããšãæå³ããŸãã ããã¯ãSpamAssassinãããã«ãã¬ãŒãã³ã°ããã®ã«åœ¹ç«ã¡ãŸãã
ãããã®èšå®åŸãæåã®åé¡ãçºçããŸããã åä¿¡è you @ example.comãfail2ban @ example.comãroot @ localhost.localdomainãªã©ããäœåãã®ã¡ãŒã«ãå±ããŸããã åä¿¡è ã¯äŒŒãŠããŸããã ãŸããMAILER-DAEMONããéä¿¡ããããã€ãŸãå®è³ªçã«éä¿¡è ã®ããªãæçŽãåãåããŸããã
ãã®çµæããèµ€ããã£ã³ãã¹ãã®äžããéåžžã®éã¹ãã æåãèŠã€ããããšãã§ããªããã¥ãŒãè©°ãŸã£ãŠããŸãã Postfixã«ãŒãã®æšæºæ©èœã§ããhelo_accessãrecipient_accessãsender_accessã䜿çšããŠããã®ãããªæåãæåŠããããšã«ããŸããã æ害ãªåä¿¡è ãªã©ãæ£åžžã«æåŠãéå§ããŸããã ãããŠãMAILER-DAEMONã«ãã£ãŠéä¿¡ããããããã®æçŽã¯ãheloãªã¯ãšã¹ãã«ãã£ãŠãã£ã«ã¿ãªã³ã°ãããŸãã
åç·ã空ã«ãªããç¥çµãèœã¡çããšãSpamAssassinã®æ§æãéå§ããŸããã
SpamAssassinãã¬ãŒãã³ã°
SpamAssassinãã¬ãŒãã³ã°ã¯ããã§ã«ã¹ãã ã«ãªã£ãŠããã¡ãŒã«ã«å¯ŸããŠè¡ãããŸãã ãããè¡ãã«ã¯2ã€ã®æ¹æ³ããããŸãã
Webã€ã³ã¿ãŒãã§ã€ã¹çµç±
æåã®æ¹æ³ã¯ãMailWatch Webã€ã³ã¿ãŒãã§ã€ã¹ã䜿çšããããšã§ãã åæåã«ã¯ãèŠåºããæ¬æããã€ãºã¢ã«ãŽãªãºã ã«ããè©äŸ¡ãããã³ãã®ä»ã®ææšã衚瀺ãããŸãã 次ã®ããã«ãªããŸãã
åŸç¹ | ãããã³ã°ã«ãŒã« | 説æ |
---|---|---|
-0.02 | AWL | FromïŒã¢ãã¬ã¹ã®AWLã¬ãã¥ããŒã·ã§ã³ããã®èª¿æŽãããã¹ã³ã¢ |
0.80 | BAYES_50 | ãã€ãºã®ã¹ãã 確çã¯40ã60ïŒ ã§ã |
0.90 | DKIM_ADSP_NXDOMAIN | DNSã«ãªãæå¹ãªèè 眲åãšãã¡ã€ã³ã¯ãããŸãã |
0.00 | HTML_MESSAGE | ã¡ãã»ãŒãžã«å«ãŸããHTML |
1.00 | KAM_LAZY_DOMAIN_SECURITY | éä¿¡ãã¡ã€ã³ã«ã¯åœé é²æ¢æ¹æ³ããããŸãã |
0.00 | NO_DNS_FOR_FROM | ãšã³ãããŒãéä¿¡è ã«MXãŸãã¯A DNSã¬ã³ãŒãããããŸãã |
0.79 | RDNS_NONE | rDNSã®ãªããã¹ãã«ãã£ãŠå éšãããã¯ãŒã¯ã«é ä¿¡ãããŸã |
2.00 | TO_NO_BRKTS_HTML_IMG | å®å ïŒæ¬åŒ§ãšHTMLããªãã1ã€ã®ç»å |
0.00 | WEIRD_PORT | HTTPã«éæšæºã®ããŒãçªå·ã䜿çšããŸã |
ã¬ã¿ãŒãéãããããSA Learnããã§ãã¯ããã¯ã¹ã«Dawãå ¥åããŠãããã€ãã®ã¢ã¯ã·ã§ã³ã®ãããããéžæã§ããŸãã
- As Ham-æåãã¯ãªãŒã³ãšããŠããŒã¯ããŸãïŒãã€ãžã¢ã³ã¢ã«ãŽãªãºã ã®ãã¬ãŒãã³ã°ïŒã
- ã¹ãã ãšããŠ-ã¡ãã»ãŒãžãã¹ãã ãšããŠããŒã¯ããŸãïŒãã€ãžã¢ã³ã¢ã«ãŽãªãºã ãã¬ãŒãã³ã°ïŒã
- å¿ãã-æçŽãã¹ããããã;
- ã¹ãã ãšããŠ+ã¬ããŒã-ã¡ãã»ãŒãžãã¹ãã ãšããŠããŒã¯ãããããã¯ãŒã¯äžã§ããã«é¢ããæ å ±ãéä¿¡ããŠã¹ãã ãæ€åºããŸãïŒã«ããœãª+ pyzorïŒã
- As Ham + Revoke-ã¡ãã»ãŒãžãã¯ãªãŒã³ãšããŠããŒã¯ããããã«é¢ããæ å ±ããããã¯ãŒã¯ã«éä¿¡ããŠãã¹ãã ïŒã«ããœãª+ pyzorïŒãæ€åºããŸãã
ã³ã³ãœãŒã«ãã
ããã¯åçŽã«è¡ãããŸãã ã³ãã³ãã¯æ¬¡ã®ãšããã§ãã
sa-learn --ham /20170224/spam/0DC5B48D4.A739D
ãã®ã³ãã³ãã§ã¯ãç¹å®ã®æ¥ä»/ 20170224 / spam /ã®ã¹ãã ã¡ãŒã«ã¢ãŒã«ã€ãã«ããID 0DC5B48D4.A739Dã®æåã¯ãã¯ãªãŒã³ãªïŒã¹ãã ã§ã¯ãªãïŒ bash--ham
ãšããŠããŒã¯ãããŸãã
å¹æçãªã¡ãŒã«ãã£ã«ã¿ãªã³ã°ã®ããã ãã«SpamAssassinããã¬ãŒãã³ã°ããã°ååã§ãããšããæèŠããããŸãã ç§ãã¡ã¯SpamAssassinãèšç·Žããã¯ãªãŒã³ãšã¹ãã ã®äž¡æ¹ã®çµ¶å¯Ÿã«ãã¹ãŠã®æçŽã圌ã«äžããããšã«ããŸããã ããã«ãã¹ãã ã¡ãŒã«ã®ããŒã¿ããŒã¹ãèŠã€ããSAãæçã«éä¿¡ããŸããã
ãã®ãããªãã¬ãŒãã³ã°ã¯ããã€ãžã¢ã³ã¢ã«ãŽãªãºã ãããæ£ç¢ºã«èª¿æŽããã®ã«åœ¹ç«ã¡ãŸããã ãã®çµæããã£ã«ã¿ãªã³ã°ã¯ã¯ããã«å¹ççã§ãã ã¡ãŒã«ã®ãã©ãã£ãã¯ãããã»ã©å€ããªããšãã«ãæ倧æ°ã®æåãåæããŠãã£ããã£ããããã«ããã®ãããªãã¬ãŒãã³ã°ãå®æœããŸãã
SpamAssassinããã«çšŒåããããã«ã¯ãæåã«çŽ1000çš®é¡ã®æåãå ¥åããå¿ èŠããããŸãã ãããã£ãŠãèŸæ±åŒ·ããã¬ãŒãã³ã°ãéå§ããŠãã ããã
ã¹ãã ã«å¯Ÿããå®å šãªåå©ã«ã€ããŠè©±ãã®ã¯ææå°æ©ã§ãã ãã ãããµãŒããŒããã®ã¹ãã ã®èŠæ ã®æ°ã¯ãŒãã«ãªããŸããã çŸæç¹ã§ã¯åŠç¿ããã»ã¹ã«ã€ããŠãã以äžè©³ãã説æããŸããããã¹ãŠã®ããããå ¬éããããããŸããã ãã ããèšå®ãããã«æ·±ãæãäžããã°ããããç解ããããšã¯é£ãããããŸããã
PSïŒãã®èšäºã¯äžèœè¬ã§ã¯ãããŸããã ã¹ãã ãšæŠãããã®æ¹æ³ã®1ã€ãå ±æããããšã«ããŸããã
ãã¹ãŠãè¯ããšãã ã¯ããªããšäžç·ã«ãããŸãããã«ïŒ :)