Postfixã§OP25B(Outbound Port 25 Blocking)対ç
ã¤ã¼ã¢ãã¤ã«ã§ã¤ã³ã¿ã¼ãããæ¥ç¶ãã¦ããPCã«ãVMWare Server 2ãå°å
¥ãLinuxãµã¼ããç¨æãã¦ã¿ããä»®æ³ãã·ã³ã¯ãVMNatã使ç¨ããã¹ãPCã®ã¤ã¼ã¢ãã¤ã«ã®åç·ããã¤ã³ã¿ã¼ãããã«æ¥ç¶ããæ§æãæå
ã§ã·ã§ã«ã¹ã¯ãªããã®ãããã°ãªãããããã«ã§ããã¨ä¾¿å©ã ãªãã¨ãã¨ã§ä½ã£ãä»®æ³ãã·ã³ãªã®ã ãããµã¨æ°ä»ãã¨ã¡ã¼ã«éä¿¡ãã§ãã¦ããªã模æ§ãåå ã調ã¹ãã¨ãããè¿å¹´åºãã£ã¦ãã¦ããOP25B(Outbound Port 25 Blocking)ãã¤ã¼ã¢ãã¤ã«ãå°å
¥ãããã¨ãåå ã¨ç¢ºèªã
迷惑メール送信規制 (OP25B) | イーモバイル
â»ä¸å³ã¯ä¸è¨ãµã¤ãããå¼ç¨
ãã¹ãç¨ç°å¢ã¨ã¯è¨ããã¡ã¼ã«ãéããªãã®ã¯ä¸ä¾¿ãªã®ã§ä»åã®å¯¾å¿ã¨ãã¦ã¯ãèªå® ã®å¥ç´ãããã¤ãASAHIãããã® SMTPãµã¼ã(mail.asahi-net.or.jp)ãå©ç¨ããã¦ããããã¨ã«ãã(â»ãªããASAHIãããã®SMTPãµã¼ãã¯Submissionãã¼ã(587)ããµãã¼ããã¦ãã)ã対å¦ã¨ãã¦ã¯ãä¸å³ã«ãããéãå¤é¨ã®SMTPãµã¼ãã®Submissionãã¼ãã«ã¡ã¼ã«ãªã¬ã¼ãããããã¼ã«ã«ã®MTAãã¯ã©ã¤ã¢ã³ãã¨ãã¦æ§æããã°ããã ããç§ã®ä½¿ã£ã¦ããMTAã¯postfixãªã®ã§ã/etc/postfix/main.cf ã«ä»¥ä¸ã®è¨å®ã追å ããã
ãsmtp_sasl_mechanism_filterããã©ã¡ã¼ã¿ã§æå®ããã¢ã«ã´ãªãºã ã¯ããªã¬ã¼ã«ä½¿ç¨ããSMTPãµã¼ãã«ããç°ãªããããäºåã«ç¢ºèªãã¦ãã(â»Submissionãã¼ãã«telnetãã°ã¤ã³ãããEHLO
relayhost=[mail.asahi-net.or.jp]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/isp_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_mechanism_filter = plain,login,digest-md5,cram-md5
æ°ãã¤ãããã®ã¯ãä»åã®ããã«25 çªãã¼ã以å¤ã®ãã¼ãã使ç¨ããå ´åã¯å¿ ããã¼ãçªå·ã¾ã§æå®ãããã¨ãèªè¨¼ãã¡ã¤ã«ã¯ãã®ã¾ã¾ã§ã¯Postfixã§ã¯ä½¿ç¨ã§ããªããPostfixã§ä½¿ç¨ãããããpostmapã³ãã³ãã使ç¨ãDBåï¼hash åï¼ããã
[mail.asahi-net.or.jp]:587 USERACCOUNT:PASSWORD
ãã¨ã¯postfixãåèµ·åããã°OKã
# postmap /etc/postfix/isp_passwd