¼ø¶È»ñÎÁ/Âè08²ó

Top / ¼ø¶È»ñÎÁ / Âè08²ó

RFC ¤Ë¤Ä¤¤¤Æ

¥á¡¼¥ë¥µ¡¼¥Ð¤ÎÏäò½ñ¤¯Á°¤Ë¡¤¤³¤³¤Ç RFC(Request For Comment) ¤Ë¤Ä¤¤¤Æµ­¤·¤Æ¤ª¤³¤¦.
RFC ¤È¤Ï¡¤IETF (Internet Engineering Task Force)*1 ¤È¤¤¤¦, ¥Í¥Ã¥È¥ï¡¼¥¯¤Î¤¿¤á¤Î¡Öɸ½à²½ÃÄÂΡפˤè¤Ã¤Æɸ½à²½¤µ¤ì¤¿µ¬³Ê½ñ¤Î¤³¤È¤Ç¤¢¤ë.

warning.png ¸½ºß »È¤ï¤ì¤Æ¤¤¤ë¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥È¥³¥ë¤Î¤Û¤È¤ó¤É¤Ï´ðËÜŪ¤Ë¤³¤Î RFC ¤Ë½¾¤Ã¤Æ¤¤¤ë¤â¤Î¤Ð¤«¤ê¤Ê¤Î¤Ç¡¤¾Ü¤·¤¤¤³¤È¤òÃΤꤿ¤±¤ì¤Ð³ºÅö¤¹¤ë RFC ¤òÆɤá¤Ð¤è¤¤¡¤¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ë.

¤¿¤À¤·¡¤µ¬³Ê¤½¤Î¤â¤Î¤¬¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤µ¤ì¤ë¤È¿·¤·¤¤ RFC ¤òÍÑ°Õ¤¹¤ë¤³¤È¤Ë¤Ê¤ë¤Î¤Ç¡¤¤½¤Îµ¬³Ê¤ËÂбþ¤·¤¿ºÇ¿·¤Î RFC ¤¬¤É¤ì¤«¤ï¤«¤ê¤Ë¤¯¤¤¤Î¤À¤¬.

°Ê²¼¡¤¥á¡¼¥ë¤Îµ¬³Ê¤Ë¤Ä¤¤¤Æµ­¤¹¤È¤­¤Ë RFC ¤Ë¤Ä¤¤¤Æ»þ¤ª¤ê¿¨¤ì¤Æ¤¤¤ë¤Î¤Ç¡¤µ¤¤Ë¤Ê¤ë¼Ô¤Ï¼«Ê¬¤ÇÆɤó¤Ç¤ß¤ë¤È¤è¤¤.
¤Ê¤ª¡¤¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Ç¤Ï¿ÆÀڤˤâÆüËܸì¤ËËÝÌõ¤·¤ÆÃÖ¤¤¤Æ¤¯¤ì¤Æ¤¤¤ë¿Í¤â¤¤¤ë¤Î¤Ç¡¤¤½¤Á¤é¤«¤éÆɤó¤Ç¤ß¤¿Êý¤¬³Ú¤À¤í¤¦.

¥á¡¼¥ë¥µ¡¼¥Ð

¥á¡¼¥ë¥µ¡¼¥Ð¤È°ì¸ý¤Ë¸À¤Ã¤Æ¤â¤½¤Î»Å»ö¤ÏÍÍ¡¹¤À.
¤½¤ÎÀâÌÀ¤ò¹Ô¤¦Á°¤Ë¡¤ÅŻҥ᡼¥ë¤¬¤É¤Î¤è¤¦¤ËÇÛ㤵¤ì¤Æ¤¤¤¯¤Î¤«¡¤¤ª¤ª¤è¤½¤Î¤È¤³¤í¤È¤½¤ÎÌò³äʬô¤òÃΤäƤª¤³¤¦.

¥á¡¼¥ë¤ÎÁ÷¿®¡¤Å¾Á÷¡¤¼õ¿®

¥á¡¼¥ë¤ÎÇÛ¿®²áÄø¤Ï¤ª¤è¤½Á÷¿®¡¤Å¾Á÷¡¤¼õ¿®¤È¤¤¤¦Ãʳ¬¤Ëʬ¤«¤ì¤ë.

¤³¤Î¤¦¤Á¡¤Á÷¿®(¤³¤ì¤â°ì¼ï¤ÎžÁ÷¤È¸«¤Ê¤»¤ë)¤ÈžÁ÷¤Ï SMTP (= Simple Mail TransferProtocol. RFC821*2 ¤ò¸«¤è) ¤È¤¤¤¦¥×¥í¥È¥³¥ë¤Ë¤·¤¿¤¬¤Ã¤Æ¹Ô¤ï¤ì¡¤´ðËÜŪ¤Ë MTA(¸å½Ò)¤Î¤ª»Å»ö¤Ç¤¢¤ë.

¥æ¡¼¥¶¥Ó¥ê¥Æ¥£¤Ëľ·ë¤¹¤ë¤³¤È¤â¤¢¤Ã¤Æ¼õ¿®¤Î»ÅÊý¤Ï¤¤¤¯¤Ä¤â¤ÎÊýË¡¤¬¤¢¤ê¡¤º£Æü¹­¤¯»È¤ï¤ì¤Æ¤¤¤ë¤Î¤Ï POP (Post Office Protocol) ver.3 = RFC1939*3 ¤È IMAP (Internet Message Access Protocol) ver.4rev1 = RFC3501*4 ¤Ç¤¢¤ë.

¤³¤ì¤é¤ÎÌò³äʬô¤ò¤Þ¤È¤á¤ë¤È¡¤

MTA = Message Transfer Agent
¥á¡¼¥ë¤ÎžÁ÷¤ò¹Ô¤¦¥½¥Õ¥È¥¦¥§¥¢. ͹ÊضɤΤ褦¤ÊÌò³ä¤ò²Ì¤¿¤¹.ͭ̾¤Ê¤Î¤Ï¡¤sendmail, postfix, qmail ¤È¤¤¤¦¤È¤³¤í¤«. ¥á¡¼¥ëÇÛ¿®¤Î¼çÌò.
MDA = Message Derivery Agent
ÆϤ¤¤¿¥á¡¼¥ë¤ò¥í¡¼¥«¥ë¥æ¡¼¥¶¤ËÇÛ¿®¤¹¤ë²áÄø¤ÇƯ¤¯¥½¥Õ¥È¥¦¥§¥¢. MTA ¤ÎºÇ¸å¤ÎÃʳ¬¤Î»Å»ö¤Î²¼ÀÁ¤±ÅªÂ¸ºß. Ä̾ï¶È̳¤Ïñ¤Ê¤ëÇÛã¤À¤¬¡¤¥á¡¼¥ë¤Î¥Õ¥£¥ë¥¿¤äžÁ÷¤·Ä¾¤·Åù¤Î¡Ö¿åºÝ½èÍý¡×¤â¼õ¤±»ý¤Ä¤Î¤Ç¤½¤ì¤Ê¤ê¤Ë½ÅÍ×. ͭ̾¤É¤³¤í¤Ï mail, procmail ¤Ê¤É¤Ç¤¢¤ë. º£²ó¤Ï¤¢¤Þ¤ê°Õ¼±¤·¤Ê¤¯¤Æ¤â¤è¤¤¤À¤í¤¦.
MUA = Mail/Message User Agent
¥á¡¼¥ë¤ÎÆɤ߽ñ¤­¡¤¥µ¡¼¥Ð¤Ø¤ÎÁ÷¿®¡¤¥µ¡¼¥Ð¤ËÆϤ¤¤Æ¤¤¤ë¥á¡¼¥ë¤ò¼è¤Ã¤Æ¤¯¤ë¡¤¤Ê¤É¤Î¥æ¡¼¥¶¸þ¤±ºî¶È¤ò¹Ô¤¦¥½¥Õ¥È¥¦¥§¥¢. ¥á¡¼¥é¤Ê¤É¤È¤â¸À¤ï¤ì¤ë.

¤È¤¤¤¦¥½¥Õ¥È¥¦¥§¥¢Æ±»Î¤¬, ŵ·¿Åª¤Ê¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë·Ò¤¬¤Ã¤Æ¤¤¤ë.

mail-transfer-simple_s2.png
(ÅŻҥ᡼¥ë¤Î¤ª¤ª¤è¤½¤ÎÇÛ¿®¿Þ)

¤è¤Ã¤Æ¡¤¥á¡¼¥ë¥µ¡¼¥Ð¤Î´ÉÍý¤È¤Ï¤ª¤ª¤Þ¤«¤Ë

  • MTA ¤Î´ÉÍý
  • POP, IMAP Åù MUA ¤Î¼êÁ°¤Î¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤Î´ÉÍý

¤ÎÆó¤Ä¤ËʬÎà¤Ç¤­¤ë¤³¤È¤Ë¤Ê¤ë¡¥

¥á¡¼¥ëÁ÷¼õ¿®¤Î¥»¥­¥å¥ê¥Æ¥£(°ÂÁ´À­)

¥á¡¼¥ë¤ÎÁ÷¿®¡¤Å¾Á÷¡¤ÇÛ¿®¤Ï´ðËÜŪ¤Ë¡Öʿʸ¡×¤Ç¥Í¥Ã¥È¥ï¡¼¥¯¤Î¾å¤òή¤ì¤ë.
¤½¤Î¤¿¤á¡¤³Æ¼ï¥Ñ¥¹¥ï¡¼¥É¤â¥á¡¼¥ëËÜʸ¤âƱ¤¸¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¤¤¤ë¥Þ¥·¥ó¤Ë¤ÏÅûÈ´¤±¤Ç¤¢¤ë¤Î¤Ç¡¤¤³¤ì¤ò·ÐÏ©¤Î°Å¹æ²½¤Ë¤è¤êËɤ°¤È¤¤¤¦¤³¤È¤¬¹Í¤¨¤é¤ì¤ë.

¤½¤Î¤â¤Ã¤È¤â¤è¤¯»È¤ï¤ì¤ëµ»½Ñ¤¬, Á°²ó¾Ò²ð¤·¤¿ TLS/SSL ¤ò»È¤Ã¤ÆÄÌ¿®ÆâÍƤò°Å¹æ²½¤¹¤ë¤â¤Î¤Ç¤¢¤ë.
¤Þ¤¿¡¤TLS/SSL ¤ò»È¤¦¤³¤È¤Ç¡¤²þã⸡½Ð¤â²Äǽ¤È¤Ê¤ë.

warning.png TLS 1.0 ¤Ï SSL 3.0 ¤Ë¤Û¤ÜÅù¤·¤¯¡¤RFC2246*5 ¤ò¸«¤ì¤Ð¤è¤¤. ¤Á¤Ê¤ß¤Ë TLS 1.1 ¤Ï RFC4346*6.

Á°²ó¤â½Ò¤Ù¤¿¤è¤¦¤Ë¡¤* over TLS/SSL ¤Ë¤Ï¤¤¤í¤ó¤Ê¤â¤Î¤¬¤¢¤ë.
¤¢¤Þ¤ê¸«³Ý¤±¤Ê¤¤¤È¤³¤í¤Ç¤Ï FTP over TLS/SSL RFC4217*7¤Ê¤ó¤Æ¤Î¤â¤¢¤ë.

SMTP/POP/IMAP over TLS/SSL

¾å¤Î¿Þ¤ÎÎп§¤Î·ÐÏ©¤Ï´ðËÜŪ¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ò¥Ç¡¼¥¿¤¬Î®¤ì¤ë·ÐÏ©¤Ç¤¢¤ë¤¬¡¤¤³¤ì¤é¤Î·ÐÏ©Á´¤Æ¤ËÂФ·¡¤over TLS/SSL ¤Ë¤è¤Ã¤Æ°Å¹æ²½¤È²þã⸡½Ð¤¬²Äǽ¤Ç¤¢¤ë.

¶ñÂÎŪ¤Ë¤Ï¡¤MTA ¤È¤·¤Æ´Ø·¸¤¹¤ë SMTP over TLS (RFC3207)*8¤È MUA ¤¬¥Ç¡¼¥¿¤òÆɤ߹þ¤àºÝ¤Î IMAP/POP over TLS (RFC2595)*9 ¤È¤Ë¤ï¤±¤é¤ì¤ë.

¤Á¤Ê¤ß¤Ë¡¤TLS/SSL ¤Î¸¶Íý¤À¤±¹Í¤¨¤ì¤Ð¡¤*** over TLS/SSL ¤ò¥¯¥é¥¤¥¢¥ó¥È¤Î¡Öǧ¾Ú¡×¤Ë»È¤¦¡¤¤Ä¤Þ¤ê¸å½Ò¤Î smtp auth ¤Ê¤É¤ÎÂå¤ê¤Ë»È¤¨¤ë¤Î¤Ç¤Ï¤È»×¤¦¤È¤³¤í¤À¤¬¡¤Àµ¼°¤Ê TLS/SSL ¾ÚÌÀ½ñ¤ò¼èÆÀ¤¹¤ë¤³¤È¤¬ÂçÊѤʤ³¤È¤ÈÍ­ÎÁ¤Ê¤³¤È¤«¤é¡¤¥¯¥é¥¤¥¢¥ó¥Èǧ¾Ú¤ËÍѤ¤¤ë¤Î¤ÏÈ󸽼ÂŪ¤Ç¤¢¤ë¤È¹Í¤¨¤é¤ì¤Æ¤¤¤ë¤è¤¦¤À.

spam Âкö : ²Ã³²¼Ô¤Ë¤Ê¤ë¤Î¤òËɤ° : Á÷¿®¥Ý¡¼¥È¤Î¥Ö¥í¥Ã¥¯

¸½ºß¡¤¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥á¡¼¥ë¤Ë¤ª¤¤¤Æ spam (=¼õ¼è¤ê¼ê¤Î°Õ¿Þ¤Ë´Ø·¸¤Ê¤¯Á÷¤é¤ì¤Æ¤¯¤ë¹­¹ð¡¤¾¦¶ÈÍÑÅù¤Î¥á¡¼¥ë. UCE = Unsolicited Commercial E-mail ¤È¤â¤è¤Ð¤ì¤ë.)¤¬Èó¾ï¤ËÂ礭¤ÊÌäÂê¤È¤Ê¤Ã¤Æ¤¤¤ë.
warning.png ¤Á¤Ê¤ß¤Ë spam ¤Î¸ì¸»¤ÏÌÌÇò¤¤. Ä´¤Ù¤Æ¤ß¤ë¤È¤è¤¤¤À¤í¤¦.

¤³¤ì¤òËɤ°¡¤¸º¾¯¤µ¤»¤ë¤¿¤á¤Î»ÅÁȤߤÏÍÍ¡¹¤Ê¤â¤Î¤¬¤¢¤ë¤¬¡¤¡ÖºÇ´ó¤ê¤Î¥á¡¼¥ë¥µ¡¼¥ÐMTA ¤Ë¤ª¤¤¤Æ¡× spam ¤Î¡ÖÁ÷¿®Ãʳ¬¤ò¥Ö¥í¥Ã¥¯¤¹¤ë¡×¤È¤¤¤¦ÌÜŪ¤Îµ»½Ñ¤¬°Ê²¼¤Ë¾Ò²ð¤µ¤ì¤ë¤â¤Î¤Ç¤¢¤ë.
¾¤Ë¤â "Outbound Port25 Blocking" ¤Ê¤É¤âƱ¤¸ÌÜŪ¤Îµ»½Ñ¤Ç¤¢¤ë. ¤¿¤À¡¤Outbound ... ¤Ï¥á¡¼¥ë¥µ¡¼¥Ð¤Ç¹Ô¤¦¤â¤Î¤Ç¤Ï¤Ê¤¯¤Æ¡¤¥Í¥Ã¥È¥ï¡¼¥¯¤Î½ÐÆþ¤ê¸ý¤Ç¹Ô¤¦¤â¤Î¤Ç¤¢¤ë¤Î¤Ç¤³¤³¤Ç¤Ï¾Ò²ð¤·¤Ê¤¤.

¤³¤ì¤é¤Ï¡¤¼«Ê¬¤Î´ÉÍý¤¹¤ë¥á¡¼¥ë¥µ¡¼¥Ð(MTA)¤¬ spam Á÷¿®¤Ë»È¤ï¤ì¤ë¤Î¤òËɤ°¤¿¤á¤Î¤â¤Î¤Ç¡¤¤¤¤ï¤Ð¡Ö²Ã³²¼Ô¤Ë¤Ê¤é¤Ê¤¤¤¿¤á¤Î¡×µ»½Ñ¤Ç¤¢¤ë.

SMTP Auth

RFC2554*10¤Ëµ¬Äꤵ¤ì¤Æ¤¤¤ë SMTP ¤Î³ÈÄ¥µ¬³Ê¤Ç¡¤Â礶¤Ã¤Ñ¤Ë¸À¤¨¤ÐSMTP ¥¯¥é¥¤¥¢¥ó¥È¤¬¥µ¡¼¥Ð¤Ëǧ¾Ú¤·¤Æ¤â¤é¤¦»þ¤ËÍѤ¤¤é¤ì¤ë.
¤Ä¤Þ¤ê¡¤¡ÖSMTP ÄÌ¿®¤·¤¿¤¤¤ó¤Ç¤¹¤±¤É¡×¡Ö¤¢¤ó¤¿Ã¯?¡×¡Ö¢þ¢þ¤Ç¤¹¡×¡Ö¤Û¤ó¤È?¡×¡Ö¤³¤ì¤¬¾Úµò¤Ç¤¹¡×¡ÖOK¢ªÄÌ¿®³«»Ï, NG¢ªÄÌ¿®µñÈÝ¡× ¤È¤¤¤¦»ÅÁȤߤò¼Â¸½¤¹¤ë¤â¤Î¤Ç¤¢¤ë.

´Î¿´¤Îǧ¾Ú¤Ï¡¤¼Â¼ÁŪ¤Ë SASL(Simple Authentication and Security Layer) RFC2222*11 ¤òÍѤ¤¤ë¤È¤¤¤¦¤³¤È¤¬ RFC ËÁƬ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë.

¤³¤Îµ»½Ñ¤Ï¼ç¤Ë¡¤¥á¡¼¥ëÁ÷¿®(¼Â¼ÁŪ¤Ë¥á¡¼¥ëžÁ÷¤ËÁêÅö¤¹¤ë)»þ¤Ëǧ¾Ú¤Ç¤­¤ë¥¯¥é¥¤¥¢¥ó¥È¤À¤±¤ò¼õ¤±ÉÕ¤±¤ë¤³¤È¤Ç¡¤¸«ÃΤé¤ÌÂè»°¼Ô¤Ë¤è¤Ã¤Æ¤½¤Î¥µ¡¼¥Ð¤«¤é¥á¡¼¥ë¤òÁ÷¿®¤µ¤ì¤ë¤³¤È¤òËɤ°¤¿¤á¤Ë»È¤¨¤ë.

Message Submission

RFC2476*12 ¤Ëµ¬Äꤵ¤ì¤Æ¤¤¤ëµ¬³Ê.
Ä̾ï¤Ï¥á¡¼¥ë¤ÎÁ÷¿®¤ÈžÁ÷¤ÎξÊý¤¬ port 25 ¤Ç¼õ¤±¤é¤ì¤ë¤Î¤Ç¤¢¤ë¤¬¡¤¤³¤ì¤ò¤ä¤á¤Æ port 25 ¤ÏžÁ÷¤Î¤ß¤ò¼õÉÕ¤±¡¤Á÷¿®¤Ï port 587(Submission port ¤È¤è¤Ð¤ì¤ë)¤Ç¼õ¤±ÉÕ¤±¤ë¤è¤¦¤Ë¤¹¤ë¤È¤¤¤¦¤â¤Î¤Ç¤¢¤ë.
ʬ¤±¤¿¤À¤±¤Ç¤Ï¥»¥­¥å¥ê¥Æ¥£¾å¤Î°ÕÌ£¤Ï¤½¤ó¤Ê¤Ë¤Ê¤¤¤Î¤Ç(^-^), ³Æ¡¹¤Î port ¤Ë¤·¤«¤ë¤Ù¤­Ç§¾Ú¤Ê¤¤¤·¤Ï¾¤ÎÊýË¡¤Ç¤ÎÀ©¸Â¤òƳÆþ¤¹¤ë¤³¤È¤¬Á°Äó¤È¤Ê¤Ã¤Æ¤¤¤ë.
Î㤨¤Ð¡¤Á÷¿®¼õÉÕ¸ý submission port ¤Ç¤Ï smtp auth ¤ò¤«¤±¤ë. MTA Áê¼ê¤Îǧ¾ÚÊýË¡¤Ï Sender ID, SPF, DomainKeys ¤Ê¤É¡¤¥á¡¼¥ë¥µ¡¼¥Ð¤ËŬ¤·¤¿¤â¤Î¤¬Äó°Æ¤µ¤ì¤Æ¤¤¤ë.

¤è¤êʬ¤«¤ê°×¤¯¼¨¤¹¤È¡¤MTA ¤«¤é¤ß¤¿¤È¤­¤Ë´ðËÜŪ¤Ë

  • Á÷¿®¤·¤Æ¤¯¤ëÁê¼ê¤Ï MUA
  • žÁ÷¤·¤Æ¤¯¤ëÁê¼ê¤Ï MTA

¤Ç¤¢¤ê¡¤¥á¡¼¥ë¤Ë´Ø¤¹¤ë»Å»ö¤ÎÆâÍƤˤè¤Ã¤ÆÁê¼ê¤¬°Û¤Ê¤ë¤Î¤Ç¤¢¤ë.
¤½¤³¤Ç¡¤»Å»ö¤ÎÆâÍƤ˱þ¤¸¤Æ port ¤òʬ¤±¤Æ¡¤Áê¼êËè¤ËÂбþ¤òÊѤ¨¤Æ¥»¥­¥å¥ê¥Æ¥£¤ò¹â¤á¤è¤¦¤È¤¤¤¦¹Í¤¨¤Ç¤¢¤ë.

¶ñÂÎŪ¤Ë¤Ï¡¤MTA ¤Ï¤½¤ì¤Ê¤ê¤Î¥µ¡¼¥Ð¤Ç¤¢¤ë¤Î¤Ç¤­¤Á¤ó¤È¤·¤¿Âбþ¤ò´üÂÔ¤·¤Æ¤âÎɤµ¤½¤¦¤È¤«¡¤MUA ¤ÏÍÍ¡¹¤Ê¥á¡¼¥é¤«¤é¤Ê¤ë¤Î¤Ç¤¢¤Þ¤ê¸·¤·¤¤¤³¤È¤òÍ×µá¤Ç¤­¤Ê¤¤¤Ê¤É¡¤³Æ¡¹¤ÎÀ­³Ê¤Ë±þ¤¸¤ÆÁê¼ê¤Ë¤¢¤ï¤»¤¿Ç§¾ÚÊýË¡¤òƳÆþ¤¹¤ë¡¤¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ë.

spam Âкö : Èï³²¼Ô¤Ë¤Ê¤ë¤Î¤òËɤ° : ¼õ¿®»þ¤Î¥Ö¥í¥Ã¥¯

spam ¤Î¡ÖÈï³²¼Ô¤Ë¤Ê¤é¤Ê¤¤¤¿¤á¤Ë¤Ï¡×¡¤´ðËÜŪ¤ËžÁ÷/Á÷¿®¤µ¤ì¤Æ¤­¤¿¥á¡¼¥ë¤ò¼õ¤±¤ë¤È¤³¤í¤Ç¤Î¿åºÝ¤Ç¤ÎÁ¼Ã֤Ȥ¤¤¦¤³¤È¤Ë¤Ê¤ë. ¹Í¤¨Êý¤ÏÂ礭¤¯Æó¤Ä¤¢¤Ã¤Æ¡¤

Àܳ¤·¤Æ¤­¤¿Áê¼ê¤ò¥Á¥§¥Ã¥¯¤·¤Æ¡¤¥À¥á¤Ê¤éÀܳ¤½¤Î¤â¤Î¤òµñÈݤ¹¤ë
ÍøÅÀ¤È·çÅÀ¤Ï°Ê²¼¤ÎÄ̤ê.
ÍøÅÀ
¤½¤â¤½¤â¥á¡¼¥ë¤ò¼õ¤±¼è¤é¤º¤ËºÑ¤à¤Î¤Ç¡¤virus ¤Ê¤É¤ÎÌäÂ꤬Á´¤¯¤Ê¤¤.
¥á¡¼¥ë¤ÎÆâÍƤ˰͸¤·¤Ê¤¤¤Î¤Ç¡ÖÆâÍƤ˰͸¤¹¤ë¸¡±Ü¤Ç¤Ï¤Ê¤¤¤«¡×¤È¤¤¤¦¿´ÇÛ¤¬¤Ê¤¤.
·çÅÀ
Áê¼ê¤¬¼Â¤ÏÌäÂê¤Ê¤¤¤È¤­¤Ç¤â¸í¤Ã¤ÆÇÓ½ü¤·¤Æ¤·¤Þ¤¦¤ÈÈï³²¤¬Â礭¤¤.
¤½¤³¤Ç¡¤¼ÂºÝ¤Ë¤Ï
  • Àµ¤·¤¤SMTP Àܳ°Ê³°¤ÏµñÀ䤹¤ë
  • Áê¼ê¤¬ MTA ¤Î¢þ¢þ¤Îµ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¸Â¤êÀܳ¤òµö²Ä¤¹¤ë(¾å¤ÎÆüì¤Ê¤â¤Î)
  • (Á´À¤³¦¤Ç½¸¤á¤é¤ì¤Æ¤¤¤ë)¥Ö¥é¥Ã¥¯¥ê¥¹¥È¤ËºÜ¤Ã¤Æ¤¤¤ëÁê¼ê¤ÏµñÀ䤹¤ë
¤È¤¤¤¦¤è¤¦¤Ê¼êË¡¤¬¤È¤é¤ì¤ë.
¤È¤ê¤¢¤¨¤º¥á¡¼¥ë¤ò¼õ¤±¼è¤ê¡¤ÆâÍƤò¥Á¥§¥Ã¥¯¤·¤Æ¥À¥á¤Ê¤é¡Ä
ÍøÅÀ¤È·çÅÀ¤Ï°Ê²¼¤ÎÄ̤ê.
ÍøÅÀ
Î㤨¤Ð¥æ¡¼¥¶Ëè¤Ë¤Ê¤É, ½ÀÆð¤ÊÀßÄ꤬²Äǽ.
ÆâÍƤ˰͸¤¹¤ë¹âÅ٤ʥÁ¥§¥Ã¥¯¤¬²Äǽ. ¶ñÂÎŪ¤Ë¤Ï¡¤¶áǯ¤ÏÆϤ¤¤¿¥á¡¼¥ë¤ò¥Ù¥¤¥¸¥¢¥ó¥Õ¥£¥ë¥¿¤Ë¤«¤±¤ÆʬÎह¤ë¼êË¡¤¬¹­¤¯»È¤ï¤ì¤Æ¤¤¤ë¤è¤¦¤À.
·çÅÀ
ÆâÍƤò¥Á¥§¥Ã¥¯¤¹¤ë¤Î¤Ç¡¤¥µ¡¼¥Ð¤Ç¹Ô¤Ã¤¿¾ì¹ç¤Ï¡Ö°ì¼ï¤Î¸¡±Ü¡×¤È¤¤¤¦»ØŦ/ÈãȽ¤Ï¤¦¤±¤¦¤ë.
Éé²Ù¤¬¹â¤¤.

¤È¤¤¤¦¤â¤Î¤Ëʬ¤±¤é¤ì¤ë. ¤¤¤º¤ì¤â¤½¤ì¤Ê¤ê¤Î·çÅÀ¤òÊú¤¨¤ë¤¿¤á¡¤¥µ¡¼¥Ð¤È¥æ¡¼¥¶¤ÎÀ­¼Á¤Ë¤è¤Ã¤Æ¸¡Æ¤¤¬É¬ÍפǤ¢¤ë.

º£²ó¤Ï¤³¤ì¤é¤Ë¤Ä¤¤¤Æ¾Ü¤·¤¯½Ò¤Ù¤Ê¤¤¤¬¡¤°ìÅÙÊÙ¶¯¤·¤Æ¤ª¤¯¤È¤è¤¤¤À¤í¤¦.
warning.png Î㤨¤Ð¡¤(¶µ´±¤Î·Ð¸³¤Ç¤Ï)¥µ¡¼¥Ð¦¤Ç¡ÖÀµ¤·¤¤ SMTPÀܳ°Ê³°¤ÏµñÀ䤹¤ë¡×¤À¤±¤Ç spam ¤Î 95%°Ê¾å¤ò̵¤¯¤¹¤³¤È¤¬¤Ç¤­¤ë. ¤¿¤À¤·¡¤À¤¤ÎÃæ¤Ë¤Ï¡ÖÀµµ¬¤Î¥á¡¼¥ë¥µ¡¼¥Ð¤Î¤¯¤»¤ËÆ°ºî¤¬¥ë¡¼¥ë°ãÈ¿¤Ç¤¢¤ë¡×¥µ¡¼¥Ð¤â¤¢¤ê¡¤¤³¤¦¤·¤¿¥µ¡¼¥Ð¤ò¡Ö¥Û¥ï¥¤¥È¥ê¥¹¥È¡×¤ËÆþ¤ì¤Æ¤¤¤¯¤Ê¤É¤ÎÆü¡¹¤ÎÄ´À°/ÀßÄê¤Ï¤Ê¤«¤Ê¤«ÂçÊѤǤ¢¤ë¤Î¤À¤¬¡Ä

notes.png ¡Öspam Èï³²¤ò¸º¤é¤¹¤¿¤á¤Ë¡×¼ÂºÝ¤Ë¤É¤Î¤è¤¦¤ÊËɸæÊýË¡¤¬¤¢¤ë¤Î¤«¡¤Ä´¤Ù¤Æ¤ß¤è. ¤³¤Î¤È¤­¡¤¡Ö²Ã³²¼Ô¤Ë¤Ê¤é¤Ê¤¤¤¿¤á¤Î¡×Âкö¤È¡ÖÈï³²¼Ô¤Ë¤Ê¤é¤Ê¤¤¤¿¤á¤Î¡×Âкö¤Ë¤ï¤±¤Æ¡¤Î¾ÊýÄ´¤Ù¤è.

MTA : Postfix

¤µ¤Æ¡¤¤Ç¤Ï¥á¡¼¥ë¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤ÎËܼÁ¤Ç¤¢¤ë MTA ¤ò¥¤¥ó¥¹¥È¡¼¥ë¡¤ÀßÄꤷ¤Æ¤ß¤è¤¦.
¾å¤Ë½ñ¤¤¤¿¤è¤¦¤Ë MTA ¤Îͭ̾¤É¤³¤í¤Ï sendmail, postfix, qmail ¤È¤¤¤¦¤È¤³¤í¤À¤¬¡¤sendmail ¤Ï¡Ö¼ê¤ÇÀßÄꤹ¤ë¤Î¤Ï»êÆñ¡×¤È¸À¤ï¤ì¤ë¤·*13¡¤qmail ¤Ï sendmail ¤È¤Î¸ß´¹À­¤¬Ä㤤¤¿¤á¤Ë¾¯¤·¶ìÏ«¤¹¤ë¤³¤È¤â¤¢¤ë.
̵Æñ¤Ê¤È¤³¤í¤Ç Postifx ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¤ÀßÄê¤ò¹Ô¤Ã¤Æ¤ß¤è¤¦.

notes.png sendmail ¤ÎÀßÄ꤬¤É¤Î¤è¤¦¤ËÆñ¤·¤¤¤Î¤«¤òÃΤ뤿¤á¤Ë¤Ï¤½¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë /etc/mail/sendmail.cf ¤ò¸«¤Æ¤ß¤ë¤Î¤¬°ìÈÖ¼ê¤Ã¼è¤êÁᤤ. ¤³¤Î¥Õ¥¡¥¤¥ë¤Î¡¤REWRINTING RULES ¤È¤¤¤¦¤¢¤¿¤ê¤«¤é¤ò¸«¤Æ¤ß¤Æ¡¤¼«Ê¬¤ÇÍý²ò¤Ç¤­¤½¤¦¤«¡¤´Ö°ã¤¨¤º¤ËÊÔ½¸¤Ç¤­¤½¤¦¤«¡¤¹Í¤¨¤Æ¤ß¤è.

notes.png sendmail, postfix, qmail ¤Î³Æ¡¹¤ÎÆÃħ¤ò¾¯¤·¾Ü¤·¤¯Ä´¤Ù¤Æ¤ª¤³¤¦.

Postfix ¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¤ÀßÄê

¾å¤Ë½Ò¤Ù¤¿µ»½Ñ¤È¤Î´Ø·¸

¤Þ¤º¡¤Postfix ¤È¾å¤Î¥»¥­¥å¥ê¥Æ¥£¡¤spam Âкö¤È¤Î´Ø·¸¤ò½Ò¤Ù¤Æ¤ª¤³¤¦.
warning.png ¤½¤â¤½¤â Postfix ¤Ï¾å¤Ë½Ò¤Ù¤¿¤è¤¦¤Êµ»½Ñ¤ÈÁêÀ­¤¬Îɤ¤¥½¥Õ¥È¥¦¥§¥¢¤È¤·¤ÆÃΤé¤ì¤Æ¤ª¤ê¡¤¤³¤¦¤·¤¿¿·¤·¤¤Âкöµ»½Ñ¤òƳÆþ¤¹¤ë¤Î¤ËŬ¤·¤Æ¤¤¤ë.

SMTP over TLS/SSL ¤Ë¤Ä¤¤¤Æ

¸½»þÅÀ¤Ç¤Î FreeBSD ¤Ç Postfix ¤ò ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤è¤¦¤È¤¹¤ë¤È "Enable SSL and TLS support" ¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤òÁªÂò²Äǽ¤Ê¤Î¤Ç¤³¤ì¤òÁªÂò¤·¤Æ¤ª¤±¤Ð¤è¤¤¤À¤±¤Ç¤¢¤ë. °ÊÁ°¤«¤éÈæ³ÓŪ³Ú¤À¤Ã¤¿¤È¤Ï¤¤¤¨¡¤¤³¤³¤Þ¤Ç³Ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤È¤Ï¡Ä¤È»×¤¦¤°¤é¤¤´Êñ¤Ë¤Ê¤Ã¤Æ¤¤¤ë.

SMTP Auth ¤Ë¤Ä¤¤¤Æ

¸¶Â§¤È¤·¤Æ Postfix ¥¤¥ó¥¹¥È¡¼¥ë¡ÖÁ°¡×¤Ëǧ¾Ú¤Î¤¿¤á¤ËÍѤ¤¤é¤ì¤ë SASL ¤òÄ󶡤¹¤ë¥½¥Õ¥È¥¦¥§¥¢¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ë.
¤·¤«¤·¡¤¸½»þÅÀ¤Ç¤Ï ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤è¤¦¤È¤·¤¿»þ¤Ë "Cyrus SASLv2" ¤È¤¤¤¦¥ª¥×¥·¥ç¥ó¤òÁªÂò²Äǽ¤Ê¤Î¤Ç¤³¤ì¤òÁªÂò¤·¤Æ¤ª¤±¤ÐCyrus-SASL ¤ò¼«Æ°Åª¤Ë»öÁ°¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¯¤ì¤ë¤Î¤Ç¡¤²¿¤â¤·¤Ê¤¯¤Æ¤è¤¤.

¥¤¥ó¥¹¥È¡¼¥ë

sendmail ¤¬´û¤ËÆ°¤¤¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯

¤Þ¤º¡¤Â¿¤¯¤Î OS ¤Ç¥Ç¥Õ¥©¥ë¥È¤ÇÆ°¤¤¤Æ¤¤¤ë¤³¤È¤¬Â¿¤¤ sendmail ¤¬Æ°¤¤¤Æ¤¤¤¿¤ê¤·¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤¹¤ë*14.
¶ñÂÎŪ¤Ë¤Ï¡¤Á°²ó¤Î¼ø¶È¤Ç Web ¥µ¡¼¥Ð¤¬´û¤ËÆ°¤¤¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤·¤¿¤Î¤ÈƱ¤¸ÊýË¡¤À.

notes.png ¤½¤³¤Ç¡¤°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ sendmail ¤¬Æ°¤¤¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤·¤è¤¦.

  • ¤Þ¤º¡¤/etc/rc.conf ¤òÆɤó¤Ç sendmail ¤Ë¤Ä¤¤¤Æ¤Îµ­½Ò¤¬¤Ê¤¤¤«¥Á¥§¥Ã¥¯¤¹¤ë.
    sendmail_enable="YES" ¤Ê¤É¤È¤¢¤Ã¤¿¤é sendmail ¤¬µ¯Æ°¤·¤Æ¤¤¤ë¤Ï¤º¤À.
    ¤â¤· sendmail ¤Ë´Ø¤¹¤ëµ­½Ò¤¬ rc.conf ¤Ë¤Ê¤±¤ì¤Ð¡¤/etc/defaults/rc.conf (¤³¤ì¤Ë¤Ïɬ¤º½ñ¤¤¤Æ¤¢¤ë)¤Îµ­½Ò¤¬Í­¸ú¤Ë¤Ê¤ë¤Î¤Ç¤½¤Á¤é¤âÆɤ⤦.
    warning.png /etc/defaults/rc.conf ¤Ë sendmail_enable="NO" ¤È½ñ¤¤¤Æ¤¢¤ë¤¬°Â¿´¤·¤Æ¤Ï¤¤¤±¤Ê¤¤. /etc/defaults/rc.conf ¤òÃí°Õ¿¼¤¯Æɤá¤Ð¤ï¤«¤ë¤¬¡¤¤³¤ì¤Ï sendmail ¤Îµ¡Ç½¤Î°ìÉô¤¬µ¯Æ°¤·¤Ê¤¤¤À¤±¤Ç¡¤sendmail ¤Î¾¤ÎÉôʬ¤Ïµ¯Æ°¤·¤Æ¤·¤Þ¤¦. sendmail Á´¤Æ¤Îµ¯Æ°¤ò»ß¤á¤¿¤¤¾ì¹ç¤Ï sendmail_enable="NONE" ¤È¤¹¤ë¤È¤è¤¤.

notes.png /etc/rc.conf ¤ËÆÃ¤Ë sendmail ¤Ë´Ø¤¹¤ëµ­½Ò¤¬¤Ê¤¯¡¤¤«¤Ä¡¤ /etc/defaults/rc.conf ¤Ë sendmail_¤Û¤²¤Û¤²_enable="YES" ¤È¤¤¤¦µ­½Ò¤¬¤¢¤ë¾ì¹ç¤Ï¡¤ ¤³¤ì°Ê¹ß¤Î sendmail ¤Î¼«Æ°µ¯Æ°¤òËɤ°¤¿¤á¤Ë /etc/rc.conf ¤Ë

sendmail_enable="NONE"

¤È½ñ¤­¤³¤ó¤Ç¤ª¤³¤¦.

  • ¼¡¤Ë,
     ps -axuww | grep -i sendmail
    ¤Î½ÐÎÏ·ë²Ì¤ò¸«¤Æ¡¤sendmail ¤¬Æ°¤¤¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯(sendmail ¤Ï¤¤¤í¤¤¤í¤ÊÊÌ̾¤ò»ý¤Ã¤Æ¤¤¤ë¤¬¡¤ËÜÂΤÏƱ¤¸).
  • ¼¡¤Ë¡¤
     lsof -i4 | grep -i mail

¤È¤·¤Æ mail ¤È¤« post ¤È¤« drop ¤È¤«¤¤¤¦Ê¸»úÎó¤ò´Þ¤à daemon ¤¬Æ°¤¤¤Æ¤¤¤Ê¤¤¤«Ä´¤Ù¤è¤¦.

  • ¤Þ¤¿¡¤
     telnet localhost 25
    ¤È¤·¤Æ

    Trying 127.0.0.1...

    Connected to localhost.

    Escape character is '^]'.

    220 ¥Û¥¹¥È̾ ESMTP Sendmail 8.14.2/8.14.2; Sun, 7 Dec 2008 20:51:38 +0900 (JST)

¤È¤¤¤¦¤è¤¦¤Ë¡¤SMTP ¤ò¼õ¤±ÉÕ¤±¤Æ¤¤¤ë¤è¤È¤¤¤¦ÊÖ»ö¤¬Íè¤ÆÀܳ¤Ç¤­¤ë¤è¤¦¤À¤Ã¤¿¤é¤ª¤½¤é¤¯ sendmail ¤¬Æ°¤¤¤Æ¤¤¤ë*15.
warning.png ¾å¤Ç telnet ¤òÍѤ¤¤Æ sendmail ¤ËÀܳ¤·¤¿¸å¤ËÀÚÃǤ·¤¿¤¤¾ì¹ç¤Ï¡¤^] (Ctrl ¥­¡¼¤ò²¡¤·¤Ê¤¬¤é ] ¤ò²¡¤¹) ¤È¤·¤Æ¤«¤é¡¤quit ¤ÈÂǤƤФ褤. ¤³¤Î ^] ¤Ï "¥Í¥Ã¥È¥ï¡¼¥¯¤Ë´Ø¤¹¤ëÁàºî¤ÎÄä»ß" ¤È¤¤¤¦°ÕÌ£¤Ç¡¤»þ¡¹Ìò¤ËΩ¤Ä¤Î¤Ç³Ð¤¨¤Æ¤ª¤³¤¦.

¤µ¤Æ¡¤¤³¤ì¤Þ¤Ç¤Î¥Á¥§¥Ã¥¯¤Ç¤â¤· sendmail ¤¬Æ°¤¤¤Æ¤¤¤ë¤è¤¦¤À¤Ã¤¿¤é¡¤

 /etc/rc.d/sendmail stop

¤È¤·¤Æ sendmail ¤òÄä¤á¤è¤¦.
Ç°¤Î°Ù¤Ë¥ê¥Ö¡¼¥È¤·¤Æ¡¤sendmail ¤¬¤â¤Ï¤äºÇ½é¤«¤éÆ°¤«¤Ê¤¤¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤ª¤¯¤È¤Ê¤ª¤è¤¤.

¥¤¥ó¥¹¥È¡¼¥ëºî¶È

¤Þ¤º¤¤¤Ä¤â¤Î¤è¤¦¤Ë ports ¥³¥ì¥¯¥·¥ç¥ó¤ò¹¹¿·¤·¤Æ¤ª¤³¤¦.

 portsnap fetch
 portsnap update

¤Ç¤Ï¡¤ports ¤«¤é postfix ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë. ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¥Ð¡¼¥¸¥ç¥ó¤ÏºÇ¿·¤Î ver.2.5.5,1 ¤Ç¤è¤¤¤À¤í¤¦.
¤¿¤À¤·¡¤ports ¥³¥ì¥¯¥·¥ç¥ó¤ò¤¶¤Ã¤È¤ß¤¿¤À¤±¤Ç¤â ver.1·Ï, ver. 2.1·Ï, ver. 2.2·Ï, ver. 2.3·Ï, ver.2.4·Ï ¤¬Â¾¤Ë¥³¥ì¥¯¥·¥ç¥ó¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¤¥¤¥ó¥¹¥È¡¼¥ë¤ÎºÝ¤Ë¤Ï´Ö°ã¤Ã¤¿¥Ð¡¼¥¸¥ç¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤¤¤è¤¦Ãí°Õ¤·¤è¤¦*16.
¤µ¤Æ¡¤

 cd /usr/ports
 portinstall mail/postfix

¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¬»Ï¤Þ¤ë¤À¤í¤¦*17. ¤â¤·¤â¥Ð¡¼¥¸¥ç¥óÁªÂò¤òÇ÷¤é¤ì¤ë¤è¤¦¤Ê¤é¤ÐÃí°Õ¿¼¤¯ÁªÂò¤·¤è¤¦.

ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¡¤ÅÓÃæ¤ÇÁªÂò/·èÄê ¤òÇ÷¤é¤ì¤ë¾ìÌ̤¬3²ó¤Û¤É½Ð¤Æ¤¯¤ë. ¤½¤ì¤é¤Ë¤Ä¤¤¤Æ²òÀ⤷¤è¤¦.

¤¿¤Ö¤óºÇ½é¤Ë
postfix-option-1.png
¤Î¤è¤¦¤Ê²èÌ̤¬½Ð¤Æ¡¤postfix ¤Î¥¤¥ó¥¹¥È¡¼¥ë¥ª¥×¥·¥ç¥ó¤òʹ¤«¤ì¤ë¤À¤í¤¦.
¤³¤ì¤ËÂФ·¤Æ¤Ï¡¤¾å¤Ë½Ò¤Ù¤¿¤è¤¦¤Ë "Cyrus SASLv2", "Enable SSL and TLS support" ¤ÎÆó¤Ä¤Ï "ON" ¤Ë¤·¤Æ¤ª¤­¤¿¤¤. ¤Þ¤¿¡¤¥Ç¥Õ¥©¥ë¥È¤ÇÁªÂò¤µ¤ì¤Æ¤¤¤ë¤À¤í¤¦ "Perl Compatible Regular Expressions" ¤â "ON" ¤Ç¤è¤¤. ¾¤Ï¤½¤Î¤Þ¤Þ¤Ç¤è¤¤¤À¤í¤¦.

¤¹¤ë¤È¡¤ºÇ½é¤Ë cyrus-sasl2 ¤Î¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤¬¹Ô¤ï¤ì¡¤¤½¤ì¤«¤é postfix ¤Î¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤Ë¤Ê¤ë. ¤·¤Ð¤é¤¯¤ÏÌۤäÆÂԤȤ¦.

¤½¤·¤Æ¤·¤Ð¤é¤¯¤¹¤ë¤È¡¤

Added group "postfix".

Added group "maildrop".

Added user "postfix".

You need user "postfix" added to group "mail".

Would you like me to add it [y]?

¤Èʹ¤«¤ì¤ë¤À¤í¤¦.
¤³¤ì¤Ï¥½¥Õ¥È¥¦¥§¥¢ postfix ¤òÆ°¤«¤¹ÆÃÊ̤ʥ桼¥¶ postfix ¤ò mail ¥°¥ë¡¼¥×¤ËÆþ¤ì¤Æ¤è¤¤¤«? ¤È¤¤¤¦¼ÁÌä¤À¤¬¡¤¤³¤¦¤·¤Æ¤ª¤«¤Ê¤¤¤È SMTP Auth ¤¬»È¤¨¤Ê¤¤(¸å½Ò)¤Î¤Ç¡¤"y" ¤ÈÅú¤¨¤Æ¤ª¤³¤¦.

¤Þ¤¿¡¤

Would you like to activate Postfix in /etc/mail/mailer.conf [n]?

¤È¤âʹ¤«¤ì¤ë¤À¤í¤¦.
¤³¤ì¤Ï mail ´ØÏ¢¤Î¥½¥Õ¥È¥¦¥§¥¢Âбþɽ¤È¤Ç¤â¤¤¤¦¤Ù¤­ /etc/mail/mailer.conf ¤ò½ñ¤­´¹¤¨¤Æ¤â¤è¤¤¤«? ¤È¤¤¤¦¼ÁÌä¤Ê¤Î¤À¤¬¡¤¤³¤ì¤Þ¤¿¤½¤¦¤·¤Æ¤ª¤«¤Ê¤¤¤È²¿¤«¤ÈÉÔÊؤʤΤǤ³¤ì¤â "y" ¤ÈÅú¤¨¤ë¤Ù¤­¤Ç¤¢¤ë.
warning.png ¥Ç¥Õ¥©¥ë¥È¤¬ "n" ¤È¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¤¤½¤Î¤Þ¤Þ enter ¥­¡¼¤ò²¡¤µ¤Ê¤¤¤è¤¦µ¤¤ò¤Ä¤±¤è¤¦.

¤Á¤Ê¤ß¤Ë¡¤½ñ¤­´¹¤¨Á°¤Î mailer.conf ¤Ï

sendmail /usr/libexec/sendmail/sendmail

send-mail /usr/libexec/sendmail/sendmail

mailq /usr/libexec/sendmail/sendmail

newaliases /usr/libexec/sendmail/sendmail

hoststat /usr/libexec/sendmail/sendmail

purgestat /usr/libexec/sendmail/sendmail

¤È¤Ê¤Ã¤Æ¤¤¤ë¤¬¡¤½ñ¤­´¹¤¨¸å¤Ï

sendmail /usr/local/sbin/sendmail

send-mail /usr/local/sbin/sendmail

mailq /usr/local/sbin/sendmail

newaliases /usr/local/sbin/sendmail

¤È¤Ê¤ë.
¤³¤Î /usr/local/sbin/sendmail ¤Ï̾Á°¤³¤½ sendmail ¤À¤¬¡¤¼ÂºÝ¤Ï postfix ¤½¤Î¤â¤Î¤Ç¤¢¤ë(¸ß´¹À­¤Î¤¿¤á¤Ë sendmail ¤ÈƱ¤¸Ì¾Á°¤Ë¤·¤Æ¤¢¤ë).

¤µ¤Æ¡¤¤¢¤È¤ÏÊü¤Ã¤Æ¤ª¤±¤Ð¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤½¤Î¤â¤Î¤Ï½ªÎ»¤¹¤ë.

ÀßÄê

¥¤¥ó¥¹¥È¡¼¥ë¥í¥°¤Î¥Á¥§¥Ã¥¯

¤µ¤Æ¡¤¥¤¥ó¥¹¥È¡¼¥ëÅÓÃæ¤Ë½Ð¤Æ¤¯¤ë¥á¥Ã¥»¡¼¥¸¤òÃí°Õ¿¼¤¯¸«¤Æ¤¤¤ë¤È¡Ö°Ê²¼¤Îºî¶È¤ò¹Ô¤¨¡×¤È¤«¡¤¡Ö¤³¤¦¤¤¤¦¤È¤­¤Ï¤³¤¦¤·¤í¡×¤Ê¤É¤Î¤È»Ø¼¨¤¬½Ð¤Æ¤¤¤ë¤Î¤¬Ê¬¤«¤ë. °ÊÁ°¤âÃí°Õ¤·¤¿¤è¤¦¤³¤ì¤òÆɤޤʤ¤¤ÈÄˤ¤Ìܤˤ¢¤¦¤³¤È¤¬¤¢¤ë¤Î¤Ç¡¤¥í¥°¤òÆɤó¤Ç¤³¤Î¥á¥Ã¥»¡¼¥¸¤Ë½¾¤ª¤¦.

°ÊÁ°¤ÎÀßÄêÄ̤ê¤Ë¤·¤Æ¤¤¤ì¤Ð¡¤º£²ó¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Ï /var/log/ports/mail::postfix.log ¤Ç¤¢¤ë¤Î¤Ç¡¤¤³¤ì¤òÆɤá¤Ð¤è¤¤.
warning.png ¤³¤Î¥Õ¥¡¥¤¥ë¤¬¤Ê¤¤¡¤Ì¾Á°¤¬°ã¤¦¡¤¤È¤¤¤¦¿Í¤Ï portupgrade ¤ÎÀßÄê¤Î¹àÌܤ¬°ã¤Ã¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ê¤Î¤Ç¡¤¤½¤Î»þ¤Î¼ø¶È¤Î»ñÎÁ¤òÆɤó¤Ç¼«Ê¬¤ÇÄ´¤Ù¤Æ²¿¤È¤«¤·¤è¤¦.

¥í¥°¥Õ¥¡¥¤¥ë¤«¤é¤Þ¤º¸«¤Ä¤«¤ë¥á¥Ã¥»¡¼¥¸Åù¤Ï

*** Added group `cyrus' (id 60)

*** Added user `cyrus' (id 60)

¤È¤¤¤¦Éôʬ¤Ç¡¤¤³¤ì¤Ë¤è¤ê¡¤cyrus ¤È¤¤¤¦¥æ¡¼¥¶¤È¥°¥ë¡¼¥×¤¬¤Ä¤¯¤é¤ì¤¿¤³¤È¤¬Ê¬¤«¤ë.
¼¡¤Ë¥é¥¤¥Ö¥é¥ê¤Ë´Ø¤·¤ÆÍøÍѤ·¤¿¤±¤ì¤Ð±¾¡¹¡Ä¤È¤¤¤¦¤¤¤Ä¤â¤Î¥á¥Ã¥»¡¼¥¸¤Î¾¤Ë¡¤

You can use sasldb2 for authentication, to add users use:


saslpasswd2 -c username


If you want to enable SMTP AUTH with the system Sendmail, read

Sendmail.README


NOTE: This port has been compiled with a default pwcheck_method of

auxprop. If you want to authenticate your user by /etc/passwd,

PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and

set sasl_pwcheck_method to saslauthd after installing the

Cyrus-IMAPd 2.X port. You should also check the

/usr/local/lib/sasl2/*.conf files for the correct

pwcheck_method.

¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ë.
¤³¤ì¤Ï SMTP Auth ¤¬¤É¤Î¤è¤¦¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¤«¤È¤½¤Î»È¤¤Êý¤Ë¤Ä¤¤¤Æ¤Î»Ø¼¨¤Ç¤¢¤ë.
¤è¤¯Ê¬¤«¤é¤Ê¤¤¿Í¤â±Ñ¸ì¤ÏÆɤá¤ë¤À¤í¤¦¤«¤é°ì±þÆɤó¤Ç¤ª¤³¤¦*18.
¤Á¤Ê¤ß¤Ë¡¤¤³¤³¤Ç½ñ¤¤¤Æ¤¢¤ë Sendmail.README ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤Ï cyrus-sasl2 ¤Î¥¤¥ó¥¹¥È¡¼¥ë/¥³¥ó¥Ñ¥¤¥ëÅÓÃæ¤Ç½ÐÍè¤Æ¤¤¤ë¤â¤Î¤Î¤Ï¤º¤À.
¤À¤«¤é¡¤Ä̾ï¤Ê¤é¤Ð /usr/ports/security/cyrus-sasl2/files ¤Ê¤É¤Ë¸«¤Ä¤«¤ë.
¤¿¤À¤·¡¤º£²ó¤Ï sendmail ¤Ç¤Ï¤Ê¤¯¤Æ postfix ¤ò»È¤¦¤Î¤Ç¡¤¤³¤Î Sendmail.README ¤òÆɤàɬÍפϤʤ¤.

¤µ¤Æ¡¤¼¡¤Ë¸«¤Ä¤«¤ë¥á¥Ã¥»¡¼¥¸¤Ï

Warning: you still need to edit myorigin/mydestination/mynetworks

parameter settings in /usr/local/etc/postfix/main.cf.


See also http://www.postfix.org/STANDARD_CONFIGURATION_README.html

for information about dialup sites or about sites inside a

firewalled network.


BTW: Check your /etc/aliases file and be sure to set up aliases

that send mail for root and postmaster to a real person, then

run /usr/local/bin/newaliases.

¤Ç¤¢¤ë.
¤³¤ì¤Ï¡¤postfix ¥¤¥ó¥¹¥È¡¼¥ë¸å¤Ë¤É¤Î¤è¤¦¤ÊÀßÄ꤬ɬÍפ«¡¤¤´¤¯Â礶¤Ã¤Ñ¤Ë»Ø¼¨¤·¤Æ¤¤¤ë.
/usr/local/etc/postfix/main.cf ¤ò½ñ¤­´¹¤¨¤í¤è¡¤ dialup ¤¹¤ë¥Û¥¹¥È¤ä firewall ¤ÎÆ⦤ˤ¢¤ë¥Û¥¹¥È¤Ë´Ø¤¹¤ë¾ðÊó¤Ï¤³¤Î Web ¤ò¸«¤í¤è¤È¤«¡¤/etc/aliases ¤ò¤³¤ì¤³¤ì¤ò³Îǧ¤·¤Æľ¤·¤Æ newaliases ¤ò¼Â¹Ô¤·¤í¤è¡¤¤È¤¤¤¦¤³¤È¤¬¸À¤ï¤ì¤Æ¤¤¤ë.

¤Þ¤¿¡¤¼¡¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë.

To enable postfix startup script please add postfix_enable="YES" in

your rc.conf


If you not need sendmail anymore, please add in your rc.conf:


sendmail_enable="NO"

sendmail_submit_enable="NO"

sendmail_outbound_enable="NO"

sendmail_msp_queue_enable="NO"


And you can disable some sendmail specific daily maintenance routines in your

/etc/periodic.conf file:


daily_clean_hoststat_enable="NO"

daily_status_mail_rejects_enable="NO"

daily_status_include_submit_mailq="NO"

daily_submit_queuerun="NO"

warning.png ¤³¤ì¤Ï½ÅÍפʥá¥Ã¥»¡¼¥¸¤Ç¤¢¤ë.
¤Þ¤º¡¤µ¯Æ°»þ¤Ë postfix ¤¬Æ°¤¯¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤¤«¤¬½ñ¤«¤ì¤Æ¤ª¤ê¡¤¤Ä¤®¤Ë¡¤¤³¤ì¤Þ¤Ç¥Ç¥Õ¥©¥ë¥È¤ÇÍøÍѤµ¤ì¤Æ¤¤¤¿ sendmail ¤Ë´Ø¤·¤Æ¤ÎÆ°ºî¤ò¤É¤¦Ää»ß¤µ¤»¤ë¤«¤¬½ñ¤«¤ì¤Æ¤¤¤ë. Ãí°Õ¿¼¤¯Æɤó¤Ç¤ª¤³¤¦.

¤¹¤°¼¡¤Ë¤³¤Î¥á¥Ã¥»¡¼¥¸¤¬Â³¤¯.

If you are using SASL, you need to make sure that postfix has access to read

the sasldb file. This is accomplished by adding postfix to group mail and

making the /usr/local/etc/sasldb* file(s) readable by group mail (this should

be the default for new installs).

¤³¤Î¥á¥Ã¥»¡¼¥¸¤«¤é¤ÏÀè¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î¼ÁÌä

You need user "postfix" added to group "mail".

Would you like me to add it [y]?

¤Ë "y" ¤ÈÅú¤¨¤Ê¤¤¤È¤¤¤±¤Ê¤«¤Ã¤¿Íýͳ¤¬Ê¬¤«¤ë. Àè¤Ë¸À¤¨¡¤¤È¤¤¤¦µ¤¤¬¤¹¤ë¤±¤É¤Í.
¤½¤ì¤«¤é¸æÃúÇ«¤Ë¤â

If you are upgrading from postfix version prior to 2.0, please see the README

files for recommended changes to your configuration.

¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ê¡¤¸Å¤¤ postfix ¤«¤é¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤·¤¿¾ì¹ç¤Ï¤É¤¦¤¹¤ì¤Ð¤è¤¤¤«¤¬¤ï¤«¤ë.

¤½¤Î¸å¤Ë

This port has installed the following binaries which execute with

increased privileges.

/usr/local/sbin/postdrop

/usr/local/sbin/postqueue


This port has installed the following files which may act as network

servers and may therefore pose a remote security risk to the system.

/usr/local/libexec/postfix/nqmgr

/usr/local/libexec/postfix/qmgr

/usr/local/libexec/postfix/showq

/usr/local/libexec/postfix/master

/usr/local/libexec/postfix/error

/usr/local/libexec/postfix/scache

/usr/local/libexec/postfix/qmqpd

/usr/local/libexec/postfix/anvil

/usr/local/libexec/postfix/cleanup

/usr/local/libexec/postfix/pickup

/usr/local/libexec/postfix/discard

/usr/local/libexec/postfix/virtual

/usr/local/libexec/postfix/oqmgr

/usr/local/libexec/postfix/verify

/usr/local/libexec/postfix/spawn

/usr/local/libexec/postfix/local

/usr/local/libexec/postfix/flush

/usr/local/libexec/postfix/tlsmgr

/usr/local/libexec/postfix/bounce

/usr/local/libexec/postfix/smtpd

/usr/local/libexec/postfix/pipe

/usr/local/libexec/postfix/smtp

/usr/local/libexec/postfix/proxymap

/usr/local/libexec/postfix/trivial-rewrite

/usr/local/libexec/postfix/lmtp


This port has installed the following startup scripts which may cause

these network services to be started at boot time.

/usr/local/etc/rc.d/postfix


If there are vulnerabilities in these programs there may be a security

risk to the system. FreeBSD makes no guarantee about the security of

ports included in the Ports Collection. Please type 'make deinstall'

to deinstall the port if this is a concern.


For more information, and contact details about the security

status of this software, see the following webpage:

http://www.postfix.org/

¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ê¡¤Æø¢¤ò¤â¤Ä¥×¥í¥°¥é¥à¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿¤³¤È¡¤¥Í¥Ã¥È¥ï¡¼¥¯·Ï¤Î¥×¥í¥°¥é¥à¤Ï°Ê²¼¤³¤ì¤³¤ì¤Ç¡¤¥»¥­¥å¥ê¥Æ¥£¾å¤Î¥ê¥¹¥¯¤È¤Ê¤ê¤¦¤ë¤³¤È¡¤¥·¥¹¥Æ¥à¥Ö¡¼¥È»þ¤Ê¤É¤Ë postfix ¤òµ¯Æ°¤¹¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¥¹¥¯¥ê¥×¥È¤Ï /usr/local/etc/rc.d/postfix ¤À¤È¤¤¤¦¤³¤È¡¤¥»¥­¥å¥ê¥Æ¥£¾å¤Î¤¤¤Ä¤â¤Î·Ù¹ð¡¤¤½¤·¤Æ postfix ¤Ë´Ø¤¹¤ë Web ¤Î°ÆÆâ¤Ê¤É¤¬½Ò¤Ù¤é¤ì¤Æ¤¤¤ë.

ºÇÄã¸Â¤ÎÀßÄê

¤µ¤Æ¡¤postfix ¤Ë´Ø¤·¤ÆºÇÄã¸Â¤ÎÀßÄê¤ò¹Ô¤ª¤¦.
Àè¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Î¥á¥Ã¥»¡¼¥¸¤ò°ìÄ̤êÆɤó¤Àº£¤È¤Ê¤Ã¤Æ¤Ï¡¤²¿¤ò¤¹¤ì¤ÐÎɤ¤¤Î¤«¤¬¤À¤¤¤¿¤¤¤ï¤«¤ë¤Ï¤º¤À.



¤Þ¤º¤Ï¡¤¥Ç¥Õ¥©¥ë¥È¤Î sendmail ¤Ë´Ø¤¹¤ëÀßÄê¤òÁ´¤Æ̵¸ú¤Ë¤·¡¤postfix ¤ò»È¤¦¤è¤¦¤ËÀßÄꤷ¤Ê¤ª¤½¤¦.
notes.png ¤½¤ì¤Ë¤Ï¡¤¥í¥°¥Õ¥¡¥¤¥ë¤Î "To enable postfix startup script please ..." ¤È¤¤¤¦Éôʬ¤Î»Ø¼¨¤Ë½¾¤¨¤Ð¤è¤¤. ¤Þ¤º¤Ï¤½¤ÎÄ̤ê¤Ëºî¶È¤·¤è¤¦.
warning.png ¤¿¤À¤·¡¤sendmail_enable="NO" ¤«¤é»Ï¤Þ¤ë4¹Ô¤ÎÀßÄê¤ÏÀè¤Ë¤·¤¿ sendmail_enable="NONE" ¤ÇÂåÍѤǤ­¤ë¤Ï¤º¤Ç¤¢¤ë. ¤è¤Ã¤Æ¡¤¼Â¼ÁŪ¤Êºî¶È¤Ï¡Ö/etc/rc.conf ¤Ë°ì¹Ô½ñ¤­²Ã¤¨¤ë¡×¡Ö/etc/periodic.conf ¤Ë4¹Ô½ñ¤­²Ã¤¨¤ë¡×¤ÎÆó¤Ä¤ÇºÑ¤à¤Ï¤º¤À.



¤µ¤Æ¡¤¼¡¤Ë¡¤¥á¡¼¥ë¥µ¡¼¥Ð¤È¤·¤ÆºÇÄã¸Â¤ÎÀßÄê(SMTP Auth ¤â SMTP over TLS/SSL ¤â¤Ê¤·)¤ò¹Ô¤ª¤¦.
¤³¤ì¤Ï /usr/local/etc/postfix/main.cf ¤òÊÔ½¸¤¹¤ë¤À¤±¤Ç¤è¤¤.

 cd /usr/local/etc/postfix/
 emacs main.cf

¤Ê¤É¤È¤·¤ÆÊÔ½¸¤·¤è¤¦.
warning.png ¤³¤Î main.cf ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤â˺¤ì¤Ê¤¤¤è¤¦¤Ë.

notes.png °Ê²¼¤Ë½¤Àµ¤·¤¿²Õ½ê¤Î¤ßÈ´¤­½Ð¤·¤¿Îã¤ò½ñ¤¯¤Î¤Ç¡¤¤³¤ì¤ò»²¾È¤·¤Æ¤È¤ê¤¢¤¨¤ºÊÔ½¸¤·¤è¤¦
¤Ê¤ª¡¤¥Ç¥Õ¥©¥ë¥ÈÃͤ¬µ¤¤Ë¤Ê¤ëÀßÄê¤Ï /usr/local/etc/postfix/main.cf.default ¤ò¸«¤ì¤Ð½ñ¤¤¤Æ¤¢¤ë¤Î¤Ç¤½¤ì¤ò¸«¤è¤¦.

myhostname = q17.cl.math.sci.osaka-u.ac.jp ¢« ¼«Ê¬¤Î hostname ¤ò½ñ¤¯¤³¤È!

mydomain = cl.math.sci.osaka-u.ac.jp

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

home_mailbox = Maildir/

warning.png home_mailbox ¤ÎÀßÄêÃͤκǸå¤Î /(¥¹¥é¥Ã¥·¥å) ¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë. ½ÅÍפʰÕÌ£¤¬¤¢¤ë.
warning.png ¤¿¤À¤·¡¤ÊÑ¿ô¤Î°Í¸´Ø·¸¤¬¤¢¤ë¤³¤È¤¬¤¢¤ë¤Î¤Ç main.cf ¤ÎºÇ¸å¤Ë¤Þ¤È¤á¤Æ¤³¤ì¤ò½ñ¤¯¤Î¤Ï¤è¤¯¤Ê¤¤. main.cf ¤ÎÃæ¤Ë³ºÅö¤¹¤ëÉôʬ¤¬¤¢¤ë¤Î¤Ç¡¤¤½¤³¤Ç³Æ¡¹¤­¤Á¤ó¤È½ñ¤­¹þ¤â¤¦.



¼¡¤Ë¡¤¤³¤ì¤â¤ä¤Ï¤êÀè¤Î¥í¥°¥Õ¥¡¥¤¥ëÃæ¤Î¥á¥Ã¥»¡¼¥¸¤Ë½¾¤¤¡¤"root" ¤ä¿·¤·¤¯Áý¤¨¤¿¥æ¡¼¥¶ "cyrus", "postfix" °¸¤Î¥á¡¼¥ë¤¬³Î¼Â¤ËŬÀڤʴÉÍý¼Ô¤ËžÁ÷¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤³¤¦.
notes.png ¶ñÂÎŪ¤Ë¤Ï¡¤/etc/aliases ¤òÊÔ½¸¤·¤Æ¡¤¤Þ¤º

root : (¼«Ê¬¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹)

¤ò½¤Àµ¤·¡¤¤½¤Î¸å¡¤Æ±¤¸¥Õ¥¡¥¤¥ë¤ÎŬÅö¤Ê¾ì½ê¤Ë(uucp: root ¤Î²¼¤¢¤¿¤ê¤¬ÌµÆñ¤«)

cyrus: root

postfix: root

¤òÉÕ¤±²Ã¤¨¤ì¤Ð¤è¤¤. ¤¿¤À¤·¡¤¤³¤ì¤À¤±¤Ç¤ÏÊѹ¹¤ÏÈ¿±Ç¤µ¤ì¤Ê¤¤¤Î¤Ç¡¤È¿±Ç¤µ¤»¤ë¤¿¤á¤Ë¼¡¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¤ª¤¯.

 rehash
 newaliases

warning.png ¾å¤Î rehash ¤Ï½ÅÍפÀ. ¤Ê¤¼¤Ê¤é¡¤newaliases ¥³¥Þ¥ó¥ÉÅù¤â¿·¤·¤¤¤â¤Î¤ËÃÖ¤­´¹¤ï¤Ã¤Æ¤¤¤ë¤«¤é¤À.

¤µ¤Æ¡¤¤³¤³¤ÇÇ°¤Î°Ù¥ê¥Ö¡¼¥È¤·¤è¤¦. ÀßÄ꤬Àµ¤·¤±¤ì¤Ð¤³¤ì¤Ç postfix ¤¬Æ°¤­½Ð¤¹¤Ï¤º¤À¡¥

postfix ¤Îµ¯Æ°³Îǧ

notes.png ¤Þ¤º¡¤Àè¤Ë sendmail ¤¬Æ°¤¤¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤·¤¿¤Î¤ÈƱ¤¸ÊýË¡¤Ç postfix ¤¬µ¯Æ°¤·¤Æ¤¤¤ë¤«¥Á¥§¥Ã¥¯¤·¤è¤¦.

ps -axuww | grep postfix

¤È¤·¤Æ¡¤²¿¤«Æ°¤¤¤Æ¤¤¤ë¤«,

lsof -i4 -P | grep 25

¤È¤·¤Æ¡¤¥Ý¡¼¥È25ÈÖ¤Ç狼¤­¤Á¤ó¤ÈÂÔ¤Á¼õ¤±¤Æ¤¤¤ë¤«¡¤¤ò¸«¤è¤¦.
warning.png postfix ¤Î¾ì¹ç¡¤25È֥ݡ¼¥È¤ÇÂÔ¤Á¼õ¤±¤Æ¤¤¤ë¥×¥í¥°¥é¥à¤Ï master ¤È¤¤¤¦Ì¾Á°¤À.

Æ°¤¤¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¤é¤³¤ì¤Þ¤Ç¤Îºî¶È¤òºÆ¥Á¥§¥Ã¥¯¤·¡¤Æ°¤¯¤Þ¤Çľ¤½¤¦.



notes.png Æ°¤¤¤Æ¤¤¤ë¤è¤¦¤Ê¤é¤Ð¡¤Àè¤ÈƱÍÍ¤Ë telnet ¤Ç port 25 ¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤ß¤Æ¤É¤ó¤ÊÊÖ»ö¤¬Ê֤äƤ¯¤ë¤«¸«¤Æ¤ß¤è¤¦.

telnet localhost 25

¤È¤·¤Æ¡¤

Trying 127.0.0.1...

Connected to localhost.

Escape character is '^]'.

220 ¥Û¥¹¥È̾ ESMTP Postfix

¤È½Ð¤ë¤Ï¤º¤Ê¤Î¤Ç¡¤¤³¤³¤Ç

EHLO localhost

¤ÈÆþÎϤ·¤Æ¤ß¤è¤¦. ¤¹¤ë¤È¡¤

250-¥Û¥¹¥È̾

250-PIPELINING

250-SIZE 10240000

250-VRFY

250-ETRN

250-ENHANCEEDSTATUSCODES

250-8BITMIME

250 DSN

¤È¤¤¤¦ÊÖ»ö¤¬Ê֤äƤ¯¤ë¤Ï¤º¤À(¤³¤Î¤¢¤È¤Ï ^], quit ¤ÇÈ´¤±¤é¤ì¤ë).
¤³¤ì¤Ï postfix ¤¬Àµ¾ï¤Ë¥á¡¼¥ë¤Î¤ä¤ê¼è¤ê¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ç¤¢¤ê¡¤ ¤È¤ê¤¢¤¨¤º postfix ¤¬ port 25 ¤Ç¤­¤Á¤ó¤ÈÂÔ¤Á¼õ¤±¤Æ¤¤¤ë¤Î¤¬Ê¬¤«¤ë.

notes.png ¤Ç¤Ï¼¡¤Ë¡¤¼«Ê¬°¸¤Ë¥á¡¼¥ë¤ò½Ð¤·¤Æ¤ß¤Æ¥Á¥§¥Ã¥¯¤·¤è¤¦.
¤ä¤êÊý¤Ï´Êñ¤Ç¡¤Ä̾ï¤Î¥æ¡¼¥¶¤Ë¤Ê¤Ã¤Æ¤«¤é

 mail -s "test" ¼«Ê¬¤Î¥æ¡¼¥¶Ì¾

¤È¤·¤Æ¡¤¤½¤ì¤«¤é²¿¤Ç¤â¤¤¤¤¤Î¤ÇÆþÎϤ¹¤ë(¤³¤ì¤¬¥á¡¼¥ë¤ÎËÜʸ¤Ë¤Ê¤ë).
¥á¡¼¥ë¤ÎËÜʸ¤ò¤¦¤Á½ª¤ï¤Ã¤¿¤é¡¤¡Ö¥Ô¥ê¥ª¥É°ì¤Ä¤Î¤ß¤«¤é¤Ê¤ë¹Ô¡×¤òÆþÎϤ¹¤ë¤ÈÆþÎÏÁ´¤Æ½ª¤ï¤Ã¤¿¤³¤È¤Ë¤Ê¤ê¡¤¥á¡¼¥ë¤¬Á÷¿®¤Ç¤­¤ë.
Î㤨¤Ð¡¤¥æ¡¼¥¶Ì¾¤¬ taro ¤Î¾ì¹ç¤Ï¼¡¤Î¤è¤¦¤Ê´¶¤¸¤À.

>mail -s "test" taro

This is a test mail.

.

EOT ¢« ¾å¤Ç . ¤À¤±¤Î¹Ô¤òÆþÎϤ¹¤ë¤È¤³¤¦¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬Ê֤äƤ¯¤ë

¤³¤¦¤·¤Æ¤«¤é¼«Ê¬¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î Maildir/new ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Ë¹Ô¤Ã¤Æ¤ß¤ë. ²¿¤«¿·¤·¤¤¥Õ¥¡¥¤¥ë¤¬¤¢¤ì¤Ð¡¤¤½¤ì¤ò less ¤Ê¤É¤ÇÆɤó¤Ç¤ß¤è¤¦.
¤½¤ì¤¬º£Á÷¤Ã¤¿¥á¡¼¥ë¤Ê¤é¤Ð¡¤º£Á÷¤Ã¤¿¥á¡¼¥ë¤¬Ìµ»ö¤ËÆϤ¤¤¿¤È¤¤¤¦¤³¤È¤Ë¤Ê¤ë.
Î㤨¤Ð¾å¤Î¥±¡¼¥¹¤À¤È°Ê²¼¤Î¤è¤¦¤Ê´¶¤¸¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤À¤í¤¦.

Return-Path: <taro@¥Û¥¹¥È̾>

X-Original-To: taro

Delivered-To: taro@¥Û¥¹¥È̾

Received: by ¥Û¥¹¥È̾ (Postfix, from userid 1001)

id 552561D1B6; Thu, 11 Dec 2008 21:56:22 +0900 (JST)

To: taro@¥Û¥¹¥È̾

Subject: test

Message-Id: <20081211125622.552561D1B6@¥Û¥¹¥È̾>

Date: Thu, 11 Dec 2008 21:56:22 +0900 (JST)

From: taro@¥Û¥¹¥È̾ (Taro Yamada)


This is a test mail.

¤³¤ì¤¬¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð²¿¤«¤ª¤«¤·¤¤¤Î¤Ç¡¤¥¹¡¼¥Ñ¡¼¥æ¡¼¥¶¸¢¸Â¤Ç /var/log/maillog ¤òÆɤó¤Ç¤ß¤è¤¦. ¥¨¥é¡¼Åù¤¬¤¢¤ì¤Ð½ÐÎϤµ¤ì¤Æ¤¤¤Æ¡¤¥È¥é¥Ö¥ë¤Î¸¶°ø¤¬ÄϤá¤ë¤À¤í¤¦.

notes.png ¤µ¤Æ¼¡¤Ë¡¤¡Ö¸ºß¤·¤Ê¤¤¥æ¡¼¥¶°¸¤Ë¡×¥á¡¼¥ë¤ò½Ð¤·¤Æ¤ß¤Æ¡¤¥¨¥é¡¼¤¬Ê֤äƤ¯¤ë¤«¥Á¥§¥Ã¥¯¤·¤è¤¦.
¤³¤ì¤Ï¾å¤È¤Û¤ÜƱÍͤκî¶È¤Ç¡¤(Ç°¤Î°Ù¤ËÄ̾ï¥æ¡¼¥¶¤Ë¤Ê¤Ã¤Æ)

 mail -s "test2" ¸ºß¤·¤Ê¤¤¥æ¡¼¥¶Ì¾

¤È¤·¤Æ¡¤¤¢¤È¤ÏŬÅö¤ËËÜʸÆþÎϸå¤Ë¡Ö¥Ô¥ê¥ª¥É°ì¤Ä¤Î¤ß¤«¤é¤Ê¤ë¹Ô¡×¤òÆþÎϤ¹¤ë¤À¤±¤Ç¤¢¤ë.
Î㤨¤Ð¡¤ usotaro ¤È¤¤¤¦¥æ¡¼¥¶¤¬µï¤Ê¤¤¤È¤·¤Æ¼¡¤Î¤è¤¦¤Ê´¶¤¸¤À.

>mail -s "test2" usotaro

This is a test mail to nonexistent user.

.

EOT ¢« ¾å¤Ç . ¤À¤±¤Î¹Ô¤òÆþÎϤ¹¤ë¤È¤³¤¦¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬Ê֤äƤ¯¤ë

¤µ¤Æ¤³¤ì¤â¤Þ¤¿¼«Ê¬¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î Maildir/new ¤È¤¤¤¦¥Ç¥£¥ì¥¯¥È¥ê¤Ë¿·¤·¤¤¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¡¤¤½¤ì¤¬¡Ö¤½¤ó¤Ê¥æ¡¼¥¶¤¤¤Ê¤¤¤«¤é¥á¡¼¥ë½Ð¤»¤Ê¤¤¤è¡×¤È¤¤¤¦ÆâÍƤΥ¨¥é¡¼¥á¡¼¥ë¤À¤Ã¤¿¤é OK ¤À.
¶ñÂÎŪ¤Ë¤Ï¡¤¤³¤Î¾ì¹ç¤Ï¥á¡¼¥ëÃæ¤Ë

This is the mail system at host ¥Û¥¹¥È̾


I'm sorry to have to inform you that your message could not

be delivered to one or more recipients. It's attached below.


For further assistance, please send mail to postmaster.


If you do so, please include this problem report. You can

delete your own text from the attached returned message.


The mail system


<usotaro@¥Û¥¹¥È̾> (expanded from <usotaro>): unknown

user: "usotaro"

¤È¤¤¤¦¤è¤¦¤Ë¡¤¤½¤ó¤Ê¥æ¡¼¥¶µï¤Ê¤¤¤è¡¤¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬½ñ¤«¤ì¤Æ¤¤¤ë¤Ï¤º¤À.



º£²ó¤ÎÀâÌÀ¤Ï¾¯¤·Ä¹¤¯¤Ê¤Ã¤¿¤Î¤Ç¡¤¤³¤Î¤¢¤¿¤ê¤Ç°ìöÄä¤á¤Æ¤ª¤³¤¦.

¥ì¥Ý¡¼¥È

¥á¡¼¥ëÁ÷¼õ¿®¤ÎºÝ¤Ë¡¤¡Ö°ÂÁ´À­(°Å¹æ²½)¡×¡ÖSPAMÂкö¡×¤Ë¤Ä¤¤¤Æ¥µ¡¼¥Ð¤ä¥Í¥Ã¥È¥ï¡¼¥¯¤Ç¤Ç¤­¤ë¤³¤È¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤è.
¤Þ¤¿¡¤ËÜÆü¹Ô¤Ã¤¿ºî¶È¤Ë¤Ä¤¤¤ÆÊó¹ð¤»¤è.
¤â¤Á¤í¤ó³Æ¼«¤Î

  1. ½ê°(³ØÉô¡¤³Ø²Ê)
  2. ³ØÀÒÈÖ¹æ
  3. ³Øǯ
  4. »á̾
  5. Æü»þ
  6. ´Î¿´¤Î¥ì¥Ý¡¼¥ÈÆâÍÆ(ÆÀ¤¿Ãθ«¡¤ºî¶È¤Ë¤Ä¤¤¤Æµ¤¤Å¤¤¤¿¤³¤ÈÅù)

¤ò½ñ¤¯¤Î¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë.

about Icons

Some icons in this page are downloadable at ICONFINDER.
The "note" icon designed by Marco Martin is distributed with the LGPL licence
and the "warning" icon designed by Alexandre Moore with the GPL licence.


*1 http://www.ietf.org
*2 http://www.ietf.org/rfc/rfc821.txt
*3 http://www.ietf.org/rfc/rfc1939.txt
*4 http://www.ietf.org/rfc/rfc3501.txt
*5 http://www.ietf.org/rfc/rfc2246.txt
*6 http://www.ietf.org/rfc/rfc4346.txt
*7 http://www.ietf.org/rfc/rfc4217.txt
*8 http://www.ietf.org/rfc/rfc3207.txt, ºÇ½é¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï RFC2487(http://www.ietf.org/rfc/rfc2487.txt ) ¤À¤¬¡¤¤³¤ì¤Ï obsolete °·¤¤¤Ë¤Ê¤Ã¤¿.
*9 http://www.ietf.org/rfc/rfc2595.txt
*10 http://www.ietf.org/rfc/rfc2554.txt
*11 http://www.ietf.org/rfc/rfc2222.txt
*12 http://www.ietf.org/rfc/rfc2476.txt
*13 sendmail.cf ¤È¤¤¤¦ÀßÄê¥Õ¥¡¥¤¥ë¤¬¤Û¤Ü¼öʸ. ¼ÂºÝ¤Ë¤³¤ì¤ò¼ê¤ÇÊÔ½¸¤Ç¤­¤ë¿ÍÛ©¤¯¡¤¤³¤ÎÀßÄêǽÎϤϡֳۤÀ¤±¤ò»È¤Ã¤Æ¥Ó¡¼¥ë´Ì¤ò¤Ä¤Ö¤»¤ëǽÎϤÈƱ¤¸¤è¤¦¤Ê¤â¤Î¡×¤È¤Î¤³¤È¤À¡Ä
*14 FreeBSD ¤â sendmail ¤¬¥Ç¥Õ¥©¥ë¥È¤ÇÆ°¤¤¤Æ¤¤¤ë OS ¤Î°ì¤Ä¤À
*15 sendmail °Ê³°¤Î MTA ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤¿¤éÆ°¤¤¤Æ¤ë¤Î¤Ï¤½¤Î MTA ¤«¤â¤·¤ì¤Ê¤¤¡Ä
*16 ¤Þ¤¿¡¤ports °Ê³°¤Î¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤ÏÂçÊѤǤϤ¢¤ë¤¬¡¤²¿¤ò¤·¤Æ¤¤¤ë¤«¤òÃΤë¤Ë¤Ï¤È¤Æ¤â¤è¤¤. ÊÙ¶¯¤·¤¿¤¤¡¤¤È¤¤¤¦¿Í¤Ë¤Ï¤ª´«¤á¤À.
*17 ¤Á¤Ê¤ß¤Ë¡¤¤³¤Î»þÅÀ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤ë cyrus-sasl ¤Ï ver. 2.1.22,2 ¤Ç¤¢¤ë¤è¤¦¤À
*18 ¤ä¤ä¶Ã¤¤¤¿¤³¤È¤Ë¡¤¤³¤ÎÃʳ¬¤Ç¤Ï saslauthd ¤½¤Î¤â¤Î¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤¤é¤·¤¤¤³¤È¤¬¤ï¤«¤ë. pwcheck_method ¤À¤±¤Ê¤é¤Ð saslauthd ¤Ê¤·¡¤¥é¥¤¥Ö¥é¥ê¤¢¤¿¤ê¤À¤±¤Ç»È¤¨¤ë¤è¤¦¤À.

źÉÕ¥Õ¥¡¥¤¥ë: filewarning.png 223·ï [¾ÜºÙ] filepostfix-option-1.png 956·ï [¾ÜºÙ] filemail-transfer-simple_s2.png 193·ï [¾ÜºÙ] filenotes.png 208·ï [¾ÜºÙ]