Applied Mathematics 8 (2010)
¼ø¶È»ñÎÁ/08
¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¤·¤ÆºîÀ®
³«»Ï¹Ô:
#contents
* RFC ¤Ë¤Ä¤¤¤Æ [#hfd09071]
¥á¡¼¥ë¥µ¡¼¥Ð¤ÎÏäò½ñ¤¯Á°¤Ë¡¤¤³¤³¤Ç RFC(Request For Commen...
RFC ¤È¤Ï¡¤IETF (Internet Engineering Task Force)((http:/...
&ref(/materials/warning.png); ¸½ºß »È¤ï¤ì¤Æ¤¤¤ë¥Í¥Ã¥È¥ï¡¼...
¤¿¤À¤·¡¤µ¬³Ê¤½¤Î¤â¤Î¤¬¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤µ¤ì¤ë¤È¿·¤·¤¤ RFC ...
°Ê²¼¡¤¥á¡¼¥ë¤Îµ¬³Ê¤Ë¤Ä¤¤¤Æµ¤¹¤È¤¤Ë RFC ¤Ë¤Ä¤¤¤Æ»þ¤ª¤ê¿¨...
¤Ê¤ª¡¤¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Ç¤Ï¿ÆÀڤˤâÆüËܸì¤ËËÝÌõ¤·¤ÆÃÖ¤¤¤Æ¤¯...
* ¥á¡¼¥ë¥µ¡¼¥Ð [#n1ade599]
¥á¡¼¥ë¥µ¡¼¥Ð¤È°ì¸ý¤Ë¸À¤Ã¤Æ¤â¤½¤Î»Å»ö¤ÏÍÍ¡¹¤À.
¤½¤ÎÀâÌÀ¤ò¹Ô¤¦Á°¤Ë¡¤ÅŻҥ᡼¥ë¤¬¤É¤Î¤è¤¦¤ËÇÛ㤵¤ì¤Æ¤¤¤¯...
** ¥á¡¼¥ë¤ÎÁ÷¿®¡¤Å¾Á÷¡¤¼õ¿® [#sa1e9019]
¥á¡¼¥ë¤ÎÇÛ¿®²áÄø¤Ï¤ª¤è¤½Á÷¿®¡¤Å¾Á÷¡¤¼õ¿®¤È¤¤¤¦Ãʳ¬¤Ëʬ¤«...
¤³¤Î¤¦¤Á¡¤Á÷¿®(¤³¤ì¤â°ì¼ï¤ÎžÁ÷¤È¸«¤Ê¤»¤ë)¤ÈžÁ÷¤Ï SMTP (...
¥æ¡¼¥¶¥Ó¥ê¥Æ¥£¤Ëľ·ë¤¹¤ë¤³¤È¤â¤¢¤Ã¤Æ¼õ¿®¤Î»ÅÊý¤Ï¤¤¤¯¤Ä¤â...
¤³¤ì¤é¤ÎÌò³äʬô¤ò¤Þ¤È¤á¤ë¤È¡¤
: MTA = Message Transfer Agent | ¥á¡¼¥ë¤ÎžÁ÷¤ò¹Ô¤¦¥½¥Õ¥È...
: MDA = Message Derivery Agent | ÆϤ¤¤¿¥á¡¼¥ë¤ò¥í¡¼¥«¥ë¥æ...
: MUA = Mail/Message User Agent | ¥á¡¼¥ë¤ÎÆɤ߽ñ¤¡¤¥µ¡¼...
¤È¤¤¤¦¥½¥Õ¥È¥¦¥§¥¢Æ±»Î¤¬, ŵ·¿Åª¤Ê¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë·Ò¤¬...
CENTER:&ref(./mail-transfer-simple_s2.png);
CENTER:(ÅŻҥ᡼¥ë¤Î¤ª¤ª¤è¤½¤ÎÇÛ¿®¿Þ)
¤è¤Ã¤Æ¡¤¥á¡¼¥ë¥µ¡¼¥Ð¤Î´ÉÍý¤È¤Ï¤ª¤ª¤Þ¤«¤Ë
- MTA ¤Î´ÉÍý
- POP, IMAP Åù MUA ¤Î¼êÁ°¤Î¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤Î´ÉÍý
¤ÎÆó¤Ä¤ËʬÎà¤Ç¤¤ë¤³¤È¤Ë¤Ê¤ë¡¥
* ¥á¡¼¥ëÁ÷¼õ¿®¤Î¥»¥¥å¥ê¥Æ¥£(°ÂÁ´À) [#l284f32c]
¥á¡¼¥ë¤ÎÁ÷¿®¡¤Å¾Á÷¡¤ÇÛ¿®¤Ï´ðËÜŪ¤Ë¡Öʿʸ¡×¤Ç¥Í¥Ã¥È¥ï¡¼¥¯...
¤½¤Î¤¿¤á¡¤³Æ¼ï¥Ñ¥¹¥ï¡¼¥É¤â¥á¡¼¥ëËÜʸ¤âƱ¤¸¥Í¥Ã¥È¥ï¡¼¥¯¤Ë...
¤½¤Î¤â¤Ã¤È¤â¤è¤¯»È¤ï¤ì¤ëµ»½Ñ¤¬, Á°²ó¾Ò²ð¤·¤¿ TLS/SSL ¤ò»È...
¤Þ¤¿¡¤TLS/SSL ¤ò»È¤¦¤³¤È¤Ç¡¤²þã⸡½Ð¤â²Äǽ¤È¤Ê¤ë.
// ¤³¤ì¤Ï¡¤¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÄÌ¿®·ÐÏ©¤ò°Å¹æ²½¤¹¤ëÌÜŪ¤Ë¤«¤Ê¤ê...
// ¤è¤ê¾ÜºÙ¤ò½Ò¤Ù¤ë¤È(web ¥µ¡¼¥Ð¤Î¤È¤³¤í¤Ç¤â´Êñ¤ËÀâÌÀ¤·...
&ref(/materials/warning.png); TLS 1.0 ¤Ï SSL 3.0 ¤Ë¤Û¤ÜÅù...
//SSL ¤Ï Netscape Communications ¤Î³«È¯¤·¤¿¤â¤Î¤Ç¤¢¤Ã¤¿¤¬...
//¼Â¼ÁŪ¤Ë¤Ï SSL ver3.0 ¤È TLS ver 1.0 ¤¬¤Û¤ÜƱÅù¤Ç¤¢¤ë¤È...
Á°²ó¤â½Ò¤Ù¤¿¤è¤¦¤Ë¡¤* over TLS/SSL ¤Ë¤Ï¤¤¤í¤ó¤Ê¤â¤Î¤¬¤¢¤ë.
¤¢¤Þ¤ê¸«³Ý¤±¤Ê¤¤¤È¤³¤í¤Ç¤Ï FTP over TLS/SSL RFC4217((http...
** SMTP/POP/IMAP over TLS/SSL [#qffe513c]
¾å¤Î¿Þ¤ÎÎп§¤Î·ÐÏ©¤Ï´ðËÜŪ¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ò¥Ç¡¼¥¿¤¬Î®¤ì...
¶ñÂÎŪ¤Ë¤Ï¡¤MTA ¤È¤·¤Æ´Ø·¸¤¹¤ë SMTP over TLS (RFC3207)((h...
¤Á¤Ê¤ß¤Ë¡¤TLS/SSL ¤Î¸¶Íý¤À¤±¹Í¤¨¤ì¤Ð¡¤*** over TLS/SSL ¤ò...
* spam Âкö : ²Ã³²¼Ô¤Ë¤Ê¤ë¤Î¤òËɤ° : Á÷¿®¥Ý¡¼¥È¤Î¥Ö¥í¥Ã¥¯...
¸½ºß¡¤¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥á¡¼¥ë¤Ë¤ª¤¤¤Æ spam (=¼õ¼è¤ê¼ê¤Î°Õ¿Þ...
&ref(/materials/warning.png); ¤Á¤Ê¤ß¤Ë spam ¤Î¸ì¸»¤ÏÌÌÇò...
¤³¤ì¤òËɤ°¡¤¸º¾¯¤µ¤»¤ë¤¿¤á¤Î»ÅÁȤߤÏÍÍ¡¹¤Ê¤â¤Î¤¬¤¢¤ë¤¬¡¤...
¾¤Ë¤â "Outbound Port25 Blocking" ¤Ê¤É¤âƱ¤¸ÌÜŪ¤Îµ»½Ñ¤Ç...
¤³¤ì¤é¤Ï¡¤¼«Ê¬¤Î´ÉÍý¤¹¤ë¥á¡¼¥ë¥µ¡¼¥Ð(MTA)¤¬ spam Á÷¿®¤Ë»È...
** SMTP Auth [#q529b1fe]
RFC2554((http://www.ietf.org/rfc/rfc2554.txt ))¤Ëµ¬Äꤵ¤ì...
¤Ä¤Þ¤ê¡¤¡ÖSMTP ÄÌ¿®¤·¤¿¤¤¤ó¤Ç¤¹¤±¤É¡×¡Ö¤¢¤ó¤¿Ã¯?¡×¡Ö¢þ¢þ¤Ç...
´Î¿´¤Îǧ¾Ú¤Ï¡¤¼Â¼ÁŪ¤Ë SASL(Simple Authentication and Sec...
¤³¤Îµ»½Ñ¤Ï¼ç¤Ë¡¤¥á¡¼¥ëÁ÷¿®(¼Â¼ÁŪ¤Ë¥á¡¼¥ëžÁ÷¤ËÁêÅö¤¹¤ë)...
** Message Submission [#i0e5f6dc]
RFC2476((http://www.ietf.org/rfc/rfc2476.txt )) ¤Ëµ¬Äꤵ...
Ä̾ï¤Ï¥á¡¼¥ë¤ÎÁ÷¿®¤ÈžÁ÷¤ÎξÊý¤¬ port 25 ¤Ç¼õ¤±¤é¤ì¤ë¤Î¤Ç...
ʬ¤±¤¿¤À¤±¤Ç¤Ï¥»¥¥å¥ê¥Æ¥£¾å¤Î°ÕÌ£¤Ï¤½¤ó¤Ê¤Ë¤Ê¤¤¤Î¤Ç(^-^)...
Î㤨¤Ð¡¤Á÷¿®¼õÉÕ¸ý submission port ¤Ç¤Ï smtp auth ¤ò¤«¤±...
¤è¤êʬ¤«¤ê°×¤¯¼¨¤¹¤È¡¤MTA ¤«¤é¤ß¤¿¤È¤¤Ë´ðËÜŪ¤Ë
- Á÷¿®¤·¤Æ¤¯¤ëÁê¼ê¤Ï MUA
- žÁ÷¤·¤Æ¤¯¤ëÁê¼ê¤Ï MTA
¤Ç¤¢¤ê¡¤¥á¡¼¥ë¤Ë´Ø¤¹¤ë»Å»ö¤ÎÆâÍƤˤè¤Ã¤ÆÁê¼ê¤¬°Û¤Ê¤ë¤Î¤Ç...
¤½¤³¤Ç¡¤»Å»ö¤ÎÆâÍƤ˱þ¤¸¤Æ port ¤òʬ¤±¤Æ¡¤Áê¼êËè¤ËÂбþ¤ò...
¶ñÂÎŪ¤Ë¤Ï¡¤MTA ¤Ï¤½¤ì¤Ê¤ê¤Î¥µ¡¼¥Ð¤Ç¤¢¤ë¤Î¤Ç¤¤Á¤ó¤È¤·¤¿...
* spam Âкö : Èï³²¼Ô¤Ë¤Ê¤ë¤Î¤òËɤ° : ¼õ¿®»þ¤Î¥Ö¥í¥Ã¥¯ [#u...
spam ¤Î¡ÖÈï³²¼Ô¤Ë¤Ê¤é¤Ê¤¤¤¿¤á¤Ë¤Ï¡×¡¤´ðËÜŪ¤ËžÁ÷/Á÷¿®¤µ...
: Àܳ¤·¤Æ¤¤¿Áê¼ê¤ò¥Á¥§¥Ã¥¯¤·¤Æ¡¤¥À¥á¤Ê¤éÀܳ¤½¤Î¤â¤Î¤ò...
:: ÍøÅÀ | ¤½¤â¤½¤â¥á¡¼¥ë¤ò¼õ¤±¼è¤é¤º¤ËºÑ¤à¤Î¤Ç¡¤virus ¤Ê...
::| ¥á¡¼¥ë¤ÎÆâÍƤ˰͸¤·¤Ê¤¤¤Î¤Ç¡ÖÆâÍƤ˰͸¤¹¤ë¸¡±Ü¤Ç¤Ï...
:: ·çÅÀ | Áê¼ê¤¬¼Â¤ÏÌäÂê¤Ê¤¤¤È¤¤Ç¤â¸í¤Ã¤ÆÇÓ½ü¤·¤Æ¤·¤Þ¤¦...
:|¤½¤³¤Ç¡¤¼ÂºÝ¤Ë¤Ï
-- Àµ¤·¤¤SMTP Àܳ°Ê³°¤ÏµñÀ䤹¤ë
-- Áê¼ê¤¬ MTA ¤Î¢þ¢þ¤Îµ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¸Â¤êÀܳ¤òµö²Ä...
-- (Á´À¤³¦¤Ç½¸¤á¤é¤ì¤Æ¤¤¤ë)¥Ö¥é¥Ã¥¯¥ê¥¹¥È¤ËºÜ¤Ã¤Æ¤¤¤ëÁê¼ê...
:|¤È¤¤¤¦¤è¤¦¤Ê¼êË¡¤¬¤È¤é¤ì¤ë.
: ¤È¤ê¤¢¤¨¤º¥á¡¼¥ë¤ò¼õ¤±¼è¤ê¡¤ÆâÍƤò¥Á¥§¥Ã¥¯¤·¤Æ¥À¥á¤Ê¤é¡Ä...
:: ÍøÅÀ | Î㤨¤Ð¥æ¡¼¥¶Ëè¤Ë¤Ê¤É, ½ÀÆð¤ÊÀßÄ꤬²Äǽ.
::| ÆâÍƤ˰͸¤¹¤ë¹âÅ٤ʥÁ¥§¥Ã¥¯¤¬²Äǽ. ¶ñÂÎŪ¤Ë¤Ï¡¤¶áǯ...
:: ·çÅÀ | ÆâÍƤò¥Á¥§¥Ã¥¯¤¹¤ë¤Î¤Ç¡¤¥µ¡¼¥Ð¤Ç¹Ô¤Ã¤¿¾ì¹ç¤Ï¡Ö...
::|Éé²Ù¤¬¹â¤¤.
¤È¤¤¤¦¤â¤Î¤Ëʬ¤±¤é¤ì¤ë. ¤¤¤º¤ì¤â¤½¤ì¤Ê¤ê¤Î·çÅÀ¤òÊú¤¨¤ë¤¿...
º£²ó¤Ï¤³¤ì¤é¤Ë¤Ä¤¤¤Æ¾Ü¤·¤¯½Ò¤Ù¤Ê¤¤¤¬¡¤°ìÅÙÊÙ¶¯¤·¤Æ¤ª¤¯¤È...
&ref(/materials/warning.png); Î㤨¤Ð¡¤(¶µ´±¤Î·Ð¸³¤Ç¤Ï)¥µ...
&ref(/materials/notes.png); ¡Öspam Èï³²¤ò¸º¤é¤¹¤¿¤á¤Ë¡×¼Â...
* MTA : Postfix [#m8e3d565]
¤µ¤Æ¡¤¤Ç¤Ï¥á¡¼¥ë¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤ÎËܼÁ¤Ç¤¢¤ë MTA ¤ò¥¤¥ó...
¾å¤Ë½ñ¤¤¤¿¤è¤¦¤Ë MTA ¤ÎÍ̾¤É¤³¤í¤Ï sendmail, postfix, qm...
̵Æñ¤Ê¤È¤³¤í¤Ç Postifx ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¤ÀßÄê¤ò¹Ô¤Ã¤Æ¤ß¤è...
&ref(/materials/notes.png); sendmail ¤ÎÀßÄ꤬¤É¤Î¤è¤¦¤ËÆñ...
&ref(/materials/notes.png); sendmail, postfix, qmail ¤Î³Æ...
* Postfix ¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¤ÀßÄê [#h603bfab]
** ¾å¤Ë½Ò¤Ù¤¿µ»½Ñ¤È¤Î´Ø·¸ [#r6af216f]
¤Þ¤º¡¤Postfix ¤È¾å¤Î¥»¥¥å¥ê¥Æ¥£¡¤spam Âкö¤È¤Î´Ø·¸¤ò½Ò¤Ù...
&ref(/materials/warning.png); ¤½¤â¤½¤â Postfix ¤Ï¾å¤Ë½Ò¤Ù...
*** SMTP over TLS/SSL ¤Ë¤Ä¤¤¤Æ [#e552179e]
¸½»þÅÀ¤Ç¤Î FreeBSD ¤Ç Postfix ¤ò ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·...
*** SMTP Auth ¤Ë¤Ä¤¤¤Æ [#i71788c5]
¸¶Â§¤È¤·¤Æ Postfix ¥¤¥ó¥¹¥È¡¼¥ë¡ÖÁ°¡×¤Ëǧ¾Ú¤Î¤¿¤á¤ËÍѤ¤¤é...
¤·¤«¤·¡¤¸½»þÅÀ¤Ç¤Ï ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤è¤¦¤È¤·¤¿»þ¤Ë...
** ¥¤¥ó¥¹¥È¡¼¥ë [#o15155e3]
*** sendmail ¤¬´û¤ËÆ°¤¤¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯ [#b6ea1cb8]
¤Þ¤º¡¤Â¿¤¯¤Î OS ¤Ç¥Ç¥Õ¥©¥ë¥È¤ÇÆ°¤¤¤Æ¤¤¤ë¤³¤È¤¬Â¿¤¤ sendma...
¶ñÂÎŪ¤Ë¤Ï¡¤Á°²ó¤Î¼ø¶È¤Ç Web ¥µ¡¼¥Ð¤¬´û¤ËÆ°¤¤¤Æ¤¤¤ë¤«¤É¤¦...
&ref(/materials/notes.png); ¤½¤³¤Ç¡¤°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ send...
- ¤Þ¤º¡¤/etc/rc.conf ¤òÆɤó¤Ç sendmail ¤Ë¤Ä¤¤¤Æ¤Îµ½Ò¤¬¤Ê...
sendmail_enable="YES" ¤Ê¤É¤È¤¢¤Ã¤¿¤é sendmail ¤¬µ¯Æ°¤·¤Æ...
¤â¤· sendmail ¤Ë´Ø¤¹¤ëµ½Ò¤¬ rc.conf ¤Ë¤Ê¤±¤ì¤Ð¡¤/etc/def...
&ref(/materials/warning.png); /etc/defaults/rc.conf ¤Ë se...
&ref(/materials/notes.png); /etc/rc.conf ¤ËÆÃ¤Ë sendmail ...
> sendmail_enable="NONE"
¤È½ñ¤¤³¤ó¤Ç¤ª¤³¤¦.
- ¼¡¤Ë,
ps -axuww | grep -i sendmail
¤Î½ÐÎÏ·ë²Ì¤ò¸«¤Æ¡¤sendmail ¤¬Æ°¤¤¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯(sendm...
- ¼¡¤Ë¡¤
lsof -i4 | grep -i mail
¤È¤·¤Æ mail ¤È¤« post ¤È¤« drop ¤È¤«¤¤¤¦Ê¸»úÎó¤ò´Þ¤à daem...
//¤Þ¤¿¡¤/etc/rc.conf ¤ò¸«¤Æ¡¤
// sendmail_enable = "NONE"
//¤È¤¤¤¦Ê¸»úÎó¤¬"̵¤«¤Ã¤¿¤é" sendmail ¤¬Æ°¤¤¤Æ¤¤¤ë²ÄǽÀ...
- ¤Þ¤¿¡¤
telnet localhost 25
¤È¤·¤Æ
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 &color(blue){¥Û¥¹¥È̾}; ESMTP Sendmail 8.14.4/8.14...
¤È¤¤¤¦¤è¤¦¤Ë¡¤SMTP ¤ò¼õ¤±ÉÕ¤±¤Æ¤¤¤ë¤è¤È¤¤¤¦ÊÖ»ö¤¬Íè¤ÆÀܳ...
&ref(/materials/warning.png); ¾å¤Ç telnet ¤òÍѤ¤¤Æ sendma...
¤µ¤Æ¡¤¤³¤ì¤Þ¤Ç¤Î¥Á¥§¥Ã¥¯¤Ç¤â¤· sendmail ¤¬Æ°¤¤¤Æ¤¤¤ë¤è¤¦...
/etc/rc.d/sendmail stop
¤È¤·¤Æ sendmail ¤òÄä¤á¤è¤¦.
Ç°¤Î°Ù¤Ë¥ê¥Ö¡¼¥È¤·¤Æ¡¤sendmail ¤¬¤â¤Ï¤äºÇ½é¤«¤éÆ°¤«¤Ê¤¤¤è...
*** ¥¤¥ó¥¹¥È¡¼¥ëºî¶È [#hedb40dc]
¤Þ¤º¤¤¤Ä¤â¤Î¤è¤¦¤Ë ports ¥³¥ì¥¯¥·¥ç¥ó¤ò¹¹¿·¤·¤Æ¤ª¤³¤¦(¤Ç...
portsnap fetch
portsnap update
¤Ç¤Ï¡¤ports ¤«¤é postfix ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë. ¥¤¥ó¥¹¥È¡¼¥ë...
¤¿¤À¤·¡¤ports ¥³¥ì¥¯¥·¥ç¥ó¤ò¤¶¤Ã¤È¤ß¤¿¤À¤±¤Ç¤â ver.2.4·Ï,...
¤µ¤Æ¡¤
// cd /usr/ports
portinstall mail/postfix
¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¬»Ï¤Þ¤ë¤À¤í¤¦((¤Á¤Ê¤ß¤Ë¡¤¤³¤Î»þÅÀ¤Ç¥¤¥ó¥¹...
ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¡¤ÅÓÃæ¤ÇÁªÂò/·èÄê ¤òÇ÷¤é¤ì¤ë...
¤¿¤Ö¤óºÇ½é¤Ë
&ref(./postfix-option.png);
¤Î¤è¤¦¤Ê²èÌ̤¬½Ð¤Æ¡¤postfix ¤Î¥¤¥ó¥¹¥È¡¼¥ë¥ª¥×¥·¥ç¥ó¤òʹ...
¤³¤ì¤ËÂФ·¤Æ¤Ï¡¤¾å¤Ë½Ò¤Ù¤¿¤è¤¦¤Ë "Cyrus SASLv2", "Enable ...
¤¹¤ë¤È¡¤ºÇ½é¤Ë cyrus-sasl2 ¤Î¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤¬¹Ô¤ï¤ì¡¤¤½...
¤½¤·¤Æ¤·¤Ð¤é¤¯¤¹¤ë¤È¡¤
> 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 ...
¤Þ¤¿¡¤
> Would you like to activate Postfix in /etc/mail/mailer...
¤È¤âʹ¤«¤ì¤ë¤À¤í¤¦.
¤³¤ì¤Ï mail ´ØÏ¢¤Î¥½¥Õ¥È¥¦¥§¥¢Âбþɽ¤È¤Ç¤â¤¤¤¦¤Ù¤ /etc/m...
&ref(/materials/warning.png); ¥Ç¥Õ¥©¥ë¥È¤¬ "n" ¤È¤Ê¤Ã¤Æ¤¤...
¤Á¤Ê¤ß¤Ë¡¤½ñ¤´¹¤¨Á°¤Î 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 ¤À¤¬¡¤...
¤µ¤Æ¡¤¤¢¤È¤ÏÊü¤Ã¤Æ¤ª¤±¤Ð¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤½¤Î¤â¤Î¤Ï½ªÎ»¤¹¤ë.
** ÀßÄê [#obbfd819]
*** ¥¤¥ó¥¹¥È¡¼¥ë¥í¥°¤Î¥Á¥§¥Ã¥¯ [#ke1c5760]
¤µ¤Æ¡¤¥¤¥ó¥¹¥È¡¼¥ëÅÓÃæ¤Ë½Ð¤Æ¤¯¤ë¥á¥Ã¥»¡¼¥¸¤òÃí°Õ¿¼¤¯¸«¤Æ...
°ÊÁ°¤ÎÀßÄêÄ̤ê¤Ë¤·¤Æ¤¤¤ì¤Ð¡¤º£²ó¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Ï /var/log...
&ref(/materials/warning.png); ¤³¤Î¥Õ¥¡¥¤¥ë¤¬¤Ê¤¤¡¤Ì¾Á°¤¬...
¥í¥°¥Õ¥¡¥¤¥ë¤«¤é¤Þ¤º¸«¤Ä¤«¤ë¥á¥Ã¥»¡¼¥¸Åù¤Ï
> Warning: you still need to edit myorigin/mydestinati...
> parameter settings in /usr/local/etc/postfix/main.cf.
> &br;
> See also http://www.postfix.org/STANDARD_CONFIGURATI...
> for information about dialup sites or about sites in...
> firewalled network.
> &br;
> BTW: Check your /etc/aliases file and be sure to set...
> that send mail for root and postmaster to a real per...
> run /usr/local/bin/newaliases.
¤Ç¤¢¤ë.
¤³¤ì¤Ï¡¤postfix ¥¤¥ó¥¹¥È¡¼¥ë¸å¤Ë¤É¤Î¤è¤¦¤ÊÀßÄ꤬ɬÍפ«¡¤...
/usr/local/etc/postfix/main.cf ¤ò½ñ¤´¹¤¨¤í¤è¡¤ dialup ¤¹...
¤Þ¤¿¡¤¼¡¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë.
> To enable postfix startup script please add postfix_en...
> your rc.conf
> &br;
> If you not need sendmail anymore, please add in your r...
> &br;
> sendmail_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_msp_queue_enable="NO"
> &br;
> And you can disable some sendmail specific daily maint...
> /etc/periodic.conf file:
> &br;
> daily_clean_hoststat_enable="NO"
> daily_status_mail_rejects_enable="NO"
> daily_status_include_submit_mailq="NO"
> daily_submit_queuerun="NO"
> &br;
> If /etc/periodic.conf does not exist please create it ...
&ref(/materials/warning.png); ¤³¤ì¤Ï½ÅÍפʥá¥Ã¥»¡¼¥¸¤Ç¤¢¤ë.
¤Þ¤º¡¤µ¯Æ°»þ¤Ë postfix ¤¬Æ°¤¯¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤...
¤¹¤°¼¡¤Ë¤³¤Î¥á¥Ã¥»¡¼¥¸¤¬Â³¤¯.
> If you are using SASL, you need to make sure that post...
> the sasldb file. This is accomplished by adding postf...
> making the /usr/local/etc/sasldb* file(s) readable by ...
> be the default for new installs).
¤³¤Î¥á¥Ã¥»¡¼¥¸¤«¤é¤ÏÀè¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î¼ÁÌä
> You need user "postfix" added to group "mail".
> Would you like me to add it [y]?
¤ÎÍýͳ¤Î¾ÜºÙ¤¬Ê¬¤«¤ë.
¤½¤ì¤«¤é¸æÃúÇ«¤Ë¤â
> If you are upgrading from postfix version prior to 2.0...
> files for recommended changes to your configuration.
¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ê¡¤¸Å¤¤ postfix ¤«¤é¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×...
¤½¤Î¸å¤Ë
> This port has installed the following binaries w...
> increased privileges.
> /usr/local/sbin/postdrop
> /usr/local/sbin/postqueue
> &br;
> This port has installed the following files whic...
> servers and may therefore pose a remote security...
> /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
> &br;
> This port has installed the following startup sc...
> these network services to be started at boot time.
> /usr/local/etc/rc.d/postfix
> &br;
> If there are vulnerabilities in these programs t...
> risk to the system. FreeBSD makes no guarantee a...
> ports included in the Ports Collection. Please t...
> to deinstall the port if this is a concern.
> &br;
> &br;
> For more information, and contact details about ...
> status of this software, see the following webpa...
> http://www.postfix.org/
¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ê¡¤Æø¢¤ò¤â¤Ä¥×¥í¥°¥é¥à¤¬¥¤¥ó¥¹¥È¡¼...
*** ºÇÄã¸Â¤ÎÀßÄê [#f2904d3f]
¤µ¤Æ¡¤postfix ¤Ë´Ø¤·¤ÆºÇÄã¸Â¤ÎÀßÄê¤ò¹Ô¤ª¤¦.
Àè¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Î¥á¥Ã¥»¡¼¥¸¤ò°ìÄ̤êÆɤó¤Àº£¤È¤Ê¤Ã¤Æ¤Ï¡¤...
&br;
¤Þ¤º¤Ï¡¤¥Ç¥Õ¥©¥ë¥È¤Î sendmail ¤Ë´Ø¤¹¤ëÀßÄê¤òÁ´¤Æ̵¸ú¤Ë¤·...
&ref(/materials/notes.png); ¤½¤ì¤Ë¤Ï¡¤¥í¥°¥Õ¥¡¥¤¥ë¤Î "To ...
&ref(/materials/warning.png); ¤¿¤À¤·¡¤sendmail_enable="NO...
¤Ê¤ª¡¤periodic.conf ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬¤Ê¤¤¾ì¹ç¤É¤¦¤¹¤Ù¤¤«...
&br;
¤µ¤Æ¡¤¼¡¤Ë¡¤¥á¡¼¥ë¥µ¡¼¥Ð¤È¤·¤ÆºÇÄã¸Â¤ÎÀßÄê(SMTP Auth ¤â S...
¤³¤ì¤Ï /usr/local/etc/postfix/main.cf ¤òÊÔ½¸¤¹¤ë¤À¤±¤Ç¤è¤¤.
cd /usr/local/etc/postfix/
// cp main.cf main.cf.ORG
emacs main.cf
¤Ê¤É¤È¤·¤ÆÊÔ½¸¤·¤è¤¦.
&ref(/materials/warning.png); ¤³¤Î main.cf ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×...
&ref(/materials/notes.png); °Ê²¼¤Ë½¤Àµ¤·¤¿²Õ½ê¤Î¤ßÈ´¤½Ð...
¤Ê¤ª¡¤¥Ç¥Õ¥©¥ë¥ÈÃͤ¬µ¤¤Ë¤Ê¤ëÀßÄê¤Ï /usr/local/etc/postfix...
> myhostname = q17.cl.math.sci.osaka-u.ac.jp &color(blu...
> mydomain = cl.math.sci.osaka-u.ac.jp
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> home_mailbox = Maildir/
&ref(/materials/warning.png); home_mailbox ¤ÎÀßÄêÃͤκǸå...
&ref(/materials/warning.png); ¤¿¤À¤·¡¤ÊÑ¿ô¤Î°Í¸´Ø·¸¤¬¤¢...
&br;
¼¡¤Ë¡¤¤³¤ì¤â¤ä¤Ï¤êÀè¤Î¥í¥°¥Õ¥¡¥¤¥ëÃæ¤Î¥á¥Ã¥»¡¼¥¸¤Ë½¾¤¤¡¤"...
&ref(/materials/notes.png); ¶ñÂÎŪ¤Ë¤Ï¡¤/etc/aliases ¤òÊÔ...
> root : (¼«Ê¬¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹)
¤ò½¤Àµ¤·¡¤¤½¤Î¸å¡¤Æ±¤¸¥Õ¥¡¥¤¥ë¤ÎŬÅö¤Ê¾ì½ê¤Ë(uucp: root ...
> cyrus: root
> postfix: root
¤òÉÕ¤±²Ã¤¨¤ì¤Ð¤è¤¤. ¤¿¤À¤·¡¤¤³¤ì¤À¤±¤Ç¤ÏÊѹ¹¤ÏÈ¿±Ç¤µ¤ì¤Ê...
rehash
newaliases
&ref(/materials/warning.png); ¾å¤Î rehash ¤Ï½ÅÍפÀ. ¤Ê¤¼...
¤µ¤Æ¡¤¤³¤³¤ÇÇ°¤Î°Ù¥ê¥Ö¡¼¥È¤·¤è¤¦. ÀßÄ꤬Àµ¤·¤±¤ì¤Ð¤³¤ì¤Ç ...
*** postfix ¤Îµ¯Æ°³Îǧ [#o6a9a274]
&ref(/materials/notes.png); ¤Þ¤º¡¤Àè¤Ë sendmail ¤¬Æ°¤¤¤Æ...
> ps -axuww | grep postfix
¤È¤·¤Æ¡¤²¿¤«Æ°¤¤¤Æ¤¤¤ë¤«,
> lsof -i4 -P | grep 25
¤È¤·¤Æ¡¤¥Ý¡¼¥È25ÈÖ¤Ç狼¤¤Á¤ó¤ÈÂÔ¤Á¼õ¤±¤Æ¤¤¤ë¤«¡¤¤ò¸«¤è¤¦.
&ref(/materials/warning.png); postfix ¤Î¾ì¹ç¡¤25È֥ݡ¼¥È...
Æ°¤¤¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¤é¤³¤ì¤Þ¤Ç¤Îºî¶È¤òºÆ¥Á¥§¥Ã¥¯¤·¡¤Æ°¤¯¤Þ...
&br;
&ref(/materials/notes.png); Æ°¤¤¤Æ¤¤¤ë¤è¤¦¤Ê¤é¤Ð¡¤Àè¤ÈƱ...
> telnet localhost 25
¤È¤·¤Æ¡¤
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 &color(blue){¥Û¥¹¥È̾}; ESMTP Postfix
¤È½Ð¤ë¤Ï¤º¤Ê¤Î¤Ç¡¤¤³¤³¤Ç
> EHLO localhost
¤ÈÆþÎϤ·¤Æ¤ß¤è¤¦. ¤¹¤ë¤È¡¤
> 250-&color(blue){¥Û¥¹¥È̾};
> 250-PIPELINING
> 250-SIZE 10240000
> 250-VRFY
> 250-ETRN
> 250-ENHANCEEDSTATUSCODES
> 250-8BITMIME
> 250 DSN
¤È¤¤¤¦ÊÖ»ö¤¬Ê֤äƤ¯¤ë¤Ï¤º¤À(¤³¤Î¤¢¤È¤Ï ^], quit ¤ÇÈ´¤±¤é...
¤³¤ì¤Ï postfix ¤¬Àµ¾ï¤Ë¥á¡¼¥ë¤Î¤ä¤ê¼è¤ê¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë...
&ref(/materials/notes.png); ¤Ç¤Ï¼¡¤Ë¡¤¼«Ê¬°¸¤Ë¥á¡¼¥ë¤ò½Ð...
¤ä¤êÊý¤Ï´Êñ¤Ç¡¤&color(blue){Ä̾ï¤Î¥æ¡¼¥¶¤Ë¤Ê¤Ã¤Æ¤«¤é};
mail -s "test" ¼«Ê¬¤Î¥æ¡¼¥¶Ì¾
¤È¤·¤Æ¡¤¤½¤ì¤«¤é²¿¤Ç¤â¤¤¤¤¤Î¤ÇÆþÎϤ¹¤ë(¤³¤ì¤¬¥á¡¼¥ë¤ÎËÜʸ...
¥á¡¼¥ë¤ÎËÜʸ¤ò¤¦¤Á½ª¤ï¤Ã¤¿¤é¡¤¡Ö¥Ô¥ê¥ª¥É°ì¤Ä¤Î¤ß¤«¤é¤Ê¤ë...
Î㤨¤Ð¡¤¥æ¡¼¥¶Ì¾¤¬ taro ¤Î¾ì¹ç¤Ï¼¡¤Î¤è¤¦¤Ê´¶¤¸¤À.
> >mail -s "test" taro
> This is a test mail.
> .
> EOT &color(blue){¢« ¾å¤Ç . ¤À¤±¤Î¹Ô¤òÆþÎϤ¹¤ë¤È¤³¤¦¤¤...
¤³¤¦¤·¤Æ¤«¤é¼«Ê¬¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î Maildir/new ¤È¤¤¤¦¥Ç¥£¥ì...
¤½¤ì¤¬º£Á÷¤Ã¤¿¥á¡¼¥ë¤Ê¤é¤Ð¡¤º£Á÷¤Ã¤¿¥á¡¼¥ë¤¬Ìµ»ö¤ËÆϤ¤¤¿...
Î㤨¤Ð¾å¤Î¥±¡¼¥¹¤À¤È°Ê²¼¤Î¤è¤¦¤Ê´¶¤¸¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ê¤Ã¤Æ¤¤...
> Return-Path: <taro@&color(blue){¥Û¥¹¥È̾};>
> X-Original-To: taro
> Delivered-To: taro@&color(blue){¥Û¥¹¥È̾};
> Received: by &color(blue){¥Û¥¹¥È̾}; (Postfix, from us...
> id 2F5B722865; Wed, 24 Nov 2010 21:07:14 +0900...
> To: taro@&color(blue){¥Û¥¹¥È̾};
> Subject: test
> Message-Id: <20101124120714.2F5B722865@&color(blue){¥Û...
> Date: Wed, 24 Nov 2010 21:07:14 +0900 (JST)
> From: taro@&color(blue){¥Û¥¹¥È̾}; (Taro Yamada)
> &br;
> This is a test mail.
¤³¤ì¤¬¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð²¿¤«¤ª¤«¤·¤¤¤Î¤Ç¡¤¥¹¡¼¥Ñ¡¼¥æ...
&ref(/materials/notes.png); ¤µ¤Æ¼¡¤Ë¡¤¡Ö¸ºß¤·¤Ê¤¤¥æ¡¼¥¶...
¤³¤ì¤Ï¾å¤È¤Û¤ÜƱÍͤκî¶È¤Ç¡¤(Ç°¤Î°Ù¤ËÄ̾ï¥æ¡¼¥¶¤Ë¤Ê¤Ã¤Æ)
mail -s "test2" ¸ºß¤·¤Ê¤¤¥æ¡¼¥¶Ì¾
¤È¤·¤Æ¡¤¤¢¤È¤ÏŬÅö¤ËËÜʸÆþÎϸå¤Ë¡Ö¥Ô¥ê¥ª¥É°ì¤Ä¤Î¤ß¤«¤é¤Ê...
Î㤨¤Ð¡¤ usotaro ¤È¤¤¤¦¥æ¡¼¥¶¤¬µï¤Ê¤¤¤È¤·¤Æ¼¡¤Î¤è¤¦¤Ê´¶¤¸...
> >mail -s "test2" usotaro
> This is a test mail to nonexistent user.
> .
> EOT &color(blue){¢« ¾å¤Ç . ¤À¤±¤Î¹Ô¤òÆþÎϤ¹¤ë¤È¤³¤¦¤¤...
¤µ¤Æ¤³¤ì¤â¤Þ¤¿¼«Ê¬¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î Maildir/new ¤È¤¤¤¦¥Ç¥£...
¶ñÂÎŪ¤Ë¤Ï¡¤¤³¤Î¾ì¹ç¤Ï¥á¡¼¥ëÃæ¤Ë
> This is the mail system at host &color(blue){¥Û¥¹¥È̾};
> &br;
> I'm sorry to have to inform you that your message coul...
> be delivered to one or more recipients. It's attached ...
> &br;
> For further assistance, please send mail to postmaster.
> &br;
> If you do so, please include this problem report. You ...
> delete your own text from the attached returned message.
> &br;
> The mail system
> &br;
> <usotaro@&color(blue){¥Û¥¹¥È̾};> (expanded from <usot...
> user: "usotaro"
¤È¤¤¤¦¤è¤¦¤Ë¡¤¤½¤ó¤Ê¥æ¡¼¥¶µï¤Ê¤¤¤è¡¤¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬½ñ...
&br;
º£²ó¤ÎÀâÌÀ¤Ï¾¯¤·Ä¹¤¯¤Ê¤Ã¤¿¤Î¤Ç¡¤¤³¤Î¤¢¤¿¤ê¤Ç°ìöÄä¤á¤Æ¤ª...
* ¥ì¥Ý¡¼¥È [#n05e96d9]
¥á¡¼¥ëÁ÷¼õ¿®¤ÎºÝ¤Ë¡¤¡Ö°ÂÁ´À(°Å¹æ²½)¡×¡ÖSPAMÂкö¡×¤Ë¤Ä¤¤...
¤Þ¤¿¡¤ËÜÆü¹Ô¤Ã¤¿ºî¶È¤Ë¤Ä¤¤¤ÆÊó¹ð¤»¤è.
¤â¤Á¤í¤ó³Æ¼«¤Î
+ ½ê°(³ØÉô¡¤³Ø²Ê)
+ ³ØÀÒÈÖ¹æ
+ ³Øǯ
+ »á̾
+ Æü»þ
+ ´Î¿´¤Î¥ì¥Ý¡¼¥ÈÆâÍÆ(ÆÀ¤¿Ãθ«¡¤ºî¶È¤Ë¤Ä¤¤¤Æµ¤¤Å¤¤¤¿¤³¤ÈÅù)
¤ò½ñ¤¯¤Î¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë.
* about Icons, ClipArts [#sc53a626]
Some icons in this page are downloadable at [[ICONFINDER:...
The "note" icon &ref(/materials/notes.png); designed by [...
the "warning" icon &ref(/materials/warning.png); designed...
and the "triangle" icon &ref(/materials/JNorth_arrow-righ...
Some clip arts used in this page are downloadable at [[Op...
We deeply appreciate their superb works. With licence, th...
// ¨¬¨¨®¨¯¨°¨±¨²¨³¨´¨µ¨¶
// ¥³¥Þ¥ó¥É¥é¥¤¥óÆþÎϤϡֹÔƬ¤ò¥Ö¥é¥ó¥¯¤Ç»Ï¤á¤ë¡×.
// ¥³¥Þ¥ó¥É¥é¥¤¥ó½ÐÎϤϡֹÔƬ¤ò > ¤Ç»Ï¤á¤ë¡×.
// ¼Â½¬¥¢¥¤¥³¥ó
// &ref(/materials/notes.png);
// Ãí°Õ¥¢¥¤¥³¥ó
// &ref(/materials/warning.png);
// Link ¥¢¥¤¥³¥ó
// &ref(/materials/JNorth_arrow-right-sm.png);
// OK ¥¢¥¤¥³¥ó
// &ref(/materials/OK.png);
// NG ¥¢¥¤¥³¥ó
// &ref(/materials/NG.png);
// Âçʸ»ú¤Ç¤Î¶¯Ä´
// CENTER:&size(24){''¤Û¤²¤Û¤²''};
// programu source ɽµ
// #highlighter(language=ruby,number=on,cache=on){{}}
½ªÎ»¹Ô:
#contents
* RFC ¤Ë¤Ä¤¤¤Æ [#hfd09071]
¥á¡¼¥ë¥µ¡¼¥Ð¤ÎÏäò½ñ¤¯Á°¤Ë¡¤¤³¤³¤Ç RFC(Request For Commen...
RFC ¤È¤Ï¡¤IETF (Internet Engineering Task Force)((http:/...
&ref(/materials/warning.png); ¸½ºß »È¤ï¤ì¤Æ¤¤¤ë¥Í¥Ã¥È¥ï¡¼...
¤¿¤À¤·¡¤µ¬³Ê¤½¤Î¤â¤Î¤¬¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤µ¤ì¤ë¤È¿·¤·¤¤ RFC ...
°Ê²¼¡¤¥á¡¼¥ë¤Îµ¬³Ê¤Ë¤Ä¤¤¤Æµ¤¹¤È¤¤Ë RFC ¤Ë¤Ä¤¤¤Æ»þ¤ª¤ê¿¨...
¤Ê¤ª¡¤¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Ç¤Ï¿ÆÀڤˤâÆüËܸì¤ËËÝÌõ¤·¤ÆÃÖ¤¤¤Æ¤¯...
* ¥á¡¼¥ë¥µ¡¼¥Ð [#n1ade599]
¥á¡¼¥ë¥µ¡¼¥Ð¤È°ì¸ý¤Ë¸À¤Ã¤Æ¤â¤½¤Î»Å»ö¤ÏÍÍ¡¹¤À.
¤½¤ÎÀâÌÀ¤ò¹Ô¤¦Á°¤Ë¡¤ÅŻҥ᡼¥ë¤¬¤É¤Î¤è¤¦¤ËÇÛ㤵¤ì¤Æ¤¤¤¯...
** ¥á¡¼¥ë¤ÎÁ÷¿®¡¤Å¾Á÷¡¤¼õ¿® [#sa1e9019]
¥á¡¼¥ë¤ÎÇÛ¿®²áÄø¤Ï¤ª¤è¤½Á÷¿®¡¤Å¾Á÷¡¤¼õ¿®¤È¤¤¤¦Ãʳ¬¤Ëʬ¤«...
¤³¤Î¤¦¤Á¡¤Á÷¿®(¤³¤ì¤â°ì¼ï¤ÎžÁ÷¤È¸«¤Ê¤»¤ë)¤ÈžÁ÷¤Ï SMTP (...
¥æ¡¼¥¶¥Ó¥ê¥Æ¥£¤Ëľ·ë¤¹¤ë¤³¤È¤â¤¢¤Ã¤Æ¼õ¿®¤Î»ÅÊý¤Ï¤¤¤¯¤Ä¤â...
¤³¤ì¤é¤ÎÌò³äʬô¤ò¤Þ¤È¤á¤ë¤È¡¤
: MTA = Message Transfer Agent | ¥á¡¼¥ë¤ÎžÁ÷¤ò¹Ô¤¦¥½¥Õ¥È...
: MDA = Message Derivery Agent | ÆϤ¤¤¿¥á¡¼¥ë¤ò¥í¡¼¥«¥ë¥æ...
: MUA = Mail/Message User Agent | ¥á¡¼¥ë¤ÎÆɤ߽ñ¤¡¤¥µ¡¼...
¤È¤¤¤¦¥½¥Õ¥È¥¦¥§¥¢Æ±»Î¤¬, ŵ·¿Åª¤Ê¾ì¹ç¤Ï°Ê²¼¤Î¤è¤¦¤Ë·Ò¤¬...
CENTER:&ref(./mail-transfer-simple_s2.png);
CENTER:(ÅŻҥ᡼¥ë¤Î¤ª¤ª¤è¤½¤ÎÇÛ¿®¿Þ)
¤è¤Ã¤Æ¡¤¥á¡¼¥ë¥µ¡¼¥Ð¤Î´ÉÍý¤È¤Ï¤ª¤ª¤Þ¤«¤Ë
- MTA ¤Î´ÉÍý
- POP, IMAP Åù MUA ¤Î¼êÁ°¤Î¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤Î´ÉÍý
¤ÎÆó¤Ä¤ËʬÎà¤Ç¤¤ë¤³¤È¤Ë¤Ê¤ë¡¥
* ¥á¡¼¥ëÁ÷¼õ¿®¤Î¥»¥¥å¥ê¥Æ¥£(°ÂÁ´À) [#l284f32c]
¥á¡¼¥ë¤ÎÁ÷¿®¡¤Å¾Á÷¡¤ÇÛ¿®¤Ï´ðËÜŪ¤Ë¡Öʿʸ¡×¤Ç¥Í¥Ã¥È¥ï¡¼¥¯...
¤½¤Î¤¿¤á¡¤³Æ¼ï¥Ñ¥¹¥ï¡¼¥É¤â¥á¡¼¥ëËÜʸ¤âƱ¤¸¥Í¥Ã¥È¥ï¡¼¥¯¤Ë...
¤½¤Î¤â¤Ã¤È¤â¤è¤¯»È¤ï¤ì¤ëµ»½Ñ¤¬, Á°²ó¾Ò²ð¤·¤¿ TLS/SSL ¤ò»È...
¤Þ¤¿¡¤TLS/SSL ¤ò»È¤¦¤³¤È¤Ç¡¤²þã⸡½Ð¤â²Äǽ¤È¤Ê¤ë.
// ¤³¤ì¤Ï¡¤¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÄÌ¿®·ÐÏ©¤ò°Å¹æ²½¤¹¤ëÌÜŪ¤Ë¤«¤Ê¤ê...
// ¤è¤ê¾ÜºÙ¤ò½Ò¤Ù¤ë¤È(web ¥µ¡¼¥Ð¤Î¤È¤³¤í¤Ç¤â´Êñ¤ËÀâÌÀ¤·...
&ref(/materials/warning.png); TLS 1.0 ¤Ï SSL 3.0 ¤Ë¤Û¤ÜÅù...
//SSL ¤Ï Netscape Communications ¤Î³«È¯¤·¤¿¤â¤Î¤Ç¤¢¤Ã¤¿¤¬...
//¼Â¼ÁŪ¤Ë¤Ï SSL ver3.0 ¤È TLS ver 1.0 ¤¬¤Û¤ÜƱÅù¤Ç¤¢¤ë¤È...
Á°²ó¤â½Ò¤Ù¤¿¤è¤¦¤Ë¡¤* over TLS/SSL ¤Ë¤Ï¤¤¤í¤ó¤Ê¤â¤Î¤¬¤¢¤ë.
¤¢¤Þ¤ê¸«³Ý¤±¤Ê¤¤¤È¤³¤í¤Ç¤Ï FTP over TLS/SSL RFC4217((http...
** SMTP/POP/IMAP over TLS/SSL [#qffe513c]
¾å¤Î¿Þ¤ÎÎп§¤Î·ÐÏ©¤Ï´ðËÜŪ¤Ë¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ò¥Ç¡¼¥¿¤¬Î®¤ì...
¶ñÂÎŪ¤Ë¤Ï¡¤MTA ¤È¤·¤Æ´Ø·¸¤¹¤ë SMTP over TLS (RFC3207)((h...
¤Á¤Ê¤ß¤Ë¡¤TLS/SSL ¤Î¸¶Íý¤À¤±¹Í¤¨¤ì¤Ð¡¤*** over TLS/SSL ¤ò...
* spam Âкö : ²Ã³²¼Ô¤Ë¤Ê¤ë¤Î¤òËɤ° : Á÷¿®¥Ý¡¼¥È¤Î¥Ö¥í¥Ã¥¯...
¸½ºß¡¤¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥á¡¼¥ë¤Ë¤ª¤¤¤Æ spam (=¼õ¼è¤ê¼ê¤Î°Õ¿Þ...
&ref(/materials/warning.png); ¤Á¤Ê¤ß¤Ë spam ¤Î¸ì¸»¤ÏÌÌÇò...
¤³¤ì¤òËɤ°¡¤¸º¾¯¤µ¤»¤ë¤¿¤á¤Î»ÅÁȤߤÏÍÍ¡¹¤Ê¤â¤Î¤¬¤¢¤ë¤¬¡¤...
¾¤Ë¤â "Outbound Port25 Blocking" ¤Ê¤É¤âƱ¤¸ÌÜŪ¤Îµ»½Ñ¤Ç...
¤³¤ì¤é¤Ï¡¤¼«Ê¬¤Î´ÉÍý¤¹¤ë¥á¡¼¥ë¥µ¡¼¥Ð(MTA)¤¬ spam Á÷¿®¤Ë»È...
** SMTP Auth [#q529b1fe]
RFC2554((http://www.ietf.org/rfc/rfc2554.txt ))¤Ëµ¬Äꤵ¤ì...
¤Ä¤Þ¤ê¡¤¡ÖSMTP ÄÌ¿®¤·¤¿¤¤¤ó¤Ç¤¹¤±¤É¡×¡Ö¤¢¤ó¤¿Ã¯?¡×¡Ö¢þ¢þ¤Ç...
´Î¿´¤Îǧ¾Ú¤Ï¡¤¼Â¼ÁŪ¤Ë SASL(Simple Authentication and Sec...
¤³¤Îµ»½Ñ¤Ï¼ç¤Ë¡¤¥á¡¼¥ëÁ÷¿®(¼Â¼ÁŪ¤Ë¥á¡¼¥ëžÁ÷¤ËÁêÅö¤¹¤ë)...
** Message Submission [#i0e5f6dc]
RFC2476((http://www.ietf.org/rfc/rfc2476.txt )) ¤Ëµ¬Äꤵ...
Ä̾ï¤Ï¥á¡¼¥ë¤ÎÁ÷¿®¤ÈžÁ÷¤ÎξÊý¤¬ port 25 ¤Ç¼õ¤±¤é¤ì¤ë¤Î¤Ç...
ʬ¤±¤¿¤À¤±¤Ç¤Ï¥»¥¥å¥ê¥Æ¥£¾å¤Î°ÕÌ£¤Ï¤½¤ó¤Ê¤Ë¤Ê¤¤¤Î¤Ç(^-^)...
Î㤨¤Ð¡¤Á÷¿®¼õÉÕ¸ý submission port ¤Ç¤Ï smtp auth ¤ò¤«¤±...
¤è¤êʬ¤«¤ê°×¤¯¼¨¤¹¤È¡¤MTA ¤«¤é¤ß¤¿¤È¤¤Ë´ðËÜŪ¤Ë
- Á÷¿®¤·¤Æ¤¯¤ëÁê¼ê¤Ï MUA
- žÁ÷¤·¤Æ¤¯¤ëÁê¼ê¤Ï MTA
¤Ç¤¢¤ê¡¤¥á¡¼¥ë¤Ë´Ø¤¹¤ë»Å»ö¤ÎÆâÍƤˤè¤Ã¤ÆÁê¼ê¤¬°Û¤Ê¤ë¤Î¤Ç...
¤½¤³¤Ç¡¤»Å»ö¤ÎÆâÍƤ˱þ¤¸¤Æ port ¤òʬ¤±¤Æ¡¤Áê¼êËè¤ËÂбþ¤ò...
¶ñÂÎŪ¤Ë¤Ï¡¤MTA ¤Ï¤½¤ì¤Ê¤ê¤Î¥µ¡¼¥Ð¤Ç¤¢¤ë¤Î¤Ç¤¤Á¤ó¤È¤·¤¿...
* spam Âкö : Èï³²¼Ô¤Ë¤Ê¤ë¤Î¤òËɤ° : ¼õ¿®»þ¤Î¥Ö¥í¥Ã¥¯ [#u...
spam ¤Î¡ÖÈï³²¼Ô¤Ë¤Ê¤é¤Ê¤¤¤¿¤á¤Ë¤Ï¡×¡¤´ðËÜŪ¤ËžÁ÷/Á÷¿®¤µ...
: Àܳ¤·¤Æ¤¤¿Áê¼ê¤ò¥Á¥§¥Ã¥¯¤·¤Æ¡¤¥À¥á¤Ê¤éÀܳ¤½¤Î¤â¤Î¤ò...
:: ÍøÅÀ | ¤½¤â¤½¤â¥á¡¼¥ë¤ò¼õ¤±¼è¤é¤º¤ËºÑ¤à¤Î¤Ç¡¤virus ¤Ê...
::| ¥á¡¼¥ë¤ÎÆâÍƤ˰͸¤·¤Ê¤¤¤Î¤Ç¡ÖÆâÍƤ˰͸¤¹¤ë¸¡±Ü¤Ç¤Ï...
:: ·çÅÀ | Áê¼ê¤¬¼Â¤ÏÌäÂê¤Ê¤¤¤È¤¤Ç¤â¸í¤Ã¤ÆÇÓ½ü¤·¤Æ¤·¤Þ¤¦...
:|¤½¤³¤Ç¡¤¼ÂºÝ¤Ë¤Ï
-- Àµ¤·¤¤SMTP Àܳ°Ê³°¤ÏµñÀ䤹¤ë
-- Áê¼ê¤¬ MTA ¤Î¢þ¢þ¤Îµ¡Ç½¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¸Â¤êÀܳ¤òµö²Ä...
-- (Á´À¤³¦¤Ç½¸¤á¤é¤ì¤Æ¤¤¤ë)¥Ö¥é¥Ã¥¯¥ê¥¹¥È¤ËºÜ¤Ã¤Æ¤¤¤ëÁê¼ê...
:|¤È¤¤¤¦¤è¤¦¤Ê¼êË¡¤¬¤È¤é¤ì¤ë.
: ¤È¤ê¤¢¤¨¤º¥á¡¼¥ë¤ò¼õ¤±¼è¤ê¡¤ÆâÍƤò¥Á¥§¥Ã¥¯¤·¤Æ¥À¥á¤Ê¤é¡Ä...
:: ÍøÅÀ | Î㤨¤Ð¥æ¡¼¥¶Ëè¤Ë¤Ê¤É, ½ÀÆð¤ÊÀßÄ꤬²Äǽ.
::| ÆâÍƤ˰͸¤¹¤ë¹âÅ٤ʥÁ¥§¥Ã¥¯¤¬²Äǽ. ¶ñÂÎŪ¤Ë¤Ï¡¤¶áǯ...
:: ·çÅÀ | ÆâÍƤò¥Á¥§¥Ã¥¯¤¹¤ë¤Î¤Ç¡¤¥µ¡¼¥Ð¤Ç¹Ô¤Ã¤¿¾ì¹ç¤Ï¡Ö...
::|Éé²Ù¤¬¹â¤¤.
¤È¤¤¤¦¤â¤Î¤Ëʬ¤±¤é¤ì¤ë. ¤¤¤º¤ì¤â¤½¤ì¤Ê¤ê¤Î·çÅÀ¤òÊú¤¨¤ë¤¿...
º£²ó¤Ï¤³¤ì¤é¤Ë¤Ä¤¤¤Æ¾Ü¤·¤¯½Ò¤Ù¤Ê¤¤¤¬¡¤°ìÅÙÊÙ¶¯¤·¤Æ¤ª¤¯¤È...
&ref(/materials/warning.png); Î㤨¤Ð¡¤(¶µ´±¤Î·Ð¸³¤Ç¤Ï)¥µ...
&ref(/materials/notes.png); ¡Öspam Èï³²¤ò¸º¤é¤¹¤¿¤á¤Ë¡×¼Â...
* MTA : Postfix [#m8e3d565]
¤µ¤Æ¡¤¤Ç¤Ï¥á¡¼¥ë¥µ¡¼¥Ð¥½¥Õ¥È¥¦¥§¥¢¤ÎËܼÁ¤Ç¤¢¤ë MTA ¤ò¥¤¥ó...
¾å¤Ë½ñ¤¤¤¿¤è¤¦¤Ë MTA ¤ÎÍ̾¤É¤³¤í¤Ï sendmail, postfix, qm...
̵Æñ¤Ê¤È¤³¤í¤Ç Postifx ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¤ÀßÄê¤ò¹Ô¤Ã¤Æ¤ß¤è...
&ref(/materials/notes.png); sendmail ¤ÎÀßÄ꤬¤É¤Î¤è¤¦¤ËÆñ...
&ref(/materials/notes.png); sendmail, postfix, qmail ¤Î³Æ...
* Postfix ¤Î¥¤¥ó¥¹¥È¡¼¥ë¡¤ÀßÄê [#h603bfab]
** ¾å¤Ë½Ò¤Ù¤¿µ»½Ñ¤È¤Î´Ø·¸ [#r6af216f]
¤Þ¤º¡¤Postfix ¤È¾å¤Î¥»¥¥å¥ê¥Æ¥£¡¤spam Âкö¤È¤Î´Ø·¸¤ò½Ò¤Ù...
&ref(/materials/warning.png); ¤½¤â¤½¤â Postfix ¤Ï¾å¤Ë½Ò¤Ù...
*** SMTP over TLS/SSL ¤Ë¤Ä¤¤¤Æ [#e552179e]
¸½»þÅÀ¤Ç¤Î FreeBSD ¤Ç Postfix ¤ò ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·...
*** SMTP Auth ¤Ë¤Ä¤¤¤Æ [#i71788c5]
¸¶Â§¤È¤·¤Æ Postfix ¥¤¥ó¥¹¥È¡¼¥ë¡ÖÁ°¡×¤Ëǧ¾Ú¤Î¤¿¤á¤ËÍѤ¤¤é...
¤·¤«¤·¡¤¸½»þÅÀ¤Ç¤Ï ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤è¤¦¤È¤·¤¿»þ¤Ë...
** ¥¤¥ó¥¹¥È¡¼¥ë [#o15155e3]
*** sendmail ¤¬´û¤ËÆ°¤¤¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯ [#b6ea1cb8]
¤Þ¤º¡¤Â¿¤¯¤Î OS ¤Ç¥Ç¥Õ¥©¥ë¥È¤ÇÆ°¤¤¤Æ¤¤¤ë¤³¤È¤¬Â¿¤¤ sendma...
¶ñÂÎŪ¤Ë¤Ï¡¤Á°²ó¤Î¼ø¶È¤Ç Web ¥µ¡¼¥Ð¤¬´û¤ËÆ°¤¤¤Æ¤¤¤ë¤«¤É¤¦...
&ref(/materials/notes.png); ¤½¤³¤Ç¡¤°Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ send...
- ¤Þ¤º¡¤/etc/rc.conf ¤òÆɤó¤Ç sendmail ¤Ë¤Ä¤¤¤Æ¤Îµ½Ò¤¬¤Ê...
sendmail_enable="YES" ¤Ê¤É¤È¤¢¤Ã¤¿¤é sendmail ¤¬µ¯Æ°¤·¤Æ...
¤â¤· sendmail ¤Ë´Ø¤¹¤ëµ½Ò¤¬ rc.conf ¤Ë¤Ê¤±¤ì¤Ð¡¤/etc/def...
&ref(/materials/warning.png); /etc/defaults/rc.conf ¤Ë se...
&ref(/materials/notes.png); /etc/rc.conf ¤ËÆÃ¤Ë sendmail ...
> sendmail_enable="NONE"
¤È½ñ¤¤³¤ó¤Ç¤ª¤³¤¦.
- ¼¡¤Ë,
ps -axuww | grep -i sendmail
¤Î½ÐÎÏ·ë²Ì¤ò¸«¤Æ¡¤sendmail ¤¬Æ°¤¤¤Æ¤¤¤Ê¤¤¤«¥Á¥§¥Ã¥¯(sendm...
- ¼¡¤Ë¡¤
lsof -i4 | grep -i mail
¤È¤·¤Æ mail ¤È¤« post ¤È¤« drop ¤È¤«¤¤¤¦Ê¸»úÎó¤ò´Þ¤à daem...
//¤Þ¤¿¡¤/etc/rc.conf ¤ò¸«¤Æ¡¤
// sendmail_enable = "NONE"
//¤È¤¤¤¦Ê¸»úÎó¤¬"̵¤«¤Ã¤¿¤é" sendmail ¤¬Æ°¤¤¤Æ¤¤¤ë²ÄǽÀ...
- ¤Þ¤¿¡¤
telnet localhost 25
¤È¤·¤Æ
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 &color(blue){¥Û¥¹¥È̾}; ESMTP Sendmail 8.14.4/8.14...
¤È¤¤¤¦¤è¤¦¤Ë¡¤SMTP ¤ò¼õ¤±ÉÕ¤±¤Æ¤¤¤ë¤è¤È¤¤¤¦ÊÖ»ö¤¬Íè¤ÆÀܳ...
&ref(/materials/warning.png); ¾å¤Ç telnet ¤òÍѤ¤¤Æ sendma...
¤µ¤Æ¡¤¤³¤ì¤Þ¤Ç¤Î¥Á¥§¥Ã¥¯¤Ç¤â¤· sendmail ¤¬Æ°¤¤¤Æ¤¤¤ë¤è¤¦...
/etc/rc.d/sendmail stop
¤È¤·¤Æ sendmail ¤òÄä¤á¤è¤¦.
Ç°¤Î°Ù¤Ë¥ê¥Ö¡¼¥È¤·¤Æ¡¤sendmail ¤¬¤â¤Ï¤äºÇ½é¤«¤éÆ°¤«¤Ê¤¤¤è...
*** ¥¤¥ó¥¹¥È¡¼¥ëºî¶È [#hedb40dc]
¤Þ¤º¤¤¤Ä¤â¤Î¤è¤¦¤Ë ports ¥³¥ì¥¯¥·¥ç¥ó¤ò¹¹¿·¤·¤Æ¤ª¤³¤¦(¤Ç...
portsnap fetch
portsnap update
¤Ç¤Ï¡¤ports ¤«¤é postfix ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë. ¥¤¥ó¥¹¥È¡¼¥ë...
¤¿¤À¤·¡¤ports ¥³¥ì¥¯¥·¥ç¥ó¤ò¤¶¤Ã¤È¤ß¤¿¤À¤±¤Ç¤â ver.2.4·Ï,...
¤µ¤Æ¡¤
// cd /usr/ports
portinstall mail/postfix
¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¬»Ï¤Þ¤ë¤À¤í¤¦((¤Á¤Ê¤ß¤Ë¡¤¤³¤Î»þÅÀ¤Ç¥¤¥ó¥¹...
ports ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¡¤ÅÓÃæ¤ÇÁªÂò/·èÄê ¤òÇ÷¤é¤ì¤ë...
¤¿¤Ö¤óºÇ½é¤Ë
&ref(./postfix-option.png);
¤Î¤è¤¦¤Ê²èÌ̤¬½Ð¤Æ¡¤postfix ¤Î¥¤¥ó¥¹¥È¡¼¥ë¥ª¥×¥·¥ç¥ó¤òʹ...
¤³¤ì¤ËÂФ·¤Æ¤Ï¡¤¾å¤Ë½Ò¤Ù¤¿¤è¤¦¤Ë "Cyrus SASLv2", "Enable ...
¤¹¤ë¤È¡¤ºÇ½é¤Ë cyrus-sasl2 ¤Î¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤¬¹Ô¤ï¤ì¡¤¤½...
¤½¤·¤Æ¤·¤Ð¤é¤¯¤¹¤ë¤È¡¤
> 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 ...
¤Þ¤¿¡¤
> Would you like to activate Postfix in /etc/mail/mailer...
¤È¤âʹ¤«¤ì¤ë¤À¤í¤¦.
¤³¤ì¤Ï mail ´ØÏ¢¤Î¥½¥Õ¥È¥¦¥§¥¢Âбþɽ¤È¤Ç¤â¤¤¤¦¤Ù¤ /etc/m...
&ref(/materials/warning.png); ¥Ç¥Õ¥©¥ë¥È¤¬ "n" ¤È¤Ê¤Ã¤Æ¤¤...
¤Á¤Ê¤ß¤Ë¡¤½ñ¤´¹¤¨Á°¤Î 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 ¤À¤¬¡¤...
¤µ¤Æ¡¤¤¢¤È¤ÏÊü¤Ã¤Æ¤ª¤±¤Ð¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤½¤Î¤â¤Î¤Ï½ªÎ»¤¹¤ë.
** ÀßÄê [#obbfd819]
*** ¥¤¥ó¥¹¥È¡¼¥ë¥í¥°¤Î¥Á¥§¥Ã¥¯ [#ke1c5760]
¤µ¤Æ¡¤¥¤¥ó¥¹¥È¡¼¥ëÅÓÃæ¤Ë½Ð¤Æ¤¯¤ë¥á¥Ã¥»¡¼¥¸¤òÃí°Õ¿¼¤¯¸«¤Æ...
°ÊÁ°¤ÎÀßÄêÄ̤ê¤Ë¤·¤Æ¤¤¤ì¤Ð¡¤º£²ó¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Ï /var/log...
&ref(/materials/warning.png); ¤³¤Î¥Õ¥¡¥¤¥ë¤¬¤Ê¤¤¡¤Ì¾Á°¤¬...
¥í¥°¥Õ¥¡¥¤¥ë¤«¤é¤Þ¤º¸«¤Ä¤«¤ë¥á¥Ã¥»¡¼¥¸Åù¤Ï
> Warning: you still need to edit myorigin/mydestinati...
> parameter settings in /usr/local/etc/postfix/main.cf.
> &br;
> See also http://www.postfix.org/STANDARD_CONFIGURATI...
> for information about dialup sites or about sites in...
> firewalled network.
> &br;
> BTW: Check your /etc/aliases file and be sure to set...
> that send mail for root and postmaster to a real per...
> run /usr/local/bin/newaliases.
¤Ç¤¢¤ë.
¤³¤ì¤Ï¡¤postfix ¥¤¥ó¥¹¥È¡¼¥ë¸å¤Ë¤É¤Î¤è¤¦¤ÊÀßÄ꤬ɬÍפ«¡¤...
/usr/local/etc/postfix/main.cf ¤ò½ñ¤´¹¤¨¤í¤è¡¤ dialup ¤¹...
¤Þ¤¿¡¤¼¡¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë.
> To enable postfix startup script please add postfix_en...
> your rc.conf
> &br;
> If you not need sendmail anymore, please add in your r...
> &br;
> sendmail_enable="NO"
> sendmail_submit_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_msp_queue_enable="NO"
> &br;
> And you can disable some sendmail specific daily maint...
> /etc/periodic.conf file:
> &br;
> daily_clean_hoststat_enable="NO"
> daily_status_mail_rejects_enable="NO"
> daily_status_include_submit_mailq="NO"
> daily_submit_queuerun="NO"
> &br;
> If /etc/periodic.conf does not exist please create it ...
&ref(/materials/warning.png); ¤³¤ì¤Ï½ÅÍפʥá¥Ã¥»¡¼¥¸¤Ç¤¢¤ë.
¤Þ¤º¡¤µ¯Æ°»þ¤Ë postfix ¤¬Æ°¤¯¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤è¤¤...
¤¹¤°¼¡¤Ë¤³¤Î¥á¥Ã¥»¡¼¥¸¤¬Â³¤¯.
> If you are using SASL, you need to make sure that post...
> the sasldb file. This is accomplished by adding postf...
> making the /usr/local/etc/sasldb* file(s) readable by ...
> be the default for new installs).
¤³¤Î¥á¥Ã¥»¡¼¥¸¤«¤é¤ÏÀè¤Î¥¤¥ó¥¹¥È¡¼¥ë»þ¤Î¼ÁÌä
> You need user "postfix" added to group "mail".
> Would you like me to add it [y]?
¤ÎÍýͳ¤Î¾ÜºÙ¤¬Ê¬¤«¤ë.
¤½¤ì¤«¤é¸æÃúÇ«¤Ë¤â
> If you are upgrading from postfix version prior to 2.0...
> files for recommended changes to your configuration.
¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ê¡¤¸Å¤¤ postfix ¤«¤é¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×...
¤½¤Î¸å¤Ë
> This port has installed the following binaries w...
> increased privileges.
> /usr/local/sbin/postdrop
> /usr/local/sbin/postqueue
> &br;
> This port has installed the following files whic...
> servers and may therefore pose a remote security...
> /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
> &br;
> This port has installed the following startup sc...
> these network services to be started at boot time.
> /usr/local/etc/rc.d/postfix
> &br;
> If there are vulnerabilities in these programs t...
> risk to the system. FreeBSD makes no guarantee a...
> ports included in the Ports Collection. Please t...
> to deinstall the port if this is a concern.
> &br;
> &br;
> For more information, and contact details about ...
> status of this software, see the following webpa...
> http://www.postfix.org/
¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬¤¢¤ê¡¤Æø¢¤ò¤â¤Ä¥×¥í¥°¥é¥à¤¬¥¤¥ó¥¹¥È¡¼...
*** ºÇÄã¸Â¤ÎÀßÄê [#f2904d3f]
¤µ¤Æ¡¤postfix ¤Ë´Ø¤·¤ÆºÇÄã¸Â¤ÎÀßÄê¤ò¹Ô¤ª¤¦.
Àè¤Î¥í¥°¥Õ¥¡¥¤¥ë¤Î¥á¥Ã¥»¡¼¥¸¤ò°ìÄ̤êÆɤó¤Àº£¤È¤Ê¤Ã¤Æ¤Ï¡¤...
&br;
¤Þ¤º¤Ï¡¤¥Ç¥Õ¥©¥ë¥È¤Î sendmail ¤Ë´Ø¤¹¤ëÀßÄê¤òÁ´¤Æ̵¸ú¤Ë¤·...
&ref(/materials/notes.png); ¤½¤ì¤Ë¤Ï¡¤¥í¥°¥Õ¥¡¥¤¥ë¤Î "To ...
&ref(/materials/warning.png); ¤¿¤À¤·¡¤sendmail_enable="NO...
¤Ê¤ª¡¤periodic.conf ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬¤Ê¤¤¾ì¹ç¤É¤¦¤¹¤Ù¤¤«...
&br;
¤µ¤Æ¡¤¼¡¤Ë¡¤¥á¡¼¥ë¥µ¡¼¥Ð¤È¤·¤ÆºÇÄã¸Â¤ÎÀßÄê(SMTP Auth ¤â S...
¤³¤ì¤Ï /usr/local/etc/postfix/main.cf ¤òÊÔ½¸¤¹¤ë¤À¤±¤Ç¤è¤¤.
cd /usr/local/etc/postfix/
// cp main.cf main.cf.ORG
emacs main.cf
¤Ê¤É¤È¤·¤ÆÊÔ½¸¤·¤è¤¦.
&ref(/materials/warning.png); ¤³¤Î main.cf ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×...
&ref(/materials/notes.png); °Ê²¼¤Ë½¤Àµ¤·¤¿²Õ½ê¤Î¤ßÈ´¤½Ð...
¤Ê¤ª¡¤¥Ç¥Õ¥©¥ë¥ÈÃͤ¬µ¤¤Ë¤Ê¤ëÀßÄê¤Ï /usr/local/etc/postfix...
> myhostname = q17.cl.math.sci.osaka-u.ac.jp &color(blu...
> mydomain = cl.math.sci.osaka-u.ac.jp
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> home_mailbox = Maildir/
&ref(/materials/warning.png); home_mailbox ¤ÎÀßÄêÃͤκǸå...
&ref(/materials/warning.png); ¤¿¤À¤·¡¤ÊÑ¿ô¤Î°Í¸´Ø·¸¤¬¤¢...
&br;
¼¡¤Ë¡¤¤³¤ì¤â¤ä¤Ï¤êÀè¤Î¥í¥°¥Õ¥¡¥¤¥ëÃæ¤Î¥á¥Ã¥»¡¼¥¸¤Ë½¾¤¤¡¤"...
&ref(/materials/notes.png); ¶ñÂÎŪ¤Ë¤Ï¡¤/etc/aliases ¤òÊÔ...
> root : (¼«Ê¬¤Î¥á¡¼¥ë¥¢¥É¥ì¥¹)
¤ò½¤Àµ¤·¡¤¤½¤Î¸å¡¤Æ±¤¸¥Õ¥¡¥¤¥ë¤ÎŬÅö¤Ê¾ì½ê¤Ë(uucp: root ...
> cyrus: root
> postfix: root
¤òÉÕ¤±²Ã¤¨¤ì¤Ð¤è¤¤. ¤¿¤À¤·¡¤¤³¤ì¤À¤±¤Ç¤ÏÊѹ¹¤ÏÈ¿±Ç¤µ¤ì¤Ê...
rehash
newaliases
&ref(/materials/warning.png); ¾å¤Î rehash ¤Ï½ÅÍפÀ. ¤Ê¤¼...
¤µ¤Æ¡¤¤³¤³¤ÇÇ°¤Î°Ù¥ê¥Ö¡¼¥È¤·¤è¤¦. ÀßÄ꤬Àµ¤·¤±¤ì¤Ð¤³¤ì¤Ç ...
*** postfix ¤Îµ¯Æ°³Îǧ [#o6a9a274]
&ref(/materials/notes.png); ¤Þ¤º¡¤Àè¤Ë sendmail ¤¬Æ°¤¤¤Æ...
> ps -axuww | grep postfix
¤È¤·¤Æ¡¤²¿¤«Æ°¤¤¤Æ¤¤¤ë¤«,
> lsof -i4 -P | grep 25
¤È¤·¤Æ¡¤¥Ý¡¼¥È25ÈÖ¤Ç狼¤¤Á¤ó¤ÈÂÔ¤Á¼õ¤±¤Æ¤¤¤ë¤«¡¤¤ò¸«¤è¤¦.
&ref(/materials/warning.png); postfix ¤Î¾ì¹ç¡¤25È֥ݡ¼¥È...
Æ°¤¤¤Æ¤¤¤Ê¤¤¤è¤¦¤Ê¤é¤³¤ì¤Þ¤Ç¤Îºî¶È¤òºÆ¥Á¥§¥Ã¥¯¤·¡¤Æ°¤¯¤Þ...
&br;
&ref(/materials/notes.png); Æ°¤¤¤Æ¤¤¤ë¤è¤¦¤Ê¤é¤Ð¡¤Àè¤ÈƱ...
> telnet localhost 25
¤È¤·¤Æ¡¤
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 &color(blue){¥Û¥¹¥È̾}; ESMTP Postfix
¤È½Ð¤ë¤Ï¤º¤Ê¤Î¤Ç¡¤¤³¤³¤Ç
> EHLO localhost
¤ÈÆþÎϤ·¤Æ¤ß¤è¤¦. ¤¹¤ë¤È¡¤
> 250-&color(blue){¥Û¥¹¥È̾};
> 250-PIPELINING
> 250-SIZE 10240000
> 250-VRFY
> 250-ETRN
> 250-ENHANCEEDSTATUSCODES
> 250-8BITMIME
> 250 DSN
¤È¤¤¤¦ÊÖ»ö¤¬Ê֤äƤ¯¤ë¤Ï¤º¤À(¤³¤Î¤¢¤È¤Ï ^], quit ¤ÇÈ´¤±¤é...
¤³¤ì¤Ï postfix ¤¬Àµ¾ï¤Ë¥á¡¼¥ë¤Î¤ä¤ê¼è¤ê¤ò¤·¤è¤¦¤È¤·¤Æ¤¤¤ë...
&ref(/materials/notes.png); ¤Ç¤Ï¼¡¤Ë¡¤¼«Ê¬°¸¤Ë¥á¡¼¥ë¤ò½Ð...
¤ä¤êÊý¤Ï´Êñ¤Ç¡¤&color(blue){Ä̾ï¤Î¥æ¡¼¥¶¤Ë¤Ê¤Ã¤Æ¤«¤é};
mail -s "test" ¼«Ê¬¤Î¥æ¡¼¥¶Ì¾
¤È¤·¤Æ¡¤¤½¤ì¤«¤é²¿¤Ç¤â¤¤¤¤¤Î¤ÇÆþÎϤ¹¤ë(¤³¤ì¤¬¥á¡¼¥ë¤ÎËÜʸ...
¥á¡¼¥ë¤ÎËÜʸ¤ò¤¦¤Á½ª¤ï¤Ã¤¿¤é¡¤¡Ö¥Ô¥ê¥ª¥É°ì¤Ä¤Î¤ß¤«¤é¤Ê¤ë...
Î㤨¤Ð¡¤¥æ¡¼¥¶Ì¾¤¬ taro ¤Î¾ì¹ç¤Ï¼¡¤Î¤è¤¦¤Ê´¶¤¸¤À.
> >mail -s "test" taro
> This is a test mail.
> .
> EOT &color(blue){¢« ¾å¤Ç . ¤À¤±¤Î¹Ô¤òÆþÎϤ¹¤ë¤È¤³¤¦¤¤...
¤³¤¦¤·¤Æ¤«¤é¼«Ê¬¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î Maildir/new ¤È¤¤¤¦¥Ç¥£¥ì...
¤½¤ì¤¬º£Á÷¤Ã¤¿¥á¡¼¥ë¤Ê¤é¤Ð¡¤º£Á÷¤Ã¤¿¥á¡¼¥ë¤¬Ìµ»ö¤ËÆϤ¤¤¿...
Î㤨¤Ð¾å¤Î¥±¡¼¥¹¤À¤È°Ê²¼¤Î¤è¤¦¤Ê´¶¤¸¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ê¤Ã¤Æ¤¤...
> Return-Path: <taro@&color(blue){¥Û¥¹¥È̾};>
> X-Original-To: taro
> Delivered-To: taro@&color(blue){¥Û¥¹¥È̾};
> Received: by &color(blue){¥Û¥¹¥È̾}; (Postfix, from us...
> id 2F5B722865; Wed, 24 Nov 2010 21:07:14 +0900...
> To: taro@&color(blue){¥Û¥¹¥È̾};
> Subject: test
> Message-Id: <20101124120714.2F5B722865@&color(blue){¥Û...
> Date: Wed, 24 Nov 2010 21:07:14 +0900 (JST)
> From: taro@&color(blue){¥Û¥¹¥È̾}; (Taro Yamada)
> &br;
> This is a test mail.
¤³¤ì¤¬¤¦¤Þ¤¯¤¤¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð²¿¤«¤ª¤«¤·¤¤¤Î¤Ç¡¤¥¹¡¼¥Ñ¡¼¥æ...
&ref(/materials/notes.png); ¤µ¤Æ¼¡¤Ë¡¤¡Ö¸ºß¤·¤Ê¤¤¥æ¡¼¥¶...
¤³¤ì¤Ï¾å¤È¤Û¤ÜƱÍͤκî¶È¤Ç¡¤(Ç°¤Î°Ù¤ËÄ̾ï¥æ¡¼¥¶¤Ë¤Ê¤Ã¤Æ)
mail -s "test2" ¸ºß¤·¤Ê¤¤¥æ¡¼¥¶Ì¾
¤È¤·¤Æ¡¤¤¢¤È¤ÏŬÅö¤ËËÜʸÆþÎϸå¤Ë¡Ö¥Ô¥ê¥ª¥É°ì¤Ä¤Î¤ß¤«¤é¤Ê...
Î㤨¤Ð¡¤ usotaro ¤È¤¤¤¦¥æ¡¼¥¶¤¬µï¤Ê¤¤¤È¤·¤Æ¼¡¤Î¤è¤¦¤Ê´¶¤¸...
> >mail -s "test2" usotaro
> This is a test mail to nonexistent user.
> .
> EOT &color(blue){¢« ¾å¤Ç . ¤À¤±¤Î¹Ô¤òÆþÎϤ¹¤ë¤È¤³¤¦¤¤...
¤µ¤Æ¤³¤ì¤â¤Þ¤¿¼«Ê¬¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Î Maildir/new ¤È¤¤¤¦¥Ç¥£...
¶ñÂÎŪ¤Ë¤Ï¡¤¤³¤Î¾ì¹ç¤Ï¥á¡¼¥ëÃæ¤Ë
> This is the mail system at host &color(blue){¥Û¥¹¥È̾};
> &br;
> I'm sorry to have to inform you that your message coul...
> be delivered to one or more recipients. It's attached ...
> &br;
> For further assistance, please send mail to postmaster.
> &br;
> If you do so, please include this problem report. You ...
> delete your own text from the attached returned message.
> &br;
> The mail system
> &br;
> <usotaro@&color(blue){¥Û¥¹¥È̾};> (expanded from <usot...
> user: "usotaro"
¤È¤¤¤¦¤è¤¦¤Ë¡¤¤½¤ó¤Ê¥æ¡¼¥¶µï¤Ê¤¤¤è¡¤¤È¤¤¤¦¥á¥Ã¥»¡¼¥¸¤¬½ñ...
&br;
º£²ó¤ÎÀâÌÀ¤Ï¾¯¤·Ä¹¤¯¤Ê¤Ã¤¿¤Î¤Ç¡¤¤³¤Î¤¢¤¿¤ê¤Ç°ìöÄä¤á¤Æ¤ª...
* ¥ì¥Ý¡¼¥È [#n05e96d9]
¥á¡¼¥ëÁ÷¼õ¿®¤ÎºÝ¤Ë¡¤¡Ö°ÂÁ´À(°Å¹æ²½)¡×¡ÖSPAMÂкö¡×¤Ë¤Ä¤¤...
¤Þ¤¿¡¤ËÜÆü¹Ô¤Ã¤¿ºî¶È¤Ë¤Ä¤¤¤ÆÊó¹ð¤»¤è.
¤â¤Á¤í¤ó³Æ¼«¤Î
+ ½ê°(³ØÉô¡¤³Ø²Ê)
+ ³ØÀÒÈÖ¹æ
+ ³Øǯ
+ »á̾
+ Æü»þ
+ ´Î¿´¤Î¥ì¥Ý¡¼¥ÈÆâÍÆ(ÆÀ¤¿Ãθ«¡¤ºî¶È¤Ë¤Ä¤¤¤Æµ¤¤Å¤¤¤¿¤³¤ÈÅù)
¤ò½ñ¤¯¤Î¤ò˺¤ì¤Ê¤¤¤è¤¦¤Ë.
* about Icons, ClipArts [#sc53a626]
Some icons in this page are downloadable at [[ICONFINDER:...
The "note" icon &ref(/materials/notes.png); designed by [...
the "warning" icon &ref(/materials/warning.png); designed...
and the "triangle" icon &ref(/materials/JNorth_arrow-righ...
Some clip arts used in this page are downloadable at [[Op...
We deeply appreciate their superb works. With licence, th...
// ¨¬¨¨®¨¯¨°¨±¨²¨³¨´¨µ¨¶
// ¥³¥Þ¥ó¥É¥é¥¤¥óÆþÎϤϡֹÔƬ¤ò¥Ö¥é¥ó¥¯¤Ç»Ï¤á¤ë¡×.
// ¥³¥Þ¥ó¥É¥é¥¤¥ó½ÐÎϤϡֹÔƬ¤ò > ¤Ç»Ï¤á¤ë¡×.
// ¼Â½¬¥¢¥¤¥³¥ó
// &ref(/materials/notes.png);
// Ãí°Õ¥¢¥¤¥³¥ó
// &ref(/materials/warning.png);
// Link ¥¢¥¤¥³¥ó
// &ref(/materials/JNorth_arrow-right-sm.png);
// OK ¥¢¥¤¥³¥ó
// &ref(/materials/OK.png);
// NG ¥¢¥¤¥³¥ó
// &ref(/materials/NG.png);
// Âçʸ»ú¤Ç¤Î¶¯Ä´
// CENTER:&size(24){''¤Û¤²¤Û¤²''};
// programu source ɽµ
// #highlighter(language=ruby,number=on,cache=on){{}}
¥Ú¡¼¥¸Ì¾: