Å¥¸ÞÀÏ°ú »î Life with qmail (ÁÙ¿©¼­: lwq) Dave Sill 16 November 1999 À±ÁÖ¿µ YOON, Joo-Yung 20 March 2000 Áö±Ý±îÁö MTA·Î´Â sendmailÀÌ °ÅÀÇ µ¶º¸À§Ä¡ÀÌ°í, »ç½Ç»óÀÇ Ç¥ÁØÀÔ´Ï´Ù¸¸, µ¢Ä¡°¡ ¸Å¿ì Å©°í, ´ÜÀÏÇÁ·Î±×·¥À̸ç, ¼³Ä¡, ¼³Á¤ÀÌ ¾î·Æ½À´Ï´Ù. Å¥¸ÞÀÏÀº ¸ðµâ±¸¼º¹æ½ÄÀÌ°í, ¼³Ä¡¿Í ¼³Á¤ÀÌ ½¬¿ì¸ç, ƯÈ÷ º¸¾È¿¡ ¸¹Àº °­Á¡À» Áö´Ï°í ÀÖ½À´Ï´Ù. Å¥¸ÞÀÏ°ú »îÀº ¿øÁ¦°¡ Life with qmailÀÌ°í, À̸ÞÀÏ MTAÁß ÇϳªÀÎ qmailÀ» ¼³Ä¡ÇÏ°í ¿î¿µÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÕ´Ï´Ù. Å¥¸ÞÀÏ¿¡´Â ¿©·¯ »ç¶÷ÀÌ °øÇåÇÑ ¸ðµâÀÌ ¸Å¿ì ¸¹Áö¸¸, ²À ÇÊ¿äÇÑ ÇÁ·Î±×·¥µé¸¸ ¼³¸íÇϹǷΠť¸ÞÀÏÀ» ½ÃÀÛÇÏ´Â ºÐµé²²´Â ÆíÇÏ°í ½¬¿î ¾È³»¼­ÀÔ´Ï´Ù. ______________________________________________________________________ ¸ñÂ÷ 1. ¼Ò°³ 1.1 ´ë»óµ¶ÀÚ 1.2 Å¥¸ÞÀÏÀ̶õ? 1.3 qmailÀÇ ÀåÁ¡? 1.3.1 ¾ÈÀü¼º 1.3.2 ¼º´É 1.3.3 ½Å·Ú¼º 1.3.4 °£Æí¼º 1.4 °æ·Â 1.5 Ư¡ 1.5.1 ¼³Ä¡ 1.5.2 ¾ÈÀü 1.5.3 ¸Þ¼¼Áö±¸Á¶ 1.5.4 SMTP ¼­ºñ½º 1.5.5 Å¥°ü¸® 1.5.6 µÇµ¹¸®±â (Bounces) 1.5.7 µµ¸ÞÀÎÀ¸·Î ¶ó¿ìÆÃÇϱâ 1.5.8 SMTP Àü´Þ 1.5.9 Æ÷¿öµù°ú ¸á¸µ¸®½ºÆ® 1.5.10 ·ÎÄÃÀü´Þ 1.5.11 POP3 ¼­ºñ½º 1.6 °ü·Ã ÆÑÅ°Áö 1.7 ±¸¼º 1.8 ¸éÇã 1.9 ¿©Å¸ MTA¿Í ºñ±³ 1.10 ¹®¼­ 1.10.1 man page 1.10.2 Docs 1.10.3 FAQ 1.10.4 Ã¥ 1.10.5 ¸á¸µ¸®½ºÆ® °í¹®¼­ 1.10.6 ±âŸ À¥»çÀÌÆ® 1.11 Áö¿ø 1.11.1 ¸á¸µ¸®½ºÆ® 1.11.1.1 Å¥¸ÞÀÏ 1.11.1.2 qmailannounce 1.11.1.3 serialmail 1.11.1.4 ezmlm 1.11.2 »ó´ã¿ª 1.12 Y2K 2. ¼³Ä¡ 2.1 ¼³Ä¡ ³íÀÇ 2.1.1 ¹ÙÀ̳ʸ® ´ë ¼Ò½ºÄÚµå 2.1.2 Tarball°ú ¿î¿µÃ¼Á¦º° ÆäÅ°Áö 2.2 Áغñ 2.3 ½Ã½ºÅÛ ÇÊ¿ä»çÇ× 2.4 ¼Ò½º¸¦ ¹ÞÀ¸½Ê½Ã¿À. 2.5 ¼Ò½º¸¦ ÄÄÆÄÀÏÇϼ¼¿ä. 2.5.1 ÄÄÆÄÀÏȯ°æÀ» °ËÁõÇϼ¼¿ä. 2.5.2 ¹èÆ÷ÆÇÀ» DZ´Ï´Ù. 2.5.3 µð·ºÅ丮¸¦ ¸¸µì´Ï´Ù. 2.5.4 »ç¿ëÀÚ¿Í ±×·ìÀ» ¸¸µì´Ï´Ù. 2.5.5 ÄÄÆÄÀÏÀ» Çϼ¼¿ä. 2.6 ucspi-tcp¸¦ ¼³Ä¡ÇÕ´Ï´Ù. 2.7 daemontools¸¦ ¼³Ä¡ÇÕ´Ï´Ù. 2.8 Å¥¸ÞÀÏÀ» °¡µ¿ÇÕ´Ï´Ù. 2.8.1 /var/qmail/rc 2.8.2 ½Ã½ºÅÛ ±âµ¿ ÆÄÀÏ 2.8.3 ±âÁ¸¿¡ ¼³Ä¡µÈ MTA¸¦ ¸ØÃß°í ¹«·ÂÇÏ°Ô ÇÕ´Ï´Ù. 2.8.4 ½Ã½ºÅÛ¾Ù¸®¾î½º¸¦ ¸¸µì´Ï´Ù. 2.8.5 Å¥¸ÞÀÏÀ» °¡µ¿ÇÕ´Ï´Ù. 2.9 ¼³Ä¡¸¦ ½ÃÇèÇÕ´Ï´Ù. 3. ¼³Á¤ 3.1 ¼³Á¤ÆÄÀÏ 3.2 ¸±·¹ÀÌ 3.2.1 ¼Ò°³¼­ 3.2.2 ¸±·¹ÀÌ ±ÝÁö 3.2.3 ¸±·¹À̼±ÅÃÀ» Çã¿ëÇϱâ 3.3 ´ÙÁß È£½ºÆ®³×ÀÓ 3.4 ¹öÃò¾óµµ¸ÞÀÎ 3.5 ¾Ù¸®¾î½º 3.6 qmail-users 3.6.1 °£´ÜÇÑ ÇÒ´ç 3.6.2 ¿ÍÀϵåÄ«µå ÇÒ´ç 3.6.3 qmail-user ÇÁ·Î±×·¥µé 4. »ç¿ë¹ý 4.1 .qmailÆÄÀÏ 4.1.1 ÇÁ·Î±×·¥Àü´Þ 4.1.2 mbox Àü´Þ 4.1.3 maildir Àü´Þ 4.1.4 Æ÷¿öµå Àü´Þ 4.1.5 ¿¬ÀåÁÖ¼Ò 4.2 ¸Þ¼¼Áö º¸³»±â 4.2.1 SMTP 4.2.2 /var/qmail/bin/sendmail 4.2.3 qmail-inject 4.3 ȯ°æº¯¼ö 5. °í±ÞÅäÇÈ 5.1 procmail 5.2 POP ±×¸®°í IMAP ¼­¹ö 5.2.1 qmail-pop3d 5.2.1.1 qmail-pop3dÀÇ ±¸Á¶ 5.2.1.2 qmail-pop3dÀÇ ¼³Ä¡ 5.2.2 qpopper 5.2.3 Cyrus 5.2.4 imap-maildir 5.3 POP¿Í IMAP Ŭ¶óÀ̾ðÆ® 5.3.1 fetchmail 5.4 ´ÙÁß RCPT ´ë ´ÜÀÏ RCPT Àü´Þ 5.5 VERP 5.6 ¹®Á¦ÇØ°á 5.6.1 °úÁ¤ 5.6.2 ·Î±× 5.6.2.1 splogger 5.6.2.2 cyclog 5.6.2.3 ·Ï¸Þ¼¼Áö 5.7 ´ëÇü ¼­¹ö 5.7.1 Scalable parallelism 5.8 Sendmail¿¡¼­ Å¥¸ÞÀÏ·Î ¿Å±â±â 5.9 ¸á¸µ¸®½ºÆ®¸Å´ÏÀú (Mailing List Managers: MLM's) 5.9.1 ezmlm 5.9.2 ¸ÞÀÌÀúµµ¸ð 5.10 ÆÐÄ¡ 5.10.1 DNS 5.10.1.1 ÆÐŶ¹öÆÛ»çÀÌÁ 65536±îÁö ¹Ð¾î¿Ã¸®±â 5.10.1.2 Christopher K. DavisÀÇ ÆÐÄ¡ (AURL CDATA http://www.ckdhr.com/ckd/qmail-103.patchANAME CDATA (URL)URL) 5.10.2 qmail-ldap 5.11 QMTP (Quick Mail Transfer Protocol) 6. ºÎ·Ï 6.1 »ç·Ê 6.2 °ü·Ã ÆÐÅ°Áö 6.2.1 dot-forward 6.2.2 fastforward 6.2.3 ucspi-tcp 6.2.4 daemontools 6.2.5 qmailanalog 6.2.6 rblsmtpd 6.2.7 AID CDATA serial(LABEL)LABEL serialmail 6.2.8 mess822 6.2.9 ezmlm 6.2.10 safecat 6.2.11 maildrop 6.3 ÀÎÅͳݸáÀÇ µ¿ÀÛ¹æ¹ý 6.3.1 ¸Þ¼¼Áö°¡ AÁöÁ¡¿¡¼­ BÁöÁ¡À¸·Î °¡´Â ¹æ¹ý 6.3.2 ´õ¸¹ÀºÁ¤º¸ 6.3.2.1 ÀÎÅÍ³Ý RFCµé 6.4 ±¸Á¶ AID CDATA architecture(LABEL)LABEL 6.4.1 ¸ðµâ½Ã½ºÅÛ±¸Á¶ 6.4.2 ÆÄÀϱ¸Á¶ 6.4.3 Å¥±¸Á¶ 6.4.4 »çÁø 6.5 ¾î¼´Ù Çѹø¾¿ ¹¯´Â Áú¹®µé AID CDATA iFAQ(LABEL)LABEL 6.5.1 Å¥¸ÞÀÏÀº Áö¿¬¸Þ¼¼Áö¸¦ ¾î´À Á¤µµ ÀÚÁÖ º¸³À´Ï±î? 6.5.2 Àú´Â MX°¡ ¸¹Àº ´ëÇü»çÀÌÆ®¿¡ ¸ÅÀÏÀ» º¸³»Áö ¸øÇϴµ¥ ¿Ö±×·¸ÁÒ? 6.5.3 QUEUE_EXTRA? 6.6 ¿¡·¯¸Þ¼¼Áö 6.7 ÀÇ¿ÜÀÇ ½Ç¼ö 6.7.1 Å¥¸ÞÀÏÀº ¼öÆÛÀ¯Àú¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. 6.7.2 Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮°¡ ¾ø´Â »ç¿ëÀÚ¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. 6.7.3 Å¥¸ÞÀÏÀº »ç¿ëÀÚÀ̸§¿¡ ´ë¹®ÀÚ¸¦ ¾²´Â »ç¿ëÀÚ¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. 6.7.4 Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮¿¡ ±×·ìÀ̳ª ±âŸ»ç¿ëÀÚ¿¡°Ô ¾²±â¸¦ Çã¶ôÇÏ´Â »ç¿ëÀÚ¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. 6.7.5 Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ Á¡(.)À» ÄÝ·Ð(:)À¸·Î ¹Ù²ß´Ï´Ù. 6.7.6 Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ ´ë¹®ÀÚ¸¦ ¼Ò¹®ÀÚ·Î ¹Ù²ß´Ï´Ù. 6.7.7 Å¥¸ÞÀÏÀº /etc/hosts¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù. 6.7.8 Å¥¸ÞÀÏÀº SMTPÈ°µ¿À» ·ÏÇÏÁö ¾Ê½À´Ï´Ù. 6.7.9 Å¥¸ÞÀÏÀº Áö¿¬ÅëÁö¸¦ ¸¸µéÁö ¾Ê½À´Ï´Ù. 6.7.10 Å¥¸ÞÀÏÀº /var/qmail/queue/lock/trigger°¡ Ʋ¸°Á¢±Ù±ÇÇÑÀ̰ųª º¸ÅëÆÄÀÏÀÌ¸é ´Ê¾îÁý´Ï´Ù. 6.8 lwq¿¡ ´ëÇÑ FAQ 6.8.1 lwqÀÇ ¼ÒÀ¯ÀÚ´Â? 6.8.2 lwqÀÇ ¶óÀ̼¾½º´Â? 6.8.3 lwqÀÇ »õÆÇÀ» ±¸ÇÒ ¼ö ÀÖ´Ù´Â °ÍÀº ¾î¶»°Ô ÅëÁö¹ÞÀ» ¼ö ÀÖ½À´Ï±î? 6.8.4 lwq°øÇåÀÚ¿Í ÆÒÀº ¾îµð¼­ À̾߱âÇÒ ¼ö ÀÖ½À´Ï±î? 6.8.5 lwq´Â ´Ù¸¥ ¾ð¾î·Î ¹ø¿ªµÇ¾ú½À´Ï±î? 6.8.6 lwq´Â HTMLÀÌ¿Ü¿¡ Æ÷½ºÆ®½ºÅ©¸³Æ®, PDF, Æò¹üÇѱÛ, ¶Ç´Â ´Ù¸¥ÇüÅ·εµ ±¸ÇÒ ¼ö ÀÖ½À´Ï±î? 6.8.7 lwq¸¦ »ç¿ëÇß´õ´Ï, ½Ã½ºÅÛÆı«, Çϵåµð½ºÅ©»èÁ¦, ¹é¹ßÀ» Çß½À´Ï´Ù. ______________________________________________________________________ 1. ¼Ò°³ 1.1. ´ë»óµ¶ÀÚ ¡¸Å¥¸ÞÀÏ°ú »î¡¹ (Life with qmail, ÀÌÇÏ lwq¶ó°í ÁÙ¿©¼­ ºÎ¸§)Àº ¿©À¯PC¿¡ Linux¸¦ ÀÌÁ¦¸· ¼³Ä¡ÇÑ ÀÏ¹Ý ¾Æ¸¶Ãß¾î (½ÅÂüÀÚ)ºÎÅÍ °æÇè ¸¹Àº ½Ã½ºÅÛ °ü¸®ÀÚ ¶Ç´Â ¸ÞÀÏ ¼­¹ö °ü¸®ÀÚ¿¡ À̸£±â±îÁö Å¥¸ÞÀÏÀ» ¿î¿µÇÏ°íÀÚ ÇÏ´Â ´©±¸µçÁö ±× ´ë»óÀÔ´Ï´Ù. Å¥¸ÞÀÏ¿¡ ´ëÇÑ Ç³ºÎÇÑ Á¤º¸°¡ ´Ù¾çÇÑ ¼Ò½º¿¡ ÀÖ½À´Ï´Ù. ¾î¶²°ÍÀº ½ÅÂüÀÚµéÀ» ´ë»óÀ¸·Î ÇÏ°í, ¾î¶°°ÍÀº µ¶ÀÚ°¡ °æÇèÀÖ´Ù°í ¿©±é´Ï´Ù. lwq´Â Æ´»õµéÁ» ¸Þ¿ì°í, µ¶ÀÚ°¡ ´ÙÀ½ÀÇ ±â¼úµé¸¸ ÀÖ´Ù°í ¿©±â´Â ¹æ¹ýÀ¸·Î ÀÌ·¯ÇÑ Á¤º¸¸¦ ºÙ¿©¼­ ´ÜÀϼҽº·Î ¸¸µé°íÀÚ ÇÕ´Ï´Ù. o À¯´Ð½º¿¡¼­ ÆÄÀÏ°ú µð·ºÅ丮¸¦ ´Ù·ç±â o À¥ºê¶ó¿ìÀú³ª FTP Ŭ¶óÀ̾ðÆ®¸¦ ¿òÁ÷À̱â o Áö½Ã¸¦ µû¸£±â 1.2. Å¥¸ÞÀÏÀ̶õ? Å¥¸ÞÀÏÀº À¯´Ð½º·ù ¿î¿µÃ¼Á¦ÀÇ ÀÎÅÍ³Ý Mail Transfer Agent (MTA)ÀÔ´Ï´Ù. ´ëºÎºÐÀÇ UNIX¿î¿µÃ¼Á¦°¡ Á¦°øÇÏ°í ÀÖ´Â Sendmail½Ã½ºÅÛÀ» ´ëüÇÕ´Ï´Ù. Simple Mail Transfer Protocol (SMTP)À» ÀÌ¿ëÇؼ­ ´Ù¸¥ ½Ã½ºÅÛÀÇ MTA¿Í ¸Þ¼¼Áö¸¦ ±³È¯ÇÕ´Ï´Ù. -------------------------------------------------------------- À¯ÀÇÁ¡: ¹Ù¸¥À̸§Àº QmailÀÌ ¾Æ´Ï°í qmailÀÔ´Ï´Ù. -------------------------------------------------------------- 1.3. qmailÀÇ ÀåÁ¡? ´ç½ÅÀÇ ¿î¿µÃ¼Á¦µµ SendmailÀ̶ó´Â MTA¸¦ Á¦°øÇÏ°í ÀÖÀ¸¸®¶ó°í ¿©±â¹Ç·Î, ´ç½ÅÀÌ À̹®¼­¸¦ ÀÐ°í °è½Å´Ù¸é, ´ç½ÅÀº ¾Æ¸¶ ´õ ÁÁÀº °ÍÀ» ã°í ÀÖ´Ù°í »ý°¢ÇÕ´Ï´Ù. Å¥¸ÞÀÏÀÌ ´Ù¸¥ vendor°¡ Á¦°øÇÏ´Â MTAº¸´Ù ´õ ÁÁÀº ÀÌÀ¯´Â ´ÙÀ½°ú °°½À´Ï´Ù. 1.3.1. ¾ÈÀü¼º ¾ÈÀü¼ºÀÌ ³ôµµ·Ï ¼³°èµÇ¾ú½À´Ï´Ù. SendmailÀÇ ¾ÈÀü¼ºÀº ¿À·§µ¿¾È ½É°¢ÇÑ ¹®Á¦¿´½À´Ï´Ù. SendmailÀÌ Ã³À½ ¸¸µé¾îÁ³À»¶§´Â Net°è°¡ ÈξÀ ´õ ¿ìÈ£ÀÖ¾ú½À´Ï´Ù. ´©±¸³ª ¼­·Î ¾Ë¾Ò°í, ¾ÈÀü¼ºÀ» Á¦°íÇÏ·Á°í ¼³°èÇϰųª ÄÚµùÇÒ ÇÊ¿ä°¡ ¾ø¾ú½À´Ï´Ù. ¿À´Ã³¯ ÀÎÅͳÝÀº ³Ý¿÷¼­¹ö¿¡°Ô´Â ³Ê¹«³ª ÀûµéÀÌ ¸¹Àº ȯ°æÀÔ´Ï´Ù. SendmailÀ» ¸¸µç Eric Allman²²¼­µµ ¸¹Àº º¸¾ÈÀ» ÇϼÌÁö¸¸, ÁøÂ¥·Î ¾ÈÀüÇÏ°Ô ¸¸µé·Á¸é ´Ù½Ã ¼³°èÇÏ´Â ¼ö ¹Û¿¡ ¾ø¾ú½À´Ï´Ù. 1.3.2. ¼º´É ¸áº¸³»±â¸¦ º´Çàó¸®ÇÕ´Ï´Ù. (20°³°¡ defaultÀÔ´Ï´Ù.) 1.3.3. ½Å·Ú¼º Çѹø ¹ÞÀº ¸Þ¼¼Áö´Â °áÄÚ ³õÄ¡Áö ¾Ê½À´Ï´Ù. »õ ¸áº¹½ºÇüŵµ Á¦°øÇϴµ¥, NFS¿¡¼­ lockingÇÏÁö ¾Ê°íµµ Àß ÀÛµ¿ÇÕ´Ï´Ù. 1.3.4. °£Æí¼º ´Ù¸¥ µ¿±ÞÀÇ MTAº¸´Ù ÀÛ½À´Ï´Ù. ------------------------------------------------------------------------------------ À¯ÀÇÁ¡: °ø½Ä ȨÆäÁöÀÎ ¿¡ ÀåÁ¡À» ´õ ³Ð°Ô ¿Ã·Á³õ¾Ò½À´Ï´Ù. ------------------------------------------------------------------------------------ 1.4. °æ·Â Å¥¸ÞÀÏÀº Áö±Ý ½ÃÄ«°íÀÇ Àϸ®³ëÀÕ´ëÇп¡ ¼öÇб³¼ö·Î °è½Ã´Â Dan Bernstein (DJB)²²¼­ ¸¸µå¼Ì½À´Ï´Ù (ȨÆäÁö: ). ¹ø½ºÅ¸Àιڻ粲¼­´Â ¾ÏÈ£ºÐ¾ß¿¡¼­ÀÇ ¾÷Àû°ú, ¹Ì±¹Á¤ºÎ¸¦ »ó´ë·Î ¾Ïȣȭ¼Ò½ºÄÚµå°ø°³¿¡ ´ëÇÑ ¼Ò¼ÛÀ¸·Îµµ Àß ¾Ë·ÁÁö¼Ì½À´Ï´Ù. ¼Ò¼Û¿¡ ´ëÇؼ­´Â ¸¦ ÂüÁ¶ÇϽʽÿÀ. Å¥¸ÞÀÏÀÇ ½ÃÃÊ°ø°³ÆÇÀº 1996³â 1¿ù 24ÀÏ¿¡ ³ª¿Â 0.70 º£Å¸ÆÇÀÔ´Ï´Ù. ½ÃÃÊ°¡¸¶ÆÇÀº 1996³â 8¿ù 1ÀÏÀÇ 0.90ÀÔ´Ï´Ù. ÀϹÝÆÇÀ¸·Î óÀ½ óÀ½³ª¿Â°ÍÀº 1997³â 2¿ù 20ÀÏÀÇ 1.0ÀÔ´Ï´Ù. Áö±ÝÀÇ ¹öÀüÀÎ 1.03Àº 1998³â 6¿ù 15ÀÏ¿¡ ³ª¿Ô½À´Ï´Ù. 1.5. Ư¡ Å¥¸ÞÀÏȨÆäÁö ¿¡ Å¥¸ÞÀÏƯ¡À» Á¾ÇÕÇسõ¾Ò½À´Ï´Ù. À̹ø ´Ü¶ôÀº ±×°ÍÀ» ¸¹ÀÌ Âü°íÇÕ´Ï´Ù. 1.5.1. ¼³Ä¡ o ´ç½ÅÀÇ À¯´Ð½º±âÁ¾¿¡ ÀÚµ¿ÀûÀÀÇϹǷΠÀÌ½Ä (porting)ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. o È£½ºÆ®º° ÀÚµ¿¼³Á¤ o ºü¸£°Ô ¼³Ä¡µÇ¹Ç·Î °áÁ¤ÇÒ »çÇ×ÀÌ ¸¹Áö ¾Ê½À´Ï´Ù. 1.5.2. ¾ÈÀü o ÁÖ¼Ò, ÆÄÀÏ, ÇÁ·Î±×·¥ µîÀ» ¼­·Î ±ú²ýÇÏ°Ô ¶¼¾î³õ¾Ò½À´Ï´Ù. o setuid Äڵ带 ÃÖ¼ÒÈ­Çß½À´Ï´Ù. o ·í(root) Äڵ带 ÃÖ¼ÒÈ­Çß½À´Ï´Ù. o Five-way trust partitioning--½Éµµ ÀÖ´Â ¾ÈÀü o one-way ¸Þ¼¼Áö ´ÜÆíµé, ¶Ç´Â ¸Þ¼¼Áö³»¿ëÀüü µîÀ» °ñ¶ó¼­ ÇÒ ¼ö ÀÖ½À´Ï´Ù. (``µå¹®Áú¹®ºÎ·Ï''¿¡ ÀÖ´Â QUEUE_EXTRA´Â ¹«¾ùÀΰ¡?¸¦ º¸½Ê½Ã¿À.) 1.5.3. ¸Þ¼¼Áö±¸Á¶ o RFC 822°ú RFC 1123À» µû¸¨´Ï´Ù. o address groupÀ» ÀüºÎ Áö¿øÇÕ´Ï´Ù. o ±¸½Ä ÁÖ¼Ò¸®½ºÆ®¸¦ RFC 822 Çü½ÄÀ¸·Î ÀÚµ¿º¯È¯ÇÕ´Ï´Ù. o Áö±ÝÀÇ sendmail user agent¿Í ȣȯÇϱâ À§Çؼ­ sendmail ¸í·ÉÀ» Áö¿øÇÕ´Ï´Ù. o headerÁÙ±æÀÌÀÇ ÇÑ°è´Â ¸Þ¸ð¸®°¡ Çã¿ëÇÏ´Â µ¥±îÁöÀÔ´Ï´Ù. o host masquerading (defaulthost¸¦ º¸½Ê½Ã¿À.) o user masquerading (MAILUSER¿Í MAILHOST¸¦ º¸½Ê½Ã¿À.) o Mail-Followup-To¸¦ ÀÚµ¿»ý¼ºÇÕ´Ï´Ù. (QMAILMFTFILEÀ» º¸½Ê½Ã¿À.) 1.5.4. SMTP ¼­ºñ½º o RFC 821, RFC 1123, RFC 1651, RFC 1652, RFC 1854 µîÀÇ Áؼö o 8-bitµµ Àå¾Ö¹« o RFC 931/1413/ident/TAP callbakµîÀ¸·Î ½ºÆÔ¸á°ú À§Á¶ÀÚ µîÀÇ ÃßÀû¹æÁ¶ o relay ÅëÁ¦±â´ÉÀ¸·Î ¿ÜºÎÀÇ ±ÇÇÑÀÌ ¾ø´Â Áß°èÀúÁö o relay ÅëÁ¦¿Í alias°£ÀÇ ºÒ°£¼· o local IPÁÖ¼Ò ÀÚµ¿ÀÎ½Ä o ¹öÆÛº° timeout o hop counting o º´·Äó¸® Çѵµ (ucspi-tcp¸¦ ÀÌ¿ë) o (ucspi-tcp¸¦ ÀÌ¿ëÇؼ­) ¾Ç¿ëÀÚµé·ÎºÎÅÍÀÇ Á¢¼Ó°ÅºÎ o ±ÇÇÑÀÎÁ¤µÈ client¿¡ ´ëÇÑ Áß°è¿Í ¸Þ¼¼Áö ÀçÀÛ¼º o (rblsmtpd¸¦ ÅëÇÑ) RBL/ORBSÁö¿ø ¼±Åà 1.5.5. Å¥°ü¸® o Å¥¿¡ ´õÇØÁø ¸Þ¼¼ÁöÀÇ Áﰢó¸® o º´·Äó¸®ÇÑ°è o Å¥µð·ºÅ丮ÀÇ ºÐ¿­·Î ºñ´ëÇÑ Å¥ÀÇ ¼ÓµµÀúÇÏ ¹æÁö o 2Â÷¹æÁ¤½Ä¿¡ ÀÇÇÑ Àç½Ãµµ ½ºÄÉÁì·Î ¿À·¡µÈ ¸Þ¼¼ÁöÀÇ Ã³¸®È¸¼ö ÀúÇÏ (``µå¹®Áú¹®ºÎ·Ï''¸¦ º¸¼¼¿ä) o ¸Þ¼¼Áö Àç½ÃµµÀÇ µ¶¸³ ½ºÄÉÁì o ÀÚµ¿ ¾ÈÀü Å¥Çϱâ·Î ½Ã½ºÅÛÀÌ ¹«³ÊÁ®µµ ¸áÀ» ÀÒÁö ¾ÊÀ½ o ¼ö½ÅÀÚº° ÀÚµ¿ ýÆ÷ÀÎÆ®Çϱâ o ÀÚµ¿ ťû¼Ò o Å¥º¸±â (qmail-qread¸¦ º¸¼¼¿ä) o (qmailanalog¸¦ ÀÌ¿ëÇÑ) ÀÚ¼¼ÇÑ Àü´ÞÅë°è 1.5.6. µÇµ¹¸®±â (Bounces) o ±â°è¿Í »ç¶÷ÀÌ ÀÐÀ» ¼ö ÀÖ´Â QSBMF µÇµ¹¸² ¸Þ¼¼Áö o ¾ð¾î¿¡ »ó°ü¾ø´Â RFC 1893 ¿¡·¯ÄÚµåÀÎ HCMSSC Áö¿ø o ÀÌÁß µÇµ¹¸²À¸·Î postmaster¿¡°Ôµµ º¸³¿ 1.5.7. µµ¸ÞÀÎÀ¸·Î ¶ó¿ìÆÃÇϱâ o ·ÎÄÃÈ£½ºÆ®¿¡ ´ëÇؼ­´Â ¿©·¯ À̸§ÀÌ °¡´ÉÇÔ (·ÎÄÃÀ» ÂüÁ¶Çϼ¼¿ä.) o ¿©·¯ ¹öÃ߾󵵸ÞÀÎ (¹öÃ߾󵵸ÞÀÎÀ» º¸¼¼¿ä.) o µµ¸ÞÀÎ ¿ÍÀϵåÄ«µå (¹öÃ߾󵵸ÞÀÎÀ» º¸¼¼¿ä.) o ¼³Á¤°¡´ÉÇÑ "percent hack" Áö¿ø (percenthackÀ» º¸¼¼¿ä.) o UUCP hook 1.5.8. SMTP Àü´Þ o RFC 821, RFC 974, RFC 1123À» µû¸§ o 8ºøÀ» ó¸® o ´Ù¿îµÈ È£½ºÆ®¸¦ ÀÚµ¿ backoff o smarthost, localnet, mailertableµîÀÇ ÀΰøÁö´É ¶ó¿ìÆà (smtproutes¸¦ º¸¼¼¿ä.) o ¹öÆÛº° ŸÀӾƿô o SLIP/PPP¿¡ °¡Àå ¾Ë¸ÂÀº (serialmailÀ» ÅëÇÑ) ¼öµ¿ SMTP Å¥ o (serialmailÀ» ÅëÇÑ) autoTURN 1.5.9. Æ÷¿öµù°ú ¸á¸µ¸®½ºÆ® o sendmalÀÇ .forward¸¦ (dot-forward¸¦ ÀÌ¿ëÇؼ­) µû¸§ o (fastforward¸¦ ÅëÇÑ) hashed forwarding µ¥ÀÌÅͺ£À̽º o sendmailÀÇ /etc/aliases¸¦ (fastforward¸¦ ÀÌ¿ëÇؼ­) µû¸§ o ¾îµå·¹½º ¿ÍÀϵåÄ«µå (.qmail-default¸¦ º¸¼¼¿ä.) o ¹Ù¿î½º¿Í ÈÞ°¡¸Þ¼¼Áö¸¦ ÀÚµ¿ÀüȯÇÏ´Â ¸á¸µ¸®½ºÆ®¼ÒÀ¯ÀÚ o ¸á¸µ¸®½ºÆ®¹Ù¿î½º¸¦ À§ÇÑ ÀÚµ¿ ¼ö½ÅÀÚ ÀνÄÀÎ VERP o Delivered-ToÀÇ ·ìÀ» ÀÚµ¿Â÷´ÜÀ» È£½ºÆ®°£¿¡µµ Áö¿ø 1.5.10. ·ÎÄÃÀü´Þ o ¾îµå·¹½º°èÃþÀ» »ç¿ëÀÚ°¡ ÅëÁ¦ÇϹǷΠfred´Â fred-anything mbox Àü´ÞÀ» ÅëÁ¦ÇÔ o ¹ÏÀ»¼öÀÖ´Â NFS Àü´Þ (maildir¸¦ º¸¼¼¿ä.) o procmail µî »ç¿ëÀÚ°¡ ÅëÁ¦ÇÏ´Â ÇÁ·Î±×·¥ Àü´Þ (qmail-command¸¦ º¸¼¼¿ä) o »õ¸áÅëÁö ¼±Åà (qbiff¸¦ º¸¼¼¿ä) o NRUDT ¹Ý¼Û ÁõÇ¥ÀÇ ¼±Åà (qreceipt¸¦ º¸¼¼¿ä.) o Á¶°Ç ÇÊÅ͸µ (condredirect¿Í bouncesayingÀ» º¸¼¼¿ä.) 1.5.11. POP3 ¼­ºñ½º o RFC 1939¸¦ µû¸§ o UIDL Áö¿ø o TOP Áö¿ø o APOP hook o (checkpassword¸¦ ÀÌ¿ëÇؼ­) Æнº¿öµå°Ë»çÀÇ ¸ðµâÈ­ 1.6. °ü·Ã ÆÑÅ°Áö Å¥¸ÞÀÏ¿¡¼­ ÇÑ ÅøÀº ´ÜÀÏÀÇ Àß Á¤ÀÇµÈ ÇÔ¼ö·Î ÀÛµ¿ÇÏ°í, º¹ÇÕÇÔ¼ö´Â ¿©·¯ °£´ÜÇÑ ÅøµéÀ» ÆÄÀÔ¶óÀÎÀ¸·Î ¿¬°áÇÏ¿© ¸¸µé¾î¾ß ÇÑ´Ù´Â À¯´Ð½ºÀÇ ÀüÅëöÇÐÀ» µû¸¨´Ï´Ù. ´Ù¸¥ ¹æ¹ýÀ¸·Î´Â ´õ¿í´õ º¹ÇÕµÈ ÅøµéÀ» ¸¸µé¾î¼­ °£´ÜÇÑ ÅøµéÀÇ ¸¹Àº ±â´ÉÀ» À籸¼ºÇÏ´Â °ÍÀÔ´Ï´Ù. ±×·¸´Ù¸é, ¿©·¯ºÐÀº Å¥¸ÞÀÏ Çϳª·Î ¸ðµç°ÍÀ» ´ÙÇϱ⸦ ¹Ù¶öÁöµµ ¸ð¸£°ÚÁö¸¸, Å¥¸ÞÀÏÀÌ ¸ðµç °ÍÀ» È¥ÀÚÇÏÁö ¾Ê´Â´Ù´Â °ÍÀº ³î¶ó¿î ÀÏÀÌ ¾Æ´Õ´Ï´Ù. ÀÌÁ¦, Å¥¸ÞÀÏÀ» À§ÇØ ¸¸µç °¡Àå ÀαâÀÖ´Â add-onµéÁß ¸î°³°¡ ¿©±â¿¡ ÀÖ½À´Ï´Ù. o dot-forward: sendmailÀÇ .forward ÆÄÀÏ È£È¯ ¾Ü¿Â o fastforward: sendmailÀÇ alias µ¥ÀÌÅͺ£À̽º ȣȯ ¾Ü¿Â o ucspi-tcp : inetd ´ëü o daemontools: µ¥¸ó°ú ±× ·Î±×¸¦ °ü¸®ÇÏ´Â ÅøÁýÇÕ o qmailanalog: Å¥¸ÞÀÏ ·Î±×ÆÄÀÏ ºÐ¼®ÅøÁýÇÕ o rblsmtpd : anti-spam Åø o serialmail : Àú¼Ó³Ý¿÷»óÀÇ mailingÀ» À§ÇÑ Åø o mess822 : ÀÎÅͳݸá¸Þ¼¼ÁöÀÇ Çؼ®±â Åø o ezmlm : Å¥¸ÞÀÏÀ» À§ÇÑ ¸á¸µ¸®½ºÆ® °ü¸®ÀÚ 1.7. ±¸¼º ``±¸Á¶ºÎ·Ï''¿¡ Å¥¸ÞÀÏÀÇ ±â´É±¸Á¶¿Í ½ÇÁ¦±¸Á¶¸¦ ´Ù·ç¾ú½À´Ï´Ù. ÇѸ¶µð·Î, Å¥¸ÞÀÏÀº ¼­·Î´Ù¸¥ ÀÏÀ» ÇÏ´Â ÇÁ·Î±×·¥(¸ðµâ)µé·Î À̾îÁ® ÀÖ½À´Ï´Ù. 1.8. ¸éÇã Å¥¸ÞÀÏÀÇ º¹»ç±Ç¸®´Â ÀúÀÚÀÎ Dan Bernstein¿¡ ÀÖ°í, »ç¿ëÀڱǸ®Áø¼ú·Î ¹èÆ÷ÇÏÁö ¾Ê½À´Ï´Ù. ¿¡ º¸½Ã¸é, ¹Ì±¹ º¹»ç±Ç¸®¹ý¿¡¼­ ´ç½ÅÀÇ ±Ç¸®¶ó°í ÀúÀÚ°¡ »ý°¢Çϴ°ÍÀ» Àû¾î³õ¾Ò½À´Ï´Ù. ¿¡¼­ ±×´Â Å¥¸ÞÀÏÀÇ ¼Ò½ºÄÚµåÀÇ ¹èÆ÷±Ç¸®¸¦ Çã°¡Çß½À´Ï´Ù. ¹ÙÀ̳ʸ®¹èÆ÷´Â ±×°÷°ú ¿¡ ¼³¸íµÈ´ë·Î ÇÏ¸é ¿ëÀε˴ϴٸ¸, ÇöÀç ´©±¸µµ ½ÇÁ¦·Î ÇÏÁö¾Ê°í ÀÖ½À´Ï´Ù. ½±°Ô ¿¹±âÇؼ­ ´ç½ÅÀº ¾î¶² ¸ñÀûÀ̵çÁö Å¥¸ÞÀÏÀ» »ç¿ëÇÒ ¼ö ÀÖ°í, °íÄ¡Áö ¾ÊÀº Å¥¸ÞÀϼҽºÄÚµå¹èÆ÷ÆÇ°ú var-qmail ¹ÙÀ̳ʸ® ¹èÆ÷ÆÇÀ» ´Ù½Ã¹èÆ÷ÇÒ ¼ö ÀÖ°í, Å¥¸ÞÀÏ¿¡ ´ëÇÑ ÆÐÄ¡¸¦ ¹èÆ÷ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼öÁ¤µÈ Å¥¸ÞÀϼҽºÄڵ峪 ºñ var-qmail¹ÙÀ̳ʸ®¹èÆ÷ÆÇÀ» ¹èÆ÷ÇÒ ¼ö ¾ø½À´Ï´Ù. 1.9. ¿©Å¸ MTA¿Í ºñ±³ ÀÌ ÁÖÁ¦·Î Ã¥À» ¾µ ¼öµµ ÀÖÁö¸¸, Àб⿡ Áö·çÇÒ °ÍÀÔ´Ï´Ù. °¡Àå ¸¹ÀÌ ¾²´Â À¯´Ð½º MTAµé ¸î°³¸¦ Å¥¸ÞÀÏ°ú °£´ÜÈ÷ ºñ±³Çß½À´Ï´Ù. MTA ¼º¼÷ ¾ÈÀü Ư¡ ¼º´É Sendmail¼º ¸ðµâÈ­ qmail Áß°£ ³ôÀ½ ³ôÀ½ ³ôÀ½ add-on µÇÀÖ½¿ Sendmail ³ôÀ½ ³·À½ ³ôÀ½ ³·À½ ¾ø½¿ ¾ÈµÊ Postfix ³·À½ ³ôÀ½ Áß°£ ³ôÀ½ ¸ÂÀ½ µÇÀÖ½¿ exim medium low high medium yes no exim Áß°£ ³·À½ ³ôÀ½ Áß°£ ¸ÂÀ½ ¾ÈµÊ Sendmail¼ºÀ̶õ ÇØ´ç MTA°¡ ¿©·¯¸é¿¡¼­ Sendmail°°¾Æ¼­, .forward ÆÄÀÏÀ̳ª /etc/aliases³ª /var/spool/mail µîÀÇ »ç¿ëÀ» Sendmail¿¡¼­ ´Ù¸¥ MTA·Î ÀüȯÇÒ ¶§ »ç¿ëÀÚµéÀÌ °í·ÁÇÒ Á¡ÀÌ ¾øµµ·Ï ÇÏ´Â °ÍÀÔ´Ï´Ù. Cameron Laird°¡ ¿¡ À̰͵é°ú ´Ù¸¥ ¹«·á, À¯·á MTA¸¦ ºñ±³ÇÑ À¥ÆäÁö¸¦ ¸¸µé¾ú½À´Ï´Ù. 1.10. ¹®¼­ 1.10.1. man page Å¥¸ÞÀϹèÆ÷ÆÇÀº man page¸¦ ¿ÏºñÇß½À´Ï´Ù. ¼³Ä¡Çϸé /var/qmail/man¿¡ ³õÀÔ´Ï´Ù. MANPATHȯ°æº¯¼ö¿¡ ±× µð·ºÅ丮¸¦ Ãß°¡ÇϽñ⠹ٶø´Ï´Ù. ±×·¯¸é, "man qmailÇ׸ñ"À̶ó°í ÇϽøé ÇØ´ç man page¸¦ º¸¿©ÁÝ´Ï´Ù. ´ÙÀ½ÀÇ ÁÖ¼Ò¿¡ HTMLÇü½ÄÀ¸·Î ¿Â¶óÀλ󿡼­µµ man page¸¦ Âü°íÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. --------------------------------------------------------------------------------------- À¯ÀÇÁ¡: Å¥¸ÞÀÏÀÇ man page¿¡´Â Á¤º¸°¡ ÀÖÁö¸¸, ÇÔÃàµÇ°í ÇмúÇü½ÄÀ¸·Î ½èÀ¸¹Ç·Î ²Ä²ÄÇÏ°Ô ÀÐÀ¸¼Å¾ß ÇÕ´Ï´Ù. ÇѺθ¦ ÀμâÇÏ¿© Âß ÀÐÀ¸¼Å¼­ ¹«¾ùÀÌ ¾îµð¿¡ ÀÖ´ÂÁö ÆľÇÇسõ¾Æ¾ß ÆíÇÕ´Ï´Ù. ¿©·¯ ÀåÀÌÁö¸¸ Á¤º¸°¡ µÇÇ®À̵ÇÁö ¾ÊÀ¸¹Ç·Î, ¾îµð¿¡ ¹«¾ùÀÌ ÀÖ´ÂÁö ¾ËÁö ¸øÇϸé ã±â¿¡ Èûµì´Ï´Ù. --------------------------------------------------------------------------------------- 1.10.2. Docs Å¥¸ÞÀÏ ¹èÆ÷ÆÇÀº /var/qmail/doc¿¡ ¼³Ä¡ÇÏ´Â ´ÙÀ½ÀÇ ¼­·ùµéÀ» Á¦°øÇÕ´Ï´Ù. o FAQ : Frequently Asked Questions (´ä°ú ÇÔ²²) o INSTALL*: ¼³Ä¡¹®¼­ o PIC.* : Å¥¸ÞÀÏÀÇ Çٽɱâ´É¹æ¹ýÀ» ¼³¸í. ´õ ÀÌ»óÀÇ ¼³¸íÀº ºÎ·ÏÀÇ ``±¸Á¶Ç׸ñ''À» º¸½Ê½Ã¿À. o ´Ù¾çÇÑ ±âŸ ¼³Ä¡°ü·Ã ¹®¼­ ´ÙÀ½ÀÇ ÁÖ¼Ò¿¡¼­ ¿Â¶óÀÎÀ¸·Î Âü°íÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. o 1.10.3. FAQ ´ÙÀ½¿¡ °ø½Ä FAQ°¡ µÎ°³ ÀÖ½À´Ï´Ù. o /var/qmail/doc/FAQ: ÀÏ¹Ý ÅؽºÆ®ÆÇ, o : web FAQ web FAQ°¡ ´õ Ãæ½ÇÇÕ´Ï´Ù. 1.10.4. Ã¥ John Levine°ú Russel NelsonÀÌ O'Reilly & Associates ¿¡¼­ Å¥¸ÞÀÏÃ¥À» ½è´Âµ¥, ±Ý³â¸»¿¡ ±¸ÀÔ °¡´ÉÇÒ °ÍÀÔ´Ï´Ù. Russel°ú JohnÀº qmail ¸á¸µ¸®½ºÆ®¿¡ ÀÚÁÖ ±â°íÇϽðí, Å¥¸ÞÀÏ¿¡ °üÇÑ Áö½Ä°ú ´É·ÂÀ» ÅëÇؼ­ Å¥¸ÞÀÏÀ» È¿°úÀÖ°í Ç°À§ÀÖ°Ô ÀÇ»ç¼ÒÅëÇÏ´Â °ÍÀ» º¸¿©Áּ̽À´Ï´Ù. O'Reilly´Â ÄÄÇ»Æðü·ÃÃâÆÇ¿¡¼­ ¸í¼ºÀÌ Å¹¿ùÇÕ´Ï´Ù. ÀÌ Ã¥Àº ÀǽÉÀÇ ¿©Áö¾øÀÌ Å¥¸ÞÀÏÀÇ "bible"ÀÌ µÉ°Ì´Ï´Ù. 1.10.5. ¸á¸µ¸®½ºÆ® °í¹®¼­ Dan BernsteinÀÌ À¯ÁöÇϴ ť¸ÞÀÏÀÇ À̸ÞÀÏ ¸á¸µ¸®½ºÆ®´Â ±ÍÁßÇÑ Á¤º¸¼Ò½ºÀÔ´Ï´Ù. ¸á¸µ¸®½ºÆ®¸Þ¼¼ÁöÀÇ °í¹®¼­´Â ´ÙÀ½¿¡ º¸°üµË´Ï´Ù. o ±× °í¹®¼­¿¡ ´ëÇÑ ¼­Ä¡¿£ÁøÀº ´ÙÀ½¿¡ ÀÖ½À´Ï´Ù. o ±âŸ web °í¹®¼­´Â ´ÙÀ½¿¡¼­ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. o o Å¥¸ÞÀÏ¿¡ °üÇÑ ´ëºÎºÐÀÇ Áú¹®Àº ¸ÕÀú ¸á¸µ¸®½ºÆ® °í¹®¼­¸¦ µÚÁö¸é ´äÀ» ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. 1.10.6. ±âŸ À¥»çÀÌÆ® o : Å¥¸ÞÀÏ °ø½Ä ȨÆäÁö o : Å¥¸ÞÀÏ ºñ°ø½Ä ȨÆäÁö·Î¼­ add-on°ú ÆÐÄ¡¿¡ °üÇÑ Á¤º¸¿Í ´Ù¸¥ »çÀÌÆ®¿¡ ÀÖ´Â ÁÁÀº Å¥¸ÞÀÏ À¥ÆäÁö¿¡ ´ëÇÑ ¸µÅ©°¡ ¸¹½À´Ï´Ù. 1.11. Áö¿ø 1.11.1. ¸á¸µ¸®½ºÆ® ´ÙÀ½ÀÇ ¸á¸µ¸®½ºÆ®´Â cr.yp.to¿¡ ÀÖ½À´Ï´Ù. ½ºÆиӰ¡ À̸ÞÀÏÁÖ¼Ò¸¦ °ÈÁö ¸øÇÏ°Ô ÇÏ·Á°í ¿ÏÀüÇÏ°í À¯È¿ÇÑ ÁÖ¼Ò¿Í "mailto" URLÀ» ¾²Áö ¾Ê½À´Ï´Ù. ¸á¸µ¸®½ºÆ®´Â ezmlmÀ¸·Î °ü¸®Çϴµ¥, ÁÖ¼Òº°·Î °íÀ¯±â´ÉÀ» ´ã´çÇÕ´Ï´Ù. o listname@list.cr.yp.to: ¸Þ¼¼Áö¼ÛºÎÁּҷμ­ À̸®·Î ¸Þ¼¼Áö¸¦ º¸³»½Ã¸é ¸ðµç °¡ÀÔÀÚ¿¡°Ô º¸³»Áý´Ï´Ù. °¡ÀÔ/°¡ÀÔÇØÁ¦ ½ÅûÀ» À̸®·Î ÇÏÁö¸é ¾ÈµÇ´Âµ¥, ±×·¯¸é °¡ÀÔ(ÇØÁ¦)°¡ µÇÁöµµ ¾ÊÀ» »Ó¸¸ ¾Æ´Ï¶ó, °¡ÀÔÀÚµéÀ» ¼º°¡½Ã°Ô Çϱ⠶§¹®ÀÔ´Ï´Ù. o listname-help@list.cr.yp.to: "help"ÁÖ¼ÒÀÔ´Ï´Ù. ¸í·ÉÁÖ¼Ò¿Í ÀϹݻç¿ëÁ¤º¸¸¦ º¸³»µå¸³´Ï´Ù. o listname-subscribe: ºó ¸Þ¼¼Áö¸¦ À̸®·Î º¸³»¸é °¡ÀԵ˴ϴÙ. o listname-unsubscribe: ºó ¸Þ¼¼Áö¸¦ À̸®·Î º¸³»¸é °¡ÀÔÇØÁ¦µË´Ï´Ù. ¿¹¸¦ µé¸é joe@example.com¿Í °°ÀÌ °¡ÀÔ(ÇØÁ¦)ÁÖ¼Ò¸¦ ÀûÀ¸½Ã·Á¸é ´ÙÀ½ÀÇ ÁÖ¼Ò·Î ¸Þ¼¼Áö¸¦ º¸³»½Ê½Ã¿À. o listname-subscribe-joe=example.com@list.cr.yp.to 1.11.1.1. Å¥¸ÞÀÏ ÁÖ¿ä Å¥¸ÞÀÏ ¸á¸µ¸®½ºÆ®. serialmailÀ» »©°í´Â Å¥¸ÞÀÏ¿¡ °ü·ÃµÈ ¸ðµç°Í¿¡ °üÇÑ Åä·Ð°ú Áú¹®°ú ´ë´ä. Áú¹®À» º¸³»½Ã±â Àü¿¡ FAQ¸¦ ÀÐÀ¸½Ã°í, ¸á¸µ¸®½ºÆ® °í¹®¼­¸¦ µÚÁö½Ã±â ¹Ù¶ø´Ï´Ù. Áú¹®À» ÇϽǶ§¿¡´Â ´Ù¸¥ »ç¶÷ÀÌ ´äÇØÁÙ ¼ö ÀÖµµ·Ï ´ÙÀ½°ú °°Àº ÃæºÐÇÑ ³»¿ªÀ» Æ÷ÇÔÇϽñ⠹ٶø´Ï´Ù. o ¹«¾ùÀ» Çϼ̽À´Ï±î? ¼³Á¤À» ¾î¶»°Ô Çϼ̽À´Ï±î? ¹«¾ùÀÌ Áß¿äÇÑ Áö ¸ð¸£½Ã¸é qmail-showctl¸í·ÉÀÇ °á°ú¹°À» Æ÷ÇÔÇϽʽÿÀ. ¹«¾ùÀ» ¾òÀ¸·Á Çϼ̽À´Ï±î? ¹«½¼ ÇൿÀ» Çϼ̽À´Ï±î? o ¹«¾ùÀÌ ÀϾ±æ ¹Ù¶ó¼Ì½À´Ï±î? ¹«½¼ °á°ú¸¦ ¾òÀ¸·Á°í Çϼ̽À´Ï±î? Àд ºÐÀÌ ÃßÃøÇؼ­ ¾Ë°ÍÀ̶ó°í´Â »ý°¢Áö ¸¶½Ê½Ã¿À. o ¹«½¼ÀÏÀÌ ÀϾ½À´Ï±î? ½ÇÁ¦ °á°ú¸¦ ¼³¸íÇϽʽÿÀ. ·Î±×ÆÄÀÏÀ» Àß¶ó¼­ Æ÷ÇÔÇϽðí, ¸Þ¼¼Áö»çº»À» Çì´õ¿Í ÇÔ²² Æ÷ÇÔÇϽʽÿÀ. 1.11.1.2. qmailannounce »õ·Î¿î ¹ßÇàÀº ¿©±â¿¡ °øÇ¥µË´Ï´Ù. °¡ÀÔ½ÅûÁÖ¼Ò´Â ¾ø°í, ÀбâÀü¿ëÀÔ´Ï´Ù. 1.11.1.3. serialmail serialmail ÆÐÄÉÁö°ü·Ã Åä·ÐÀÔ´Ï´Ù. 1.11.1.4. ezmlm ezmlm ¸á¸µ¸®½ºÆ® °ü¸®¿¡ ´ëÇÑ Åä·ÐÀÔ´Ï´Ù. 1.11.2. »ó´ã¿ª ¸¦ º¸½Ã¸é »ó¿ë Áö¿ø Á¦°øÀÚ¸í´ÜÀÌ ÀÖ½À´Ï´Ù. 1.12. Y2K Å¥¸ÞÀÏÀº Y2K¹®Á¦°¡ ¾ø½À´Ï´Ù. ¸¦ º¸½Ê½Ã¿À. 2. ¼³Ä¡ Å¥¸ÞÀÏÀ» ¼³Ä¡ÇÏ´Â °ÍÀ» ¼³¸íÇÕ´Ï´Ù. °æÇèÀÖ´Â ½Ã½ºÅÛ¾Öµå¹ÎÀº ¼Ò½º¹èÆ÷ÆÇ¿¡ ÀÖ´Â INSTALLÀÇ Áö½Ã»çÇ×À» µû¶ó¼­ Å¥¸ÞÀÏÀ» ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. INSTALLÁö½Ã»çÇ×Àº °ø½Ä ¼³Ä¡Áö½Ã»çÇ×ÀÔ´Ï´Ù. ±×°ÍÀº º»¹®¼­ÀÎ lwqÀÇ Áö½Ã»çÇ׺¸´Ù º¹ÀâÇÏ°í, Àд »ç¶÷ÀÌ °æÇèÀÖ´Â ½Ã½ºÅÛ¾Öµå¹Î°ú ¸á¾Öµå¹ÎÀ̶ó°í ¿©±é´Ï´Ù. ----------------------------------------------------------------------------- À¯ÀÇÁ¡: ´ÙÀ½ÀÇ Áö½Ã»çÇ×À» ÀÐÀ¸½Å´Ù¸é ÀüüÇ׸ñÀ» Àо Àüü°úÁ¤À» ÀÍÈ÷½Ã±â ¹Ù¶ø´Ï´Ù. ----------------------------------------------------------------------------- 2.1. ¼³Ä¡ ³íÀÇ 2.1.1. ¹ÙÀ̳ʸ® ´ë ¼Ò½ºÄÚµå ¹Ì¸®ÄÄÆÄÀÏµÈ ¹èÆ÷ÆÇ°ü·Ã ¶óÀ̼¾½ÌÁ¦¾à¶§¹®¿¡, Å¥¸ÞÀÏÀº º¸Åë ¼Ò½ºÄÚµå¹èÆ÷ÆÇÀ¸·Î ¼³Ä¡ÇÕ´Ï´Ù. ¼Ò½ºÄÚµå¿Í ¹ÙÀ̳ʸ®¸¦ ±¸ºÐÇϽñ⠾î·Æ´Ù¸é, ÁýÀ¸·Î ÇÇÁö¸¦ ¹è´ÞÇÑ´Ù°í °¡Á¤ÇϽʽÿÀ. ¹ÙÀ̳ʸ®¹öÀüÇÇÀÚ´Â Áï½Ã ¸ÔÀ» ¼ö ÀÖ°Ô ¹è´ÞµË´Ï´Ù. ¼Ò½ºÄÚµåÇÇÀÚ´Â ¹Ð°¡·ç, È¿¸ð, Ä¡Áî, ÅäÇÎ, ±×¸®°í ¿ä¸®¹æ¹ý µîÀ» Æ÷ÇÔÇÑ ÀåºñÀÏü·Î ¹è´ÞµË´Ï´Ù. ¼Ò½ºÄڵ弳ġ´Â ÀÏÀ» Á»´õ ¸¹ÀÌ ÇØ¾ß ÇÏÁö¸¸, Áö½Ã»çÇ×À» öÀúÇÏ°Ô µû¸£¸é, ±× °á°ú´Â °°°Å³ª ´õ ÁÁ½À´Ï´Ù. Á÷Á¢ ¸¸µé¾î ¸Ô´Â ÇÇÀÚ´Â ´õ ½Å¼±ÇÏ°í, ÁÁ¾ÆÇÏ´Â ÅäÇÎÀ» ¸ÂÃç¸ÔÀ» ¼ö ÀÖÀ¸¸ç, ÀÚ½ÅÀÌ ¸¸µç ÇÇÀÚ¿¡ ´ëÇØ, ±×°ÍÀÌ ¾î¶»°Ô ¸¸µé¾îÁ³´Â Áö¿¡ ´ëÇØ ´õ ¸¹ÀÌ ¾Ë°Ô µË´Ï´Ù. 2.1.2. Tarball°ú ¿î¿µÃ¼Á¦º° ÆäÅ°Áö ¼Ò½ºÄڵ弳ġ¸¦ ÀÚµ¿À¸·Î ÇÏ´Â ¹æ¹ýÀ» Á¦°øÇÏ´Â ¿î¿µÃ¼Á¦µµ ÀÖ½À´Ï´Ù. ÇÇÀÚ·Î ´Ù½Ã ºñÀ¯ÇÏÀÚ¸é, ´ÜÃ߸¸ ´©¸£¸é ÇÇÀÚ°¡ ÀúÀý·Î ±¸¿öÁöµµ·Ï Àç·á¿Í Áö½Ã»çÇ×À» ÆÐÅ°ÁöÇÏ´Â °ÍÀÔ´Ï´Ù. ÈǸ¢ÇÏÁö ¾Ê½À´Ï±î? ½ÇÁ¦·Î´Â ±×·¸°Ô ÁÁÁö¸¸Àº ¾Æ´Ñ ¹æ¹ýÀÔ´Ï´Ù. ÆÐÅ°Áö·Î ¹­±â°¡ ¸Å¿ì Èûµé°í, »ý°¢´ë·Î ¿òÁ÷ÀÌÁö ¾ÊÀ» ¼ö°¡ ÀÖ½À´Ï´Ù. ¶ÇÇÑ ±×°Íµµ ¼ÒÇÁÆ®¿þ¾îÀ̹ǷÎ, ´Ù¸¥°Íµéó·³, ¹÷ÀÌ ÀÖÀ» ¼öµµ ÀÖ½À´Ï´Ù. ¹÷ÀÌ ¾ø´õ¶óµµ, ±× Æí¸®ÇÔÀº ±× ¸¸ÇÑ ´ë°¡¸¦ Ä¡·ç°Ô µË´Ï´Ù. ½º½º·Î ¸¸µé¾îº¸´Â ÇÇÀÚÀÇ ÀÌÁ¡ÀÎ ÀÚ½ÅÀÇ ±âÈ£¿¡ ¸ÂÃç¼­ ÅäÇÎÀ» Á¶Á¤ÇÏ°í, ÇÇÀÚ°¡ ¾î¶»°Ô ¸¸µé¾îÁö°í, ¾î¶»°Ô ÀÛ¿ëÇÏ´Â Áö µîÀ» ÀÒ°Ô µË´Ï´Ù. Å¥¸ÞÀÏÀÌ ÇÇÀÚ¶ó¸é, ½º½º·Î ÄÄÆÄÀÏÇغ¼ ¼öµµ ÀÖÀ»Áö ¸ð¸¨´Ï´Ù. ±×·±µ¥, ÇÇÀÚ°¡ ¾Æ´Õ´Ï´Ù. º¹ÀâÇÑ ½Ã½ºÅÛÀÌ µÇ¾î³ö¼­ Àß ¿î¿µÇÏ·Á¸é ¼³Ä¡ÀÚ¿Í À¯ÁöÀÚ´Â Àß ÀÌÇØÇØ¾ß ÇÕ´Ï´Ù. ÀÚµ¿¼³Ä¡ Å¥¸ÞÀÏÀÌ ¼öµ¿¼³Ä¡ÆǺ¸´Ù ¼³Ä¡Çϱ⿡ ½±½À´Ï´Ù¸¸, ¼öµ¿¼³Ä¡ÆÇÀÌ ¼³Á¤ÇÏ°í ¹®Á¦Á¡À» ÇØ°áÇÏ´Â µ¥ ½±½À´Ï´Ù. ½Ã½ºÅÛ¿¡ Å¥¸ÞÀÏÀ» Çѹø¸¸ ¼³Ä¡ÇÏ¸é µÇÁö¸¸, ¶§¶§·Î Àç¼³Á¤ÇؾßÇÒ ¼öµµ ÀÖ°í, »ý°¢´ë·Î ¸áÀÌ È帣Áö ¾Ê´Â ÀÌÀ¯¸¦ ÆľÇÇØ¾ß ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. ÀÌ·¡¼­, Àú´Â Å¥¸ÞÀÏÀ» RedHatÀ̳ª ±âŸ ÀÚµ¿¼³Ä¡¹øµéÀÌ ¾Æ´Ñ ¼Ò½ºÅ©µå tarball·Î ¼³Ä¡ÇϽñ⸦ ±Ç°íÇÕ´Ï´Ù. 2.2. Áغñ Å¥¸ÞÀÏÀ» ½Ã½ºÅÛ¿¡ ¼³Ä¡Çϱâ Àü¿¡, Å¥¸ÞÀϼ³Ä¡¸¦ óÀ½À¸·Î ÇÑ´Ù¸é, ¸î°¡Áö °í·Á»çÇ×ÀÌ ÀÖ½À´Ï´Ù. o °¡´ÉÇϸé Å¥¸ÞÀÏÀ» ¿¬½À½Ã½ºÅÛ¿¡ ¼³Ä¡ÇϽʽÿÀ. ÀÌ·¡¾ß Áß¿ä¸áÀ» ÀÒÁö ¾Ê°í, ¶Ç´Â »ç¿ëÀڵ鿡°Ô ¸á¼­ºñ½º¸¦ ´ÜÀýÇÏÁö ¾Ê°íµµ ½Ç¼öÇغ¼ ±âȸ°¡ »ý±é´Ï´Ù. o ¿©ºÐ½Ã½ºÅÛÀÌ ¾ø°Å³ª ½Ã½ºÅÛ¿¡ ÀÌ¹Ì sendmailÀ̳ª smailÀ̳ª ±âŸ MTA µîÀ» ¿î¿µÇÏ¿© ¸áÀÌ Ã³¸®µÇ°í À־, ±âÁ¸¼­ºñ½º¿Í Ãæµ¹ÇÏÁö ¾ÊÀ¸¸é¼­ Å¥¸ÞÀÏÀÇ ´ëºÎºÐÀ» ½ÃÇèÇÒ ¼ö ÀÖ½À´Ï´Ù. o ´Ù¸¥ MTA¸¦ Å¥¸ÞÀÏ·Î ´ëüÇÒ ¶§, Å¥¸ÞÀÏÀÇ °æÇèÀÌ ¸¹´õ¶óµµ, °èȹÀ» ¼¼¿ö¾ß ÁÁ½À´Ï´Ù. 2.3. ½Ã½ºÅÛ ÇÊ¿ä»çÇ× Å¥¸ÞÀÏÀº ´ëºÎºÐÀÇ À¯´Ð½º¿Í À¯´Ð½º·ù ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ°í ¿î¿µµË´Ï´Ù¸¸ ¸î°¡Áö ÇÊ¿ä»çÇ×ÀÌ ÀÖ½À´Ï´Ù. o ÄÄÆÄÀϵ¿¾È ÄÄÆÄÀϺκп¡ ¾à 10¸Þ°¡¹ÙÀÕÀÇ ¿©À¯°ø°£. ÄÄÆÄÀÏÈÄ ¿ÉÁ§Æ®ÆÄÀÏÀ» Á¦°ÅÇϸé 4¸Þ°¡¸¸ ³²½À´Ï´Ù. o ÄÄÆÄÀÏ·¯, ½Ã½ºÅÛÇì´õÆÄÀÏ, ±×¸®°í ¶óÀÔ·¯¸® µîÀ» Æ÷ÇÔÇÏ´Â ¿ÏÀüÇÑ C °³¹ß½Ã½ºÅÛ. ÄÄÆÄÀÏÁö½Ã»çÇ×Àº ÇÊ¿äÇÑ ºÎºÐÀÌ ÀÖÀ¸¸é ¾Ë·ÁÁÝ´Ï´Ù. o ¹ÙÀ̳ʸ®, ¹®¼­, ±×¸®°í ¼³Á¤ µîÀÇ ÆÄÀÏ¿¡ ´ëÇØ 2-3¸Þ°¡¹ÙÀÕ. o Å¥¿¡ ´ëÇÑ ÃæºÐÇÑ µð½ºÅ©°ø°£. ¼Ò±Ô¸ð ´ÜÀÏ»ç¿ëÀÚ ½Ã½ºÅÛÀº 2-3¸Þ°¡¹ÙÀÕ¸¸ ÀÖÀ¸¸é µË´Ï´Ù. ´ë¿ë·® ¼­¹ö´Â 2-3 ±â°¡¹ÙÀÕÀÌ ÀÖ¾î¾ß µÉÁöµµ ¸ð¸¨´Ï´Ù. o ȣȯ ¿î¿µ ½Ã½ºÅÛ. ´ëºÎºÐÀÇ À¯´Ð½ºÁ¾Àº µË´Ï´Ù. ¼Ò½ºÆ®¸®ÀÇ README¸¦ º¸¸é ȣȯÆÇÀÇ ¸®½ºÆ®°¡ ÀÖ½À´Ï´Ù. o DNS·ÎÀÇ Á¢±ÙÀ» °­·ÂÈ÷ ±ÇÀåÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é Å¥¸ÞÀÏÀº smtproutesÀÇ config ÆÄÀÏ¿¡ ¼³Á¤µÈ ¿ø°Ý½Ã½ºÅÛÀ¸·Î¸¸ º¸³À´Ï´Ù. o ÀûÀýÇÑ ³Ý¿÷ ¿¬°á. Å¥¸ÞÀÏÀº Àß ¿¬°áµÈ ½Ã½ºÅÛ¿¡ ´ëÇØ ¼³°èµÇ¾î¼­ 28.8k ´ÙÀ̾ó¾÷¿¡¼­ ¸á¸µ¸®½ºÆ®¸¦ »ç¿ëÇÏ°í ½ÍÁö ¾ÊÀ»Áöµµ ¸ð¸¨´Ï´Ù. Å¥¸ÞÀÏÀ» ¿¬°áÀÌ ³ª»Û ½Ã½ºÅÛ¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇÏ·Á°í serialmail ÆÐÅ°Áö°¡ ¼³°èµÇ¾ú½À´Ï´Ù. ´õ ¸¹Àº Á¤º¸´Â °ü·ÃÆÐÅ°Áö ºÎ·ÏÀÇ ``½Ã¸®¾óÇ׸ñ''À» º¸½Ã¸é µË´Ï´Ù. 2.4. ¼Ò½º¸¦ ¹ÞÀ¸½Ê½Ã¿À. ¿À¿ìÄÉÀÌ, ÀÌÁ¦ Å¥¸ÞÀÏÀ» ¼³Ä¡ÇÒ ¼ö ÀÖµµ·Ï ÇÊ¿ä»çÇ׿¡ ¸Â´Â ½Ã½ºÅÛÀ» ÁغñÇϼ̱º¿ä. ù¹ø° ´Ü°è´Â Å¥¸ÞÀÏ°ú ´Ù¸¥ ¾Öµå¿ÂÀÇ ¼Ò½ºÄڵ带 ´Ù¿î·ÎµåÇÏ´Â °ÍÀÔ´Ï´Ù. Å¥¸ÞÀÏÀº ´ç¿¬È÷ ÇÊ¿äÇÏ°í¿ä, ucspi-tcp¿Í daemontoolsµµ ÇÊ¿äÇÒ °ÍÀÔ´Ï´Ù. o qmail, o ucspi-tcp, o daemontools, À¥ºê¶ó¿ìÀú³ª FTP Ŭ¶óÀ̾ðÆ®¸¦ ÀÌ¿ëÇؼ­ ÀÌ ÆÄÀϵéÀ» °¡Á®¿À¼¼¿ä. 2.5. ¼Ò½º¸¦ ÄÄÆÄÀÏÇϼ¼¿ä. 2.5.1. ÄÄÆÄÀÏȯ°æÀ» °ËÁõÇϼ¼¿ä. ù¹ø° ÇÒÀÏÀº ÇÁ·Î±×·¥À» ÄÄÆÄÀÏÇϱ⿡ ÇÊ¿äÇÑ ÅøÀ» °®Ãß¾ú´Â ÁöÀÇ È®ÀÎÀÔ´Ï´Ù. ÀÌ°ÍÀ» °áÁ¤ÇÏ´Â °ÍÀº »ç¿ëÁßÀÎ À¯´Ð½ºÁ¾·ù¿¡ µû¸¨´Ï´Ù. ¸»¾¸µå¸± ¼ö ÀÖ´Â °¡Àå ½¬¿î ¹æ¹ýÀº, º¸ÀåµÇÁö´Â ¾ÊÁö¸¸, Çغ¸´Â °Ì´Ï´Ù. ----------------------------------------------------------------------------- À¯ÀÇÁ¡: À̰͵éÁß Çϳª¶óµµ Åë°úÇϸé, ´ÙÀ½ Ç׸ñÀ¸·Î ³Ñ¾î°¡¼Åµµ µË´Ï´Ù. ----------------------------------------------------------------------------- ¸í·ÉÇàÇÁ·ÒÆ®¿¡¼­, cc¶ó ¾²°í, ¿£Å͸¦ ´©¸£¼¼¿ä: $ cc cc: No input files specified $ ´äÀÌ ºñ½ÁÇÏ°Ô ³ª¿À¸é, C ÄÄÆÄÀÏ·¯°¡ °æ·Î¿¡ ÀÖ´Â °ÍÀÔ´Ï´Ù. ±×·¸Áö ¾Ê´õ¶óµµ, ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê´Ù´Â °ÍÀº ¾Æ´Õ´Ï´Ù. ¼³Ä¡µÇ¾î ÀÖÀ» Áö ¸ð¸£Áö¸¸, °æ·Î¿¡ Æ÷ÇԵǾî ÀÖÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù. ¹°·Ð, ¼³Ä¡µÇ¾î ÀÖÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù. ÀÌ·¸°Ô Çغ¸¼¼¿ä. " o /usr/bin/cc o /usr/bin/gcc o /usr/local/bin/cc o /usr/local/bin/gcc o /usr/ccs/bin/cc ¼Ò¿ëÀÌ ¾øÀ¸¸é, Ç÷§Æû Ư¼º¿¡ ¸Â´Â ¹æ¹ýÀ¸·Î ÇÏ¼Å¾ß ÇÕ´Ï´Ù. ÇÁ·ÒÆ®¿¡¼­ ´ÙÀ½ Áß Çϳª¸¦ ÇϽôµ¥, »ç¿ëÁßÀÎ OS¿¡ µû¸£¼Å¾ß ÇÕ´Ï´Ù. o Red Hat Linux: rpm -qa | grep gcc or rpm -qa | grep egcs o FreeBSD: GCC°¡ µðÆúÆ®·Î Æ÷ÇԵ˴ϴÙ. À̹ø Ç׸ñ¿¡¼­´Â Å¥¸ÞÀÏÀ» ½ÇÁ¦·Î ÄÄÆÄÀÏÇÏ´Â ´Ü°è¸¦ °ÅĨ´Ï´Ù. ¿À·ÁºÙÀ̱Ⱑ °£ÆíÇÏÁö¸¸, ±×·¸°Ô ÇÊ¿äÇÏÁö´Â ¾Ê½À´Ï´Ù. 2.5.2. ¹èÆ÷ÆÇÀ» DZ´Ï´Ù. ¿©±â±îÁö ¿À¼ÌÀ¸¸é, ÀÌ¹Ì C ÄÄÆÄÀÏ·¯¿Í tarballÀ» ÁغñÇϽŠ°Ì´Ï´Ù. Ÿº¼À» ÀÛ¾÷ÇÏ½Ç µð·ºÅ丮·Î º¹»çÇϰųª ¿Å±â¼¼¿ä. /usr/local/src°¡ ÁÁÀºµ¥, ÀÌ °æ¿ì¿¡´Â /usr/local/src/qmail¸¦ ¼¼ ÆÐÄÉÁö ¸ðµÎ¿¡ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. mkdir -p /usr/local/src/qmail mv *.tar.gz /usr/local/src/qmail /usr/local/src/qmail¿¡ ¼¼ ÆÐÄÉÁö°¡ ÀüºÎ ÀÖÀ¸¹Ç·Î, ±×°ÍµéÀ» Ǫ½Ê½Ã¿À. ·íÀÌ ¾Æ´Ï¶ó¸é ¿©±â¿¡¼­´Â ·íÀÌ µÇ¼Å¾ß ÇÕ´Ï´Ù. ÇÁ·ÒÆ®¿¡¼­ ´ÙÀ½°ú °°ÀÌ Çϼ¼¿ä: su - cd /usr/local/src/qmail gunzip qmail-1.03.tar.gz tar xvf qmail-1.03.tar gunzip ucspi-tcp-0.84.tar.gz tar xvf ucspi-tcp-0.84.tar gunzip daemontools-0.61.tar.gz tar xvf daemontools-0.61.tar rm *.tar # ¿©À¯°ø°£ÀÌ ¾øÀ» ¶§ ÇÏ´Â ¼±ÅûçÇ× qmail-1.03, ucspi-tcp-0.84, daemontools-0.61 µîÀÇ ¼·µð·ºÅ丮°¡ »ý±é´Ï´Ù. qmail-1.03 µð·ºÅ丮·Î °¡½Ã¸é ½ÃÀÛÇÏ°Ú½À´Ï´Ù. cd qmail-1.03 2.5.3. µð·ºÅ丮¸¦ ¸¸µì´Ï´Ù. ÇÊ¿äÇÑ ¼·µð·ºÅ丮´Â Å¥¸ÞÀÏ ¼³Ä¡ ÇÁ·Î±×·¥ÀÌ ¸¸µé¹Ç·Î, Å¥¸ÞÀÏ È¨µð·ºÅ丮¸¸ ¸¸µé¾î ÁÖ¸é µË´Ï´Ù. mkdir /var/qmail ±×·¯¸é ´ÙÀ½ Ç׸ñÀ¸·Î °©´Ï´Ù. ------------------------------------------------------------------------------ À¯ÀÇÁ¡: Å¥¸ÞÀÏÆÄÀϵéÀ» /var°¡ ¾Æ´Ñ ´Ù¸¥ °÷¿¡ ³õ°í ½ÍÀ¸½Ã¸é, /var/qmailµð·ºÅ丮¿¡ ±×°÷À» °¡¸®Å°´Â ½Éº¼¸¯ ¸µÅ©¸¦ ¸¸µå½Ã¸é µË´Ï´Ù. ¿¹¸¦ µé¸é, ´ÙÀ½°ú °°ÀÌ ÇÏ½Ã¸é µË´Ï´Ù. mkdir /var/qmail ln -s /usr/man /var/qmail/man mkdir /etc/qmail ln -s /etc/qmail /var/qmail/control ln -s /usr/sbin /var/qmail/bin -------------------------------------------------------------------------------- 2.5.4. »ç¿ëÀÚ¿Í ±×·ìÀ» ¸¸µì´Ï´Ù. ÇÊ¿äÇÑ »ç¿ëÀÚ¿Í ±×·ìÀ» ¸¸µå´Â °¡Àå ½¬¿î ¹æ¹ýÀº ÀÛÀº ½ºÅ©¸³Æ®¸¦ ¸¸µé¾î¼­ ÇÏ´Â °ÍÀÔ´Ï´Ù. ¼Ò½ºµð·ºÅ丮¿¡ INSTALL.ids ÆÄÀÏÀÌ ÀÖ½À´Ï´Ù. °Å±â¿¡´Â ¿©·¯ ÇÁ·§Æû¿¡ ÇØ´çÇÏ´Â ¸í·ÉÇàÀÌ Àִµ¥, ±× ÆÄÀÏÀ» ´Ù¸¥ À̸§À¸·Î º¹»çÇؼ­ ÆíÁýÇÏ¸é ºü¸£°í ½±½À´Ï´Ù. cp INSTALL.ids IDS ÁÁ¾ÆÇϽô ¿¡µðÅÍ·Î ÇÊ¿äÇÑ ÇàÀ» »©°í ´Ù Áö¿ó´Ï´Ù. ¿¹¸¦ µé¸é, ÆíÁýÈÄ¿¡ FreeBSD¿¡ ´ëÇÑ IDS´Â ´ÙÀ½°ú °°½À´Ï´Ù. pw groupadd nofiles pw useradd alias -g nofiles -d /var/qmail/alias -s /nonexistent pw useradd qmaild -g nofiles -d /var/qmail -s /nonexistent pw useradd qmaill -g nofiles -d /var/qmail -s /nonexistent pw useradd qmailp -g nofiles -d /var/qmail -s /nonexistent pw groupadd qmail pw useradd qmailq -g qmail -d /var/qmail -s /nonexistent pw useradd qmailr -g qmail -d /var/qmail -s /nonexistent pw useradd qmails -g qmail -d /var/qmail -s /nonexistent ½ÇÇàÇÏ·Á¸é, chmod¸¦ ½á¼­ ½ÇÇàÆÄÀÏ·Î ¸¸µå½Ã°Å³ª sh·Î ½ÇÇàÇϽʽÿÀ. ù¹ø° ¹æ¹ý: chmod 700 IDS ./IDS µÎ¹ø° ¹æ¹ý: /bin/sh IDS ½ºÅ©¸³Æ®ÀÇ ½ÇÇàÀÌ ¿Ï·áµÇ¾î »ç¿ëÀÚ¿Í ±×·ìÀÌ »ý±â¸é ´ÙÀ½Ç׸ñÀ¸·Î °©´Ï´Ù. ±×·¯³ª, INSTALL.ids¿¡ ÇØ´ç ½Ã½ºÅÛÀÌ ¾øÀ¸¸é ¾îÂÁ´Ï±î? ¼öµ¿À¸·Î ±×°ÍµéÀ» ¸¸µé¾î¾ß ÇÕ´Ï´Ù. ÁÁ¾ÆÇÏ´Â ¿¡µðÅ͸¦ »ç¿ëÇؼ­ /etc/groupÀ» ÆíÁýÇϼ¼¿ä. ´ÙÀ½ µÎ ÁÙÀ» ±× ÆÄÀϳ¡¿¡ ÷°¡ÇϽʽÿÀ. qmail:*:2107: nofiles:*:2108: ------------------------------------------------------------------------- À¯ÀÇÁ¡: 2107°ú 2108ÀÌ »ç¿ëÁßÀÎ °ÍÀÌ ¾Æ´ÔÀ» È®ÀÎÇÏ¼Å¾ß ÇÕ´Ï´Ù. ------------------------------------------------------------------------- ´ÙÀ½À¸·Î´Â, vipw¸¦ ÀÌ¿ëÇؼ­ ´ÙÀ½ ÁÙµéÀ» ±× ÆÄÀÏÀÇ ³¡¿¡ ºÙÀ̽ʽÿÀ. (´ëºÎºÐÀÇ ½Ã½ºÅÛ¿¡ vipw°¡ ÀÖÁö¸¸, ¾øÀ¸¸é ¿¡µðÅÍ·Î /etc/passwd¸¦ ÆíÁýÇÕ´Ï´Ù.) alias:*:7790:2108::/var/qmail/alias:/bin/true qmaild:*:7791:2108::/var/qmail:/bin/true qmaill:*:7792:2108::/var/qmail:/bin/true qmailp:*:7793:2108::/var/qmail:/bin/true qmailq:*:7794:2107::/var/qmail:/bin/true qmailr:*:7795:2107::/var/qmail:/bin/true qmails:*:7796:2107::/var/qmail:/bin/true ------------------------------------------------------------------------------------ À¯ÀÇÁ¡: 7790-7796ÀÌ »ç¿ëÁßÀÌÁö ¾Ê´Â´Ù´Â °Í°ú 2107°ú 2108ÀÌ À§¿¡¼­ ¸¸µç ±×·ì¾ÆÀ̵ð¿Í °°´Ù´Â °ÍÀ» È®ÀÎÇϽʽÿÀ. ------------------------------------------------------------------------------------ ÀÌ·± °ÍµéÀ» ÇØ´çÆÄÀÏÀÇ ³¡¿¡¸¸ ÷°¡ÇØ¾ß ÇÏ´Â °ÍÀº ¾Æ´ÏÁö¸¸, ±×·¡¾ß ¼³¸íÇϱⰡ Á¦ÀÏ ½±½À´Ï´Ù. ´ÙÀ½ Ç׸ñÀ¸·Î °¡½Ç Áغñ°¡ µÇ¼Ì±º¿ä. 2.5.5. ÄÄÆÄÀÏÀ» Çϼ¼¿ä. ÀÌÁ¦ Å¥¸ÞÀÏÀ» ÄÄÆÄÀÏÇÏ½Ç Áغñ°¡ µÇ¾ú½À´Ï´Ù. µð·ºÅ丮°¡ PATHȯ°æº¯¼ö¿¡ ÀÖÁö ¾ÊÀ¸¸é conf-cc¿Í conf-ld¸¦ ÆíÁýÇϽʽÿÀ. ÄÄÆÄÀÏ·¯°¡ gccÀÌ°í, PATH¿¡ ÀÖ´Ù°í Çϸé, conf-cc¿Í conf- ld¸¦ °¡º±°Ô ÆíÁýÇÏ°í, cc¸¦ gcc·Î ¹Ù²Ù½Ê½Ã¿À. ±×·¸°Ô ÇϼÌÀ¸¸é ¸í·ÉÇà ÇÁ·ÒÆ®¿¡ ´ÙÀ½°ú °°ÀÌ Çϼ¼¿ä. make setup check ÄÄÆÄÀÏÀÌ ³¡³ª¸é, ¼³Ä¡Èļ³Á¤À» ÇÏ¼Å¾ß ÇÕ´Ï´Ù. ÀÌ ÀÏÀ» ½±°Ô ÇØÁÖ´Â ½ºÅ©¸³Æ®°¡ µÎ¾î°³ ÀÖ½À´Ï´Ù. DNS°¡ Á¦´ë·Î ¼³Á¤µÇ¾ú´Ù¸é, ´ÙÀ½ ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇϱ⸸ ÇÏ¸é µË´Ï´Ù. ./config ¾î¶² ÀÌÀ¯·Î config°¡ DNS¿¡¼­ hostnameÀ» ãÁö ¸øÇϸé, config-fast script¸¦ ½ÇÇàÇÏ¼Å¾ß ÇÕ´Ï´Ù. ./config-fast È£½ºÆ®³×ÀÓ.¿ÏÀü.°æ·Î ¿¹¸¦ µé¸é, µµ¸ÞÀÎÀÌ example.comÀÌ°í, ´ç½ÅÄÄÇ»ÅÍÀÇ È£½ºÆ®³×ÀÓÀÌ dolphinÀ̶ó¸é, config-fast¸¦ ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÕ´Ï´Ù. ./config-fast dolphin.example.com Å¥¸ÞÀÏÀÌ ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î¼­ °¡µ¿µÉ Áغñ°¡ µÇ¾ú½À´Ï´Ù! ´ÙÀ½Ç׸ñÀº Å¥¸ÞÀÏÀ» °¡µ¿ÇÏ°í ½ÃÇèÇÏ´Â ´Ü°è¸¦ ¾È³»ÇÕ´Ï´Ù. 2.6. ucspi-tcp¸¦ ¼³Ä¡ÇÕ´Ï´Ù. ¸ÕÀú¹ø¿¡ qmail, ucpsi-tcp, daemontools Ÿº¼À» Ç®¾ú½À´Ï´Ù. ¿¹Á¦¿¡¼­ ±×°ÍµéÀ» /usr/local/src/qmail¿¡ Ç®¾ú½À´Ï´Ù. ÀÚ ucpsi-tcpµð·ºÅ丮·Î ¿Å±é½Ã´Ù. cd /usr/local/src/qmail/ucspi-tcp-0.84 ¶È°°ÀÌ ÇØÁÝ´Ï´Ù. ±×·±µÚ¿¡ ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ. make make setup check 2.7. daemontools¸¦ ¼³Ä¡ÇÕ´Ï´Ù. daemontools ÄÄÆÄÀϵð·ºÅ丮·Î ÀÌÅëÇÕ´Ï´Ù. cd /usr/local/src/qmail/daemontools-0.61 ¶Ç Çѹø, conf-cc¿Í conf-ld¸¦ qmail°ú ucspi-tcp ÄÄÆÄÀϽà °íÃÆÀ¸¸é, ÀÌ µð·ºÅ丮¿¡¼­µµ ¶È°°ÀÌ ÇÕ´Ï´Ù. ±×¸®°í ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. make make setup check 2.8. Å¥¸ÞÀÏÀ» °¡µ¿ÇÕ´Ï´Ù. 2.8.1. /var/qmail/rc /var/qmail/bootµð·ºÅ丮¿¡´Â ¿©·¯°¡Áö ¼³Á¤¿¡ ´ëÇÑ º»º¸±â Å¥¸ÞÀÏ º× ½ºÅ©¸³Æ®°¡ ÀÖ½À´Ï´Ù. /var/spool/mail ´ë $HOME/Mailbox, procmail ¶Ç´Â dot-forward¸¦ ÀÌ¿ëÇϱâ, ±×¸®°í À̰͵éÀÇ ´Ù¾çÇÑ °áÇÕ. Çѹø ºÎ´ã¾øÀÌ °ËÅäÇغ¸½Ã±â ¹Ù¶ø´Ï´Ù. ¿ì¸®´Â ¼³Ä¡¸¦ À§Çؼ­ ´ÙÀ½À» ÀÌ¿ëÇÏ°Ú½À´Ï´Ù.: #!/bin/sh # Using stdout for logging # Using control/defaultdelivery from qmail-local to deliver messages by default exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start "`cat /var/qmail/control/defaultdelivery`" ¿¡µðÅÍ·Î À§ÀÇ ³»¿ëÀ» /var/qmail/rc·Î ¸¸µå½Ã°í, ´ÙÀ½°ú °°ÀÌ ¸í·ÉÇÕ´Ï´Ù. chmod 755 /var/qmail/rc mkdir /var/log/qmail ÀÌÂë¿¡¼­, .qmailÆÄÀÏÀÌ Àü´ÞÇÏÁö ¸øÇÏ´Â ¸Þ¼¼Áöµé¿¡ ´ëÇÑ ±âº»Àü´Þ¸ðµå¸¦ °áÁ¤ÇØ¾ß ÇÕ´Ï´Ù. ´ÙÀ½ÀÇ Å×ÀÌºí¿¡ ¸î°¡Áö °øÅë¼±ÅÃÀÌ °£·«È÷ ¿¹½ÃµÇ¾î ÀÖ½À´Ï´Ù. Mailbox format Name Location defaultdelivery Comments mbox Mailbox $HOME ./Mailbox most common, works with most MUA's maildir Maildir $HOME ./Maildir/ more reliable, less MUA support mbox username /var/spool/mail See INSTALL.vsm traditional UNIX mailbox Á¤º¸¸¦ ´õ ¿øÇϽøé INSTALL.mbox, INSTALL.maildir, INSTALL.vsm µîÀ» º¸½Ê½Ã¿À. ±âº» ¸áº¹½º ÇüŸ¦ °í¸£½Ã·Á¸é, À§ÀÇ Å×À̺íÀÇ defaultdelivery °ªÀ» /var/qmail/control/defaultdelivery¿¡ Àû¾î³ÖÀ¸½Ê½Ã¿À. ¿¹) Ç¥ÁØ Å¥¸ÞÀÏ Mailbox Àü´ÞÀ» ¼±ÅÃÇϽ÷Á¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. echo ./Mailbox >/var/qmail/control/defaultdelivery ---------------------------------------------------------------------------------- À¯ÀÇÁ¡: defaultdelivery´Â Ç¥ÁØ Å¥¸ÞÀÏ ÅëÁ¦ ÆÄÀÏÀÌ ¾Æ´Õ´Ï´Ù. À§ÀÇ /var/qmail/rcÆÄÀÏÀÇ Æ¯Â¡ÀÔ´Ï´Ù. ---------------------------------------------------------------------------------- 2.8.2. ½Ã½ºÅÛ ±âµ¿ ÆÄÀÏ /var/qmail/rc ½ºÅ©¸³Æ®¸¦ ¼öµ¿À¸·Î ½ÇÇàÇÏ¼Å¾ß Çϸé, Å¥¸ÞÀÏÀº ºÎºÐ°¡µ¿ÇÕ´Ï´Ù. ±×·¯³ª, ¿ì¸®´Â Å¥¸ÞÀÏÀÌ ½Ã½ºÅÛÀÌ ºÎÆÃÇÒ¶§¸¶´Ù ÀÚµ¿À¸·Î °¡µ¿Çϱ⸦ ¿øÇÏ°í, ½Ã½ºÅÛÀÌ Á¤ÁöÇÒ ¶§´Â ±ú²ýÇÏ°Ô ²¨Áö±â¸¦ ¿øÇÕ´Ï´Ù. ÀÌ°ÍÀº startup/shutdown½ºÅ©¸³Æ®¸¦ ´ÙÀ½°ú °°ÀÌ ÀÛ¼ºÇÏ¸é µË´Ï´Ù. #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan & echo $! > /var/run/svscan.pid echo "." ;; stop) echo -n "Stopping qmail: svscan" kill `cat /var/run/svscan.pid` echo -n " qmail" svc -dx /var/qmail/supervise/* echo -n " logging" svc -dx /var/qmail/supervise/*/log echo "." ;; stat) cd /var/qmail/supervise svstat * */log ;; doqueue|alrm) echo "Sending ALRM signal to qmail-send." svc -a /var/qmail/supervise/qmail-send ;; queue) qmail-qstat qmail-qread ;; reload|hup) echo "Sending HUP signal to qmail-send." svc -h /var/qmail/supervise/qmail-send ;; pause) echo "Pausing qmail-send" svc -p /var/qmail/supervise/qmail-send echo "Pausing qmail-smtpd" svc -p /var/qmail/supervise/qmail-smtpd ;; cont) echo "Continuing qmail-send" svc -c /var/qmail/supervise/qmail-send echo "Continuing qmail-smtpd" svc -c /var/qmail/supervise/qmail-smtpd ;; restart) echo "Restarting qmail:" echo "* Stopping qmail-smtpd." svc -d /var/qmail/supervise/qmail-smtpd echo "* Sending qmail-send SIGTERM and restarting." svc -t /var/qmail/supervise/qmail-send echo "* Restarting qmail-smtpd." svc -u /var/qmail/supervise/qmail-smtpd ;; cdb) tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp chmod 644 /etc/tcp.smtp* echo "Reloaded /etc/tcp.smtp." ;; help) cat <¿¡¼­µµ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. ------------------------------------------------------------------------------------- À¯ÀÇÁ¡: ½Ã½ºÅÛÀÌ ÀçºÎÆÃÇÑ´ÙÀ½¿¡ Å¥¸ÞÀÏÀÌ °ð ¾ø¾îÁö¸é, ½ºÅ©¸³Æ®ÀÇ "start"Ç׸ñ¿¡ ÀÖ´Â env ¸í·ÉÀ» nohupÀ¸·Î µ¡ºÙÀÔ´Ï´Ù. ¿¹) nohup env - PATH="$PATH" svscan & ------------------------------------------------------------------------------------- ¿¡µðÅÍ·Î ½ºÅ©¸³Æ®¸¦ ¸¸µé°Å³ª À¥ºê¶ó¿ìÀú·Î ´Ù¿î·ÎµåÇؼ­ ½Ã½ºÅÛÀÇ init.dµð·ºÅ丮¿¡ ¼³Ä¡ÇϽôµ¥, ´ÙÀ½°ú °°Àº Àå¼Ò°¡ µË´Ï´Ù. o /etc/init.d o /sbin/init.d o /etc/rc.d/init.d ½ºÅ©¸³Æ®¸¦ qmailÀ̶ó°í À̸§ºÙÀ̽ʽÿÀ. ½ºÅ©¸³Æ®¸¦ ¸î°³ÀÇ rcµð·ºÅ丮¿¡ ¸µÅ©½ÃÅ°¼Å¾ß ÇÕ´Ï´Ù. ÀÌ µ¥·ºÅ丮µéÀº rcN.d°°ÀÌ µÇ¾îÀִµ¥, NÀº Àû¿ë runlevelÀÔ´Ï´Ù. ±âµ¿µð·ºÅ丮 ±¸Á¶°¡ º¹ÀâÇؼ­ º» ¹®¼­¿¡´Â ´Ù·çÁö ¾Ê½À´Ï´Ù. ±×·¯´Ï °£´ÜÇÑ Áö½Ã»çÇ×ÀÌ ¸¾¿¡ Â÷Áö ¾ÊÀ¸½Ã¸é ½Ã½ºÅÛ¹®¼­¸¦ ÂüÁ¶ÇϽʽÿÀ. rc µð·ºÅ丮´Â ´ÙÀ½Áß ÇϳªÀÏ °Ì´Ï´Ù. o /etc o /sbin o /etc/rc.d ¸µÅ©¸¦ ¸¸µå½Ã´Âµ¥, ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ. RCDIR¸¦ ½Ã½ºÅÛÀÇ rc µð·ºÅ丮ÀÇ Àå¼Ò·Î ¹Ù²Ù½Ê½Ã¿À. ln -s ../init.d/qmail RCDIR/rc0.d/K30qmail ln -s ../init.d/qmail RCDIR/rc1.d/K30qmail ln -s ../init.d/qmail RCDIR/rc2.d/S80qmail ln -s ../init.d/qmail RCDIR/rc4.d/S80qmail ln -s ../init.d/qmail RCDIR/rc5.d/S80qmail ln -s ../init.d/qmail RCDIR/rc6.d/K80qmail -------------------------------------------------------------------------------------- À¯ÀÇÁ¡: Àü´Ü°èÀÇ ¼ýÀÚ´Â ¸Å¿ì ½Ã½ºÅÛ¿¡ ÀÇÁ¸ÇÕ´Ï´Ù. ±×·¸Áö¸¸ ´Ù¼Ò À¯¿¬ÇÕ´Ï´Ù. SendmailÀÌ ÇöÀç ¼³Ä¡µÇ¾î ÀÖÀ¸¸é, "find RCDIR -name "*sendmail" -print" ¸í·ÉÀ» ½ÇÇàÇÏ¸é ½Ã½ºÅÛ¿¡ Àû¿ëÇÒ ¼ö ÀÖ´Â ¼ýÀÚ¸¦ ¾Ë·ÁÁÝ´Ï´Ù. -------------------------------------------------------------------------------------- ÀÌÁ¦ Å¥¸ÞÀϼ­ºñ½º¸¦ À§ÇØ °¨µ¶µð·ºÅ丮¸¦ ¸¸µå½Ê½Ã¿À. mkdir -p /var/qmail/supervise/qmail-send/log mkdir -p /var/qmail/supervise/qmail-smtpd/log chmod +t /var/qmail/supervise/qmail-send chmod +t /var/qmail/supervise/qmail-smtpd /var/qmail/supervise/qmail-send/runÆÄÀÏÀ» ¸¸µå½Ê½Ã¿À. #!/bin/sh exec /var/qmail/rc /var/qmail/supervise/qmail-send/log/runÆÄÀÏÀ» ¸¸µå½Ê½Ã¿À. #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail /var/qmail/supervise/qmail-smtpd/runÆÄÀÏÀ» ¸¸µå½Ê½Ã¿À. #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 /var/qmail/supervise/qmail-smtpd/log/runÆÄÀÏÀ» ¸¸µå½Ê½Ã¿À. #!/bin/sh exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd runÆÄÀϵ鿡 ½ÇÇà°¡´ÉÀ» ºÎ¿©ÇÕ´Ï´Ù. chmod 755 /var/qmail/supervise/qmail-send/run chmod 755 /var/qmail/supervise/qmail-send/log/run chmod 755 /var/qmail/supervise/qmail-smtpd/run chmod 755 /var/qmail/supervise/qmail-smtpd/log/run ±×·± ´ÙÀ½¿¡, ·Î±×µð·ºÅ丮¸¦ ¸¸µì´Ï´Ù. mkdir -p /var/log/qmail/smtpd chown qmaill /var/log/qmail /var/log/qmail/smtpd ±âµ¿½ºÅ©¸³Æ®¿¡ ½ÇÇà±ÇÇÑÀ» ºÎ¿©ÇÏ°í, ½ÇÇà°æ·Î¿¡ ÀÖ´Â µð·ºÅ丮·Î ¸µÅ©ÇÕ´Ï´Ù. # substitute the correct location of your rc dir on the next two lines chmod 755 /etc/init.d/qmail ln -s /etc/init.d/qmail /usr/local/sbin ·ÎÄÃÈ£½ºÆ®°¡ SMTP¸¦ ÅëÇؼ­ ¸áÀ» »ðÀÔ (inject)Çϵµ·Ï ÇÕ´Ï´Ù. echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp /usr/local/sbin/qmail cdb 2.8.3. ±âÁ¸¿¡ ¼³Ä¡µÈ MTA¸¦ ¸ØÃß°í ¹«·ÂÇÏ°Ô ÇÕ´Ï´Ù. Å¥¸ÞÀÏ°ú ÇöÁ¸ÇÏ´Â MTA, ´ë°³ Sendmail, µÎ°³¸¦ »ç¿ëÇÒ ¼öµµ ÀÖÁö¸¸, ±×·¸°Ô ÇÏÁö ¾ÊÀ» °ÍÀ» °­·ÂÈ÷ ±Ç°íÇÕ´Ï´Ù. ±×¸®°í, ¼ÖÁ÷È÷ ¸»Çؼ­, ÀÌ ±ÛÀ» ÀÐ°í °è½Å´Ù¸é, ±×°Ô ¹«¾ùÀ» ¶æÇÏ´Â Áö ¸ð¸£½Ç °Ì´Ï´Ù. :-) ÇöÁ¸ MTA°¡ SendmailÀ̶ó¸é, init.d ½ºÅ©¸³Æ®¸¦ stopÀμö¸¦ ÁÖ¾î ½ÇÇàÇÏ¿© ¸ØÃâ ¼ö ÀÖ½À´Ï´Ù. ¿¹) ´ÙÀ½ Áß Çϳª°¡ À¯È¿ÇÒ °Ì´Ï´Ù. /etc/init.d/sendmail stop /sbin/init.d/sendmail stop /etc/rc.d/init.d/sendmail stop init.d/sendmail ½ºÅ©¸³Æ®¸¦ ãÀ» ¼ö ¾ø´Ù¸é, "ps -ef|grep sendmail" ¶Ç´Â "ps waux|grep sendmail"À» »ç¿ëÇؼ­ sendmailÀÇ PID¸¦ ¾Ë¾Æ³½ µÚ¿¡, ´ÙÀ½°ú °°ÀÌ Çؼ­ ¸ØÃä´Ï´Ù. kill PID-of-sendmail MTA°¡ SendmailÀÌ ¾Æ´Ï¸é, ÇØ´ç¹®¼­¿¡¼­ ¹Ù¸¥ ¸ØÃã ÀýÂ÷¸¦ Âü°íÇϽʽÿÀ. ½Ã½ºÅÛ¿¡¼­ ±âÁ¸ÀÇ MTA¸¦ ¿ÏÀüÈ÷ Á¦°ÅÇÏ´Â °Íµµ °í·ÁÇغ¼ ¸¸ÇÕ´Ï´Ù. Àû¾îµµ init.d ½ºÅ©¸³Æ®¸¦ ¹«·ÂÇÏ°Ô ÇÏ¸é ½Ã½ºÅÛÀÌ ÀçºÎÆÃÇÒ ¶§ ´Ù½Ã´Â °¡µ¿ÇÏÁö ¾Ê½À´Ï´Ù. ·¹µåÇÞ¸®´ª½º¿¡¼­´Â ´ÙÀ½°ú °°ÀÌ Çؼ­ SendmailÀ» Á¦°ÅÇÕ´Ï´Ù. rpm -e --nodeps sendmail ³¡À¸·Î, ±âÁ¸ÀÇ /usr/lib/sendmailÀ» Å¥¸ÞÀÏÆÇÀ¸·Î ¹Ù²ß´Ï´Ù. mv /usr/lib/sendmail /usr/lib/sendmail.old # ¿¡·¯¸¦ ¹«½ÃÇϼ¼¿ä mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ¿¡·¯¸¦ ¹«½ÃÇϼ¼¿ä chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old # ¿¡·¯¸¦ ¹«½ÃÇϼ¼¿ä ln -s /var/qmail/bin/sendmail /usr/lib ln -s /var/qmail/bin/sendmail /usr/sbin ÀÌÁ¦´Â Å¥¸ÞÀÏ°¡µ¿ÀÌ °¡±õ½À´Ï´Ù. ³¡´Ü°è´Â ½Ã½ºÅÛ¾Ù¸®¾î½º¸¦ µÎ¾î°³ ¸¸µå´Â °ÍÀÔ´Ï´Ù. 2.8.4. ½Ã½ºÅÛ¾Ù¸®¾î½º¸¦ ¸¸µì´Ï´Ù. ¸ðµç Å¥¸ÞÀϼ³Ä¡¿¡¼­´Â ½Ã½ºÅÛ¾Ù¸®¾î½º¸¦ ¼¼°³ ¸¸µé¾î¾ß ÇÕ´Ï´Ù. ¾Ù¸®¾î½º ¸ñÀû postmaster RFC 821 ¿ä±¸»çÇ×À̸ç, ¸á¾Öµå¹Î (´ç½Å)À» °¡¸®Åµ´Ï´Ù. mailer-daemon ¹Ù¿î½º¸á¿¡ ´ëÇÑ »ç½Ç»óÀÇ Ç¥ÁؼöÃëÀÎ root Ư±Ç°èÁ¤¿¡¼­ ¿Â ¸áÀ» ½Ã½ºÅÛ¾Öµå¹Î¿¡°Ô º¸³½´Ù. ÀÌ ¾Ù¸®¾î½ºµéÀ» ¸¸µé·Á¸é, ±×°Íµé ÇϳªÇϳª°¡ ¾îµð¿¡ ³õ¿©Á®¾ß ÇÏ´Â Áö (·ÎÄûç¿ëÀÚ, ¶Ç´Â ¿ø°ÝÁÖ¼Ò) °áÁ¤ÇÏ°í, .qmailÆÄÀÏÀ» ¸¸µé¾î¼­ °®´Ù³õÀ¸¸é µË´Ï´Ù. ¿¹¸¦ µé¾î, ·ÎÄûç¿ëÀÚ dave´Â ½Ã½ºÅÛ°ú ¸áÀÇ ¾Öµå¹ÎÀ̶ó°í ÇÏ¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. echo dave > /var/qmail/alias/.qmail-root echo dave > /var/qmail/alias/.qmail-postmaster ln -s .qmail-postmaster > /var/qmail/alias/.qmail-mailer-daemon chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster 2.8.5. Å¥¸ÞÀÏÀ» °¡µ¿ÇÕ´Ï´Ù. ¸¶Áö¸·À¸·Î, Å¥¸ÞÀÏÀ» °¡µ¿ÇÕ´Ï´Ù. /usr/local/sbin/qmail start 2.9. ¼³Ä¡¸¦ ½ÃÇèÇÕ´Ï´Ù. Å¥¸ÞÀÏÀÌ Áö±ÝÂë ¿îÇàÇÏ°í ÀÖÀ»°Ì´Ï´Ù. TEST.deliver, TEST.receive¿¡ ÀÖ´Â Áö½Ã»çÇ×À» µû¸£½Ã¸é Á¦´ë·Î ÀÛµ¿ÇÏ°í ÀÖ´Â Áö °Ë»çÇÒ ¼ö ÀÖ½À´Ï´Ù. À̵é Áö½Ã»çÇ×À» ÀÌ¿ëÇϸé, ·Î±×´Â splogger°¡ ¾Æ´Ñ accustamp¿Í cyclog°¡ ¸¸µç´Ù´Â °ÍÀ» ¾Ë¾ÆµÎ½Ê½Ã¿À. 3. ¼³Á¤ ±ÇÀå ¼Ò½ºÅ¸º¼ ¹æ¹ýÀ̳ª, ÀÚµ¿ÄÄÆÄÀÏ ÆÐÄÉÁö·ÎºÎÅÍ Å¥¸ÞÀÏÀ» ¼³Ä¡Çϼ̽À´Ï´Ù. À̹ø Ç׸ñ¿¡´Â ¸á¾Öµå¹ÎÀ̳ª ½Ã½ºÅÛ¾Öµå¹ÎÀÌ ÀڱⰡ ¿øÇÏ´Â ´ë·Î Å¥¸ÞÀÏÀ» ¿î¿µÇϱâ À§ÇØ Å¥¸ÞÀÏÀ» ¼³Á¤ÇÏ´Â µ¥ ÇÊ¿äÇÑ Á¤º¸°¡ ÀÖ½À´Ï´Ù. 3.1. ¼³Á¤ÆÄÀÏ ¸ðµç Å¥¸ÞÀÏ ½Ã½ºÅÛ¼³Á¤ÆÄÀÏÀº alias¿¡ ÀÖ´Â .qmailÆÄÀÏÀ» »©°í´Â ¸ðµÎ /var/qmail/control¿¡ ³õ¿©Á® ÀÖ½À´Ï´Ù. qmail-control ¸ÇÆäÁö¿¡´Â ´ÙÀ½°ú °°Àº Å×À̺íÀÌ ÀÖ½À´Ï´Ù. Control Default Used by Purpose badmailfrom none qmail-smtpd blacklisted From addresses bouncefrom MAILER-DAEMON qmail-send username of bounce sender bouncehost me qmail-send hostname of bounce sender concurrencylocal 10 qmail-send max simultaneous local deliveries concurrencyremote 20 qmail-send max simultaneous remote deliveries defaultdomain me qmail-inject default domain name defaulthost me qmail-inject default host name databytes 0 qmail-smtpd max number of bytes in message (0=no limit) doublebouncehost me qmail-send host name of double bounce sender doublebounceto postmaster qmail-send user to receive double bounces envnoathost me qmail-send default domain for addresses without "@" helohost me qmail-remote host name used in SMTP HELO command idhost me qmail-inject host name for Message-ID's localiphost me qmail-smtpd name substituted for local IP address locals me qmail-send domains that we deliver locally me FQDN of system various default for many control files morercpthosts none qmail-smtpd secondary rcpthosts database percenthack none qmail-send domains that can use "%"-style relaying plusdomain me qmail-inject domain substituted for trailing "+" qmqpservers none qmail-qmqpc IP addresses of QMQP servers queuelifetime 604800 qmail-send seconds a message can remain in queue rcpthosts none qmail-smtpd domains that we accept mail for smtpgreeting me qmail-smtpd SMTP greeting message smtproutes none qmail-remote artificial SMTP routes timeoutconnect 60 qmail-remote how long, in seconds, to wait for SMTP connection timeoutremote 1200 qmail-remote how long, in seconds, to wait for remote server timeoutsmtpd 1200 qmail-smtpd how long, in seconds, to wait for SMTP client virtualdomains none qmail-send virtual domains and users ƯÁ¤ ÄÁÆ®·Ñ ÆÄÀÏ¿¡ ´ëÇØ Á¤º¸¸¦ ´õ ¿øÇϽøé, "Used by"¹Ø¿¡ ¿­°ÅµÈ ¸ðµâ¿¡ ÇØ´çÇÏ´Â ¸ÇÆäÁö¸¦ ÂüÁ¶ÇϽʽÿÀ. 3.2. ¸±·¹ÀÌ 3.2.1. ¼Ò°³¼­ ¸±·¹ÀÌ´Â ¹«¾ùÀϱî¿ä? MTA°¡ SMTP¸¦ ÅëÇؼ­ ¸Þ¼¼Áö¸¦ ¹Þ¾ÆµéÀÌÁö¸¸, ·ÎÄÃÁÖ¼Ò ¶Ç´Â ·ÎÄü۽ÅÀÚ°¡ ¾Æ´Ò¶§¸¦ ¸»ÇÕ´Ï´Ù. ½ºÆÔÀÌÀü½Ã´ë¿¡´Â MTA°¡ °ø°³¸±·¹ÀÌ·Î ¼³Á¤µÇ´Â °ÍÀÌ º¸ÅëÀ̾ú½À´Ï´Ù. ¼Û½ÅÀÚ/¼ö½ÅÀÚ°¡ ´©±¸µç Áö ¸áÀ» ¼ö¿ëÇÏ´Â ¹«Â÷º°¼­¹ö¿´½À´Ï´Ù. ¿äÁòÀÇ MTA´Â ´ë°³ ¸±·¹À̸¦ ±ÝÁöÇϰųª, ÀÏÁ¤ÇÑ ¹ÏÀ»¸¸ÇÑ »ç¿ëÀÚ³ª ½Ã½ºÅÛ¿¡°Ô¸¸ ¸±·¹À̸¦ Çã¿ëÇÏ°í ÀÖ½À´Ï´Ù. 3.2.2. ¸±·¹ÀÌ ±ÝÁö °ø½Ä Å¥¸ÞÀϼ³Ä¡Áö½Ã»çÇ×À» µû¸£¸é ¸±·¹ÀÌ´Â ±âº»ÀÌ ¾ÈµÇ°Ô µÇ¾îÀÖ½À´Ï´Ù. ÀÌ°ÍÀº locals¿Í virtualdomains¿¡ ÀÖ´Â µµ¸ÞÀÎ ³×Àӵ鿡 ÀÖ´Â µµ¸ÞÀÎ ³×ÀÓµéÀ» /var/qmail/control/rcpthostsÆÄÀÏ¿¡ Àû±â ¶§¹®ÀÔ´Ï´Ù. rcpthostsÅëÁ¦ÆÄÀÏÀ̸§Àº SMTP RCPT (¼ö½ÅÀÚ) ¸í·É¾î¿¡¼­ À¯·¡ÇÕ´Ï´Ù. SMTP ¼¼¼Ç¿¡¼­ RCPT´Â ¸Þ¼¼Áö¼ö½ÅÀÎÀÇ ÁÖ¼Ò¸¦ ¹àÈ÷´Â µ¥ ¾¹´Ï´Ù. ±×·¯¸é rcpthosts´Â RCPT ÁÖ¼Ò¿¡ ³ªÅ¸³ª´Â À¯È¿ÇÑ È£½ºÆ®³×ÀÓÀ» ¸®½ºÆ®ÇÕ´Ï´Ù. 3.2.3. ¸±·¹À̼±ÅÃÀ» Çã¿ëÇϱ⠴ëºÎºÐÀÇ ´ÜÀÏ»ç¿ëÀÚ¿Í ¼Ò±Ô¸ð ¼­¹ö´Â ¸±·¹À̸¦ ¿ÏÀüÈ÷ ±ÝÁöÇÒ ¼ö ÀÖÁö¸¸, ºÐ»êµÈ »ç¿ëÀÚ °øµ¿Ã¼¸¦ Áö¿øÇÏ·Á¸é »ç¿ëÀÚ¿¡°Ô¸¸Àº ¸±·¹ÀÌ¿ëÀ¸·Î ¼­¹ö¸¦ ÀÌ¿ëÇÏ°Ô ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀÌ ÇÊ¿äÇÕ´Ï´Ù. ÀÌ°ÍÀº qmail-smtpd¿¡°Ô rcpthosts ÆÄÀÏÀ» ¹«½ÃÇϵµ·Ï tcpserver¸¦ ½á¼­ RELAYCLIENTȯ°æº¯¼ö¸¦ Á¤ÇÏ¸é µË´Ï´Ù. º»¹®¼­ÀÇ ¼³Ä¡Áö½Ã»çÇ×À» µû¸£¸é, ¸±·¹À̼±ÅÃÀº ±âº»ÀÔ´Ï´Ù. Ŭ¶óÀ̾ðÆ®¿¡°Ô ¸±·¹ÀÌÁ¢±Ù±ÇÇÑÀ» ÁÖ·Á¸é /etc/tcp.smtp¿¡ ´ÙÀ½À» ÷°¡ÇϽʽÿÀ. IP address of client:allow,RELAYCLIENT="" ±×¸®°í³ª¼­ SMTP Á¢±Ù±ÇÇÑ µ¥ÀÌÅͺ£À̽º¸¦ ÀçÄÄÆÄÀÏÇϽʽÿÀ. tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp chmod 644 /etc/tcp.smtp* °ø½Ä¼³Ä¡Áö½Ã»çÇ×À» µû¶ú´Ù¸é, Chris JohnsonÀÌ Å¥¸ÞÀÏÀÌ Æ¯Á¤È£½ºÆ®¿¡°Ô¸¸ ¸±·¹À̸¦ Çã¿ëÇϵµ·Ï ¼³Á¤ÇÏ´Â ¹æ¹ýÀ» ÀûÀ¸¼ÌÀ¸´Ï ¸¦ Âü°íÇϵµ·Ï ÇϽʽÿÀ. 3.3. ´ÙÁß È£½ºÆ®³×ÀÓ È£½ºÆ®°¡ ÇÑ À̸§ÀÌ»óÀ¸·Î ¾Ë·ÁÁö¸é, ¿¹¸¦ µé¾î¼­ user@host1.exampleÀ» user@example.comÀ̳ª user@mail.example.com µîÀ¸·Î ÀûÀ» ¼ö ÀÖ´Ù¸é, Å¥¸ÞÀÏ¿¡ ÀÌ·± ³»¿ëÀ» ¾Ë·Á¼­ ¾î¶² ÁÖ¼Ò·Î ³»ºÎ¿¡¼­ Àü´ÞÇÒ Áö, ¿ø°Ý½Ã½ºÅÛ¿¡¼­ ¾î¶² ¸Þ¼¼Áö¸¦ ¹ÞÀ» Áî µîÀ» ¾Ë°Ô ÇÕ´Ï´Ù. ±×·¸°Ô ÇÏ·Á¸é, ÅëÁ¦ÆÄÀÏ µÎ °³¿¡ ¸ðµç À̸§À» ÷°¡Çϱ⸸ ÇÏ¸é µË´Ï´Ù. o rcpthosts: qmail-smtpd¿¡°Ô À̵é È£½ºÆ®·Î ÁÖ¼Ò¸¦ °¡Áø ¸áÀ» ¹Þ¾ÆµéÀÌ°Ô ÇÕ´Ï´Ù. o locals: qmail-send¿¡°Ô À̵é È£½ºÆ®ÀÇ ÁÖ¼Ò´Â ³»ºÎ¿¡¼­ Àü´ÞµÇ°Ô ÇÕ´Ï´Ù. 3.4. ¹öÃò¾óµµ¸ÞÀÎ ¹öÃò¾óµµ¸ÞÀÎÀº ÀüÇ׸ñ¿¡¼­ ¸»¾¸µå¸° ´ÙÁßÈ£½ºÆ®³×ÀÓ°ú ºñ½ÁÇÕ´Ï´Ù¸¸, ¸î°¡Áö Áß¿äÇÑ Â÷ÀÌÁ¡ÀÌ ÀÖ½À´Ï´Ù. ù°·Î, example.net¿¡ virtual.example.comÀ̶ó´Â ¹öÃò¾óµµ¸ÞÀÎÀÌ ÀÖ´Ù¸é, joe@example.net¿¡°Ô º¸³½ ¸Þ¼¼Áö´Â ´ë°³ joe@virturl.example.comÀ¸·Î º¸³½ ¸ÞÁ¦Áö¿Í °°Àº ¸áº¹½º¿¡¼­ ³¡³ªÁö ¾Ê½À´Ï´Ù. ¹öÃ߾󵵸ÞÀο¡ ´ëÇÑ À̸§Àº º°°³ÀÔ´Ï´Ù. Å¥¸ÞÀÏ¿¡¼­ ¹öÃò¾óµµ¸ÞÀÎÀº virtualdomainsÆÄÀÏ¿¡ ¼³Á¤µÇ´Âµ¥, ´ÙÀ½Çü½ÄÀ¸·Î Çϳª ¶Ç´Â ±× ÀÌ»óÀ» Àû½À´Ï´Ù. Å¥¸ÞÀÏÀº user@domainÀ» prepend-user@domainÀ¸·Î º¯È¯ÇÏ°í, ±× °á°ú¸¦ µµ¸ÞÀÎÀÌ ·ÎÄÃÀÎ °Íó·³ Ãë±ÞÇÕ´Ï´Ù. user@ºÎºÐÀº ¼±ÅÃÀÔ´Ï´Ù. »ý·«Çϸé, ¸ðµç @domainÁÖ¼Ò¿Í ÀÏÄ¡ÇÕ´Ï´Ù. À§ÀÇ example¾¾³ª¸®¿À¸¦ ´Ù½Ã º¸¸é, example.netÀÇ ¸á¾Öµå¹ÎÀÌ john»ç¿ëÀÚÀÇ ¾Öµå¹Î ÅëÁ¦ÇÏ¿¡ virtual.example.comÀ̶ó´Â ¹öÃò¾óµµ¸ÞÀÎÀ» ¸¸µé±â À§Çؼ­´Â ´ÙÀ½°ú °°ÀÌ virtualdomains¿¡ ½á³Ö¾î¾ß ÇÕ´Ï´Ù. virtual.example.com:john joe@virtual.example.com·Î µé¾î¿À´Â ¸Þ¼¼Áö´Â john- joe@virtual.example.comÀ¸·Î ½áÁö°í, ³»ºÎ¿¡¼­ Àü´ÞµË´Ï´Ù. johnÀÌ ¾î¶»°Ô ¹öÃò¾óµµ¸ÞÀÎÀ» °ü¸®ÇÏ´Â Áö .qmailÇ׸ñÀÇ ÁÖ¼Ò¿¬Àå ºÎÇ׸ñÀ» º¸½Ã±â ¹Ù¶ø´Ï´Ù. ´ÙÁßÈ£½ºÆ®³×ÀÓ°ú °°ÀÌ ¸ðµç ¹öÃò¾óµµ¸ÞÀÎÀº rcpthosts¿¡ ¸®½ºÆ®µÇ¾î¼­ qmail-smtpd°¡ ±×°÷À¸·Î ÁÖ¼ÒµÈ ¸Þ¼¼ÁöµéÀ» ¹Þ¾ÆµéÀÌ°Ô ÇÕ´Ï´Ù. ±×·¸Áö¸¸, ´ÙÁßÈ£½ºÆ®³×ÀÓ°ú Ʋ¸°Á¡Àº ¹öÃò¾óµµ¸ÞÀÎÀ» locals¿¡ ÷°¡Çؼ­´Â ¾ÈµË´Ï´Ù -------------------------------------------------------------------------------- À¯ÀÇÁ¡: DNS¿Í MX±â·ÏÀº ¹öÃò¾óµµ¸ÞÀÎÀ¸·Î °¡´Â ¸Þ¼¼Áö¸¦ ÀûÀýÇÑ ¸á¼­¹ö·Î µ¹¸®µµ·Ï ¼³Ä¡µÇ¾î¾ß ÇÕ´Ï´Ù. ÀÌ°ÍÀº ³×ÀÓ¼­¹ö¾Öµå¹ÎÀÌ ÇÒÀÏÀÌ°í, º» °¡À̵åÀÇ ¹üÀ§¸¦ ¹þ¾î³³´Ï´Ù. -------------------------------------------------------------------------------- 3.5. ¾Ù¸®¾î½º Å¥¸ÞÀÏÀÇ Ç¥ÁØ ¾Ù¸®¾î½º±â¼úÀº Å¥¸ÞÀÏÀÇ ·ÎÄÃÀü´Þ±â¼úÀÌ ÀÚ¿¬È÷ ¹ßÀüÇÑ °ÍÀÔ´Ï´Ù. qmail-localÀº localpart@hostÀ» ÁÖ¼Ò·Î ÇÏ´Â ¸Þ¼¼Áö¸¦ localpart¶ó´Â À̸§ÀÇ ·ÎÄûç¿ëÀÚ¿¡°Ô Àü´ÞÇÏ·Á°í ÇÕ´Ï´Ù. ¸Â´Â »ç¿ëÀÚ°¡ ¾øÀ¸¸é ¸Þ¼¼Áö´Â Àüü Å¥¸ÞÀϽýºÅÛ¿¡¼­ /var/qmail/alias°¡ Ȩµð·ºÅ丮ÀÎ pseudo-user ¾Ù¸®¾î½º »ç¿ëÀÚ¿¡°Ô Àü´ÞµË´Ï´Ù. ¿¹¸¦ µé¾î ¸Þ¼¼Áö¸¦ tom»ç¿ëÀÚ¿¡°Ô ȸ¼ÛÇÏ´Â info@example.com¾Ù¸®¾î½º¸¦ ¸¸µé°íÀÚ ÇÑ´Ù°í ÇսôÙ. example.com¿¡¼­ ·í»ç¿ëÀڷμ­ ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. echo tom > /var/qmail/alias/.qmail-info .qmailÇ׸ñ°ú ÁÖ¼Ò¿¬ÀåºÎÇ׸ñ¿¡¼­ ¾î¶² ¾Ù¸®¾î½º°¡ ÀÖ´Â Áö Á¤ÇÏ´Â .qmailÆÄÀÏÀ» ¾î¶»°Ô ¸¸µé°í, Àü´ÞµÇ´Â ¸Þ¼¼Áö·Î ¹«¾ùÀ» ÇØ¾ß ÇÏ´Â Áö ¼³¸íÇÕ´Ï´Ù. Å¥¸ÞÀÏ¿¡¼­ ¾Ù¸®¾î½º°¡ ½ÇÇàµÇ´Â ¹æ½Ä¶§¹®¿¡ ¾Ù¸®¾î½º°¡ Á¤´çÇÑ »ç¿ëÀÚ Àü´ÞÀ» ¹«½ÃÇÒ ¼ö´Â ¾ø´Ù´Â °ÍÀ» À¯ÀÇÇϽʽÿÀ. fastforwardÆÐÄÉÁö¿¡´Â SendmailÀÇ ¾Ù¸®¾î½º µ¥ÀÌÅͺ£À̽º¿Í ȣȯÇÏ´Â ´ÜÀÏÆÄÀÏ¿¡ ´ÙÁß¾Ù¸®¾î½º¸¦ Àû´Â ´ëü°¡´É ¾Ù¸®¾î½º±â¼úÀÌ ÀÖ½À´Ï´Ù. ´ÙÀ½ Ç׸ñÀÎ qmail-users¿¡¼­ ¾Ù¸®¾î½º¸¦ ½ÇÇàÇÒ ¼ö ÀÖ´Â ´Ù¸¥ ±â¼úÀ» ¼³¸íÇÕ´Ï´Ù. 3.6. qmail-users qmail-users´Â »ç¿ëÀÚ¿¡°Ô ÁÖ¼Ò¸¦ ÇÒ´çÇÏ´Â ½Ã½ºÅÛÀÔ´Ï´Ù. ¼³Á¤ÆÄÀϵéÀÌ /var/qmail/users¿¡ ³õÀÔ´Ï´Ù. ÇÒ´çÆÄÀÏÀº ÇÒ´çÅ×À̺íÀÔ´Ï´Ù. simple°ú wildcard µî µÎ Á¾·ùÀÇ ÇÒ´çÀÌ ÀÖ½À´Ï´Ù. -------------------------------------------------------------------------------- À¯ÀÇÁ¡: assignÀº ÇÑ ÁÙ¿¡ ÇÒ´çµéÀ» °®´Âµ¥, ´ÙÀ½ÁÙ¿¡ ¸¶Ä§Ç¥¸¦ Àû¾îÁÝ´Ï´Ù. assignÀ» ¼öµ¿À¸·Î ¸¸µå½Ã¸é ¸¶Ä§Ç¥ÁÙÀ» ÀØÁö ¸¶½Ê½Ã¿À. --------------------------------------------------------------------------------- 3.6.1. °£´ÜÇÑ ÇÒ´ç °£´ÜÇÑ ÇÒ´çÀº ´ÙÀ½°ú °°½À´Ï´Ù. =address:user:uid:gid:directory:dash:extension: address·Î ¹ÞÀº ¸Þ¼¼Áö´Â user»ç¿ëÀÚ·Î ÀÛµ¿Çϴµ¥, ƯÁ¤ uid¿Í gid·Î Çϸç, directory/.qmaildashextensionÆÄÀÏ¿¡ ¸Þ¼¼Áö¸¦ ¾î¶»°Ô Àü´ÞÇØ¾ß ÇÏ´Â Áö¸¦ ±ÔÁ¤ÇÑ´Ù´Â ¶æÀÔ´Ï´Ù. 3.6.2. ¿ÍÀϵåÄ«µå ÇÒ´ç ¿ÍÀϵåÄ«µå ÇÒ´çÀº ´ÙÀ½°ú °°½À´Ï´Ù. +prefix:user:uid:gid:directory:dash:prepend: prefixÇü½ÄÀÇ ÁÖ¼Ò·Î ¼ö½ÅµÈ ¸Þ¼¼Áö´Â user»ç¿ëÀÚ·Î ÀÛµ¿Çϴµ¥, ƯÁ¤ uid¿Í gid·Î Çϸç, directory/.qmaildashprependÆÄÀÏ¿¡ ¸Þ¼¼Áö¸¦ ¾î¶»°Ô Àü´ÞÇØ¾ß ÇÏ´Â Áö¸¦ ±ÔÁ¤ÇÑ´Ù´Â ¶æÀÔ´Ï´Ù. 3.6.3. qmail-user ÇÁ·Î±×·¥µé qmail-user¿¡´Â µµ¿ì¹Ì ÇÁ·Î±×·¥ÀÌ µÎ °³ Àִµ¥, qmail-newu¿Í qmail- pw2uÀÔ´Ï´Ù. qmail-newu´Â assignÆÄÀÏÀ» ó¸®Çؼ­ /var/qmail/users¿¡ cdb¶ó´Â contstant µ¥ÀÌÅͺ£À̽º(CDB)ÆÄÀÏÀ» ¸¸µê´Ï´Ù. CDB´Â ¹ÙÀ̳ʸ® Çü½ÄÀÌ¶ó¼­ ÇÒ´çÀÌ ¼öõ°³¶óµµ qmail-lspawnÀ¸·Î ¸Å¿ì »¡¸® Á¢±ÙÇÕ´Ï´Ù. qmail-pw2u´Â ½Ã½ºÅÛ»ç¿ëÀÚµ¥ÀÌÅͺ£À̽ºÀÎ /etc/passwd¸¦ assign¿¡ ÀûÇÕÇÑ ÇÒ´çÀ¸·Î º¯È¯ÇÕ´Ï´Ù. qmail-pw2u´Â º¯È¯±ÔÄ¢À» °íÄ¡´Â ÆÄÀÏ ¸î°³¸¦ »ç¿ëÇÕ´Ï´Ù. o include: Æ÷ÇÔÇÒ »ç¿ëÀÚ o exclude: Á¦¿ÜÇÒ »ç¿ëÀÚ o mailnames: »ç¿ëÀÚ¿¡ ´ëÇÑ ´ëü mailnames o subusers: »ç¿ëÀÚ°¡ ó¸®ÇÏ´Â °¡¿ÜÁּҷμ­ .qmailÈ®ÀåÀº ¼±ÅûçÇ×ÀÔ´Ï´Ù. o append: ¿©·¯°¡Áö ÇÒ´ç --------------------------------------------------------------------------------- À¯ÀÇÁ¡: qmail-pw2u¸¦ »ç¿ëÇϸé, »ç¿ëÀÚ¸¦ Ãß°¡, »èÁ¦Çϰųª UID³ª GID¸¦ ¹Ù²Ü ¶§¸¶´Ù qmail-pw2u¿Í qmail-newu¸¦ Àç°¡µ¿ÇÏ¼Å¾ß ÇÕ´Ï´Ù. --------------------------------------------------------------------------------- 4. »ç¿ë¹ý ÀÌ Ç׸ñ¿¡¼­´Â º¸Åë»ç¿ëÀÚ°¡ Å¥¸ÞÀÏÀ» »ç¿ëÇÏ´Â ¹ýÀ» ´Ù·ì´Ï´Ù. Å¥¸ÞÀϽýºÅÛ¿¡¼­ ¸áÀ» Àаųª º¸³½´Ù¸é, ¿©±â¿¡¼­ ¾î¶»°Ô Å¥¸ÞÀÏÀ» ÀÌ¿ëÇÏ´Â Áö¸¦ ¾Ë°Ô µÉ°Ì´Ï´Ù. 4.1. .qmailÆÄÀÏ »ç¿ëÀÚ¸áÀÇ Àü´ÞÀº ´ë°³ .qmailÆÄÀÏÀÌ ÅëÁ¦Çϴµ¥, À̰͵éÀº »ç¿ëÀÚ È¨µð·ºÅ丮¿¡ .qmail·Î ½ÃÀÛÇÏ´Â À̸§À¸·Î µÇ¾îÀÖ½À´Ï´Ù. dot- qmail¸ÇÆäÁö¿¡ .qmailÆÄÀÏ »ç¿ë¹ýÀ» ¼³¸íÇØ ³õ¾Ò½À´Ï´Ù. .qmailÆÄÀÏ¿¡´Â Àü´ÞÁö½Ã»çÇ×ÀÌ ÇÑ ÁÙ¿¡ Çϳª¾¿ µé¾îÀÖ½À´Ï´Ù. ÁÙÀÇ Ã³À½¹®ÀÚ´Â Àü´Þ¹æ¹ýÀ» °áÁ¤ÇÕ´Ï´Ù. ¹®ÀÚ Àü´ÞÇüÅ °ª # ¾ø½¿ (ÄÚ¸àÆ®) ¹«½Ã | ÇÁ·Î±×·¥ ¼ÐÀÌ ½ÇÇàÇÒ ¸í·É¾î / ¶Ç´Â . mbox (¸¶Áö¸·±ÛÀÚ°¡ mbox °æ·Î (/³ª .¸¦ Æ÷ÇÔ) /ÀÌ ¾Æ´Ï¸é) / ¶Ç´Â . maildir (¸¶Áö¸· mbox °æ·Î (/³ª .¸¦ Æ÷ÇÔ) ±ÛÀÚ°¡ /À̸é) & Æ÷¿öµå ¸Þ¼¼Áö¸¦ Æ÷¿öµåÇÒ ÁÖ¼Ò ±ÛÀÚ ¶Ç´Â ¼ýÀÚ Æ÷¿öµå ¸Þ¼¼Áö¸¦ Æ÷¿öµåÇÒ ÁÖ¼Ò (ù±ÛÀÚ¸¦ Æ÷ÇÔ) 4.1.1. ÇÁ·Î±×·¥Àü´Þ ÇÁ·Î±×·¥Àü´ÞÁö½Ã¸¦ ¸¸³ª¸é Å¥¸ÞÀÏÀº ¼Ð(/bin/sh)À» °¡µ¿Çؼ­ ¸í·ÉÀ» ½ÇÇàÇϴµ¥, µé¾î¿À´Â ¸Þ¼¼Áö¸¦ º¹»çÇؼ­ ¸í·É¿¡ Ç¥ÁØÀÔ·ÂÀ¸·Î ³Ö½À´Ï´Ù. qmail-command¸ÇÆäÁö¿¡ ÀÌ ÀýÂ÷¸¦ ÀÚ¼¼È÷ ¼³¸íÇØ ³õ¾Ò½À´Ï´Ù. ÇÁ·Î±×·¥Àü´ÞÀº ¸Å¿ì °­·ÂÇÏ°í ¸Å¿ì ³ÐÀº ±â´ÉÀ» ±¸ÇöÇÒ ¼ö Àִµ¥, ¸Þ¼¼ÁöÇÊÅ͸µ, ¸Þ¼¼Áö¿¡ ÀÚµ¿À¸·Î ´äÇϱâ, procmail µî Á¦3ÀÚ Àü´ÞÀÚ¸¦ ÅëÇØ Àü´ÞÇÏ´Â °ÍµîÀÔ´Ï´Ù. ¿¹) |preline /usr/ucb/vacation djb ÀÌ·¸°Ô Çϸé Å¥¸ÞÀÏÀº prelineÀ» °¡µ¿Çؼ­ /usr/ucb/vacation°ú djb¸¦ Àμö·Î ÁÖ°í, ¸Þ¼¼Áöº¹»çº»À» Ç¥ÁØÀÔ·ÂÀ¸·Î Á¦°øÇÕ´Ï´Ù. 4.1.2. mbox Àü´Þ Mbox´Â Å¥¸ÞÀÏ ¿ë¾î·Î¼­ Ç¥ÁØ À¯´Ð½º ¸áº¹½º ÇüÅÂÀε¥, ´ÙÁ߸޼¼Áö¸¦ ´ÜÀÏÆÄÀÏ¿¡ ÀúÀåÇÏ°í, ¸Þ¼¼Áö¿¡´Â "From "ÁÙÀÌ ¸Ó¸®¿¡ ÀÖ½À´Ï´Ù. ÀÌ ÁÙÀº Çì´õÇʵ尰ÀÌ º¸ÀÌÁö¸¸ ¾Æ´Õ´Ï´Ù. ÀÌ°ÍÀº ´Ù¸¸ Àü´ÞÀÚ°¡ ÷°¡Çؼ­ ¸áÀ» Àд »ç¶÷ÀÌ ÇØ´ç¸Þ¼¼Áö°¡ ½ÃÀÛÇÏ´Â °÷À» ¾Ë°ÔÇÏ´Â °Í»ÓÀÔ´Ï´Ù. ¿¹: ./Mailbox ÀÌ·¸°Ô Çϸé "From "ÁÙÀ» ¾Õ¿¡ ºÙ¿©¼­ $HOME/Mailbox¿¡ Ãß°¡ÇÕ´Ï´Ù. ´ÜÀÏ ¸Þ¼¼Áö¸¦ º¸À¯ÇÑ °£´ÜÇÑ mbox¸áº¹½º´Â ´ÙÀ½°ú °°½À´Ï´Ù. From user1@example.net Thu May 13 18:34:50 1999 Received: (qmail 1287205 invoked from network); 13 May 1999 18:34:49 -0000 From: user1@example.net To: user2@example.com Subject: hey What's up? ùÁÙÀº Å¥¸ÞÀÏÀÌ Àü´ÞÇϸ鼭 ÷°¡ÇÑ °ÍÀÔ´Ï´Ù. 4.1.3. maildir Àü´Þ "Maildir"´Â Dan BernsteinÀÌ ¸¸µç ¸áº¹½ºÇüÅ·μ­ mboxÇüÅÂÀÇ °áÁ¡À» ¸»ÇØÁÝ´Ï´Ù. maildir¸áº¹½º¿¡´Â µð·ºÅ丮·Î¼­ ¼·µð·ºÅ丮°¡ ¼¼°³ Àִµ¥, new, cur, tmp µîÀÔ´Ï´Ù. maildir¸áº¹½º¿¡ ÀÖ´Â °¢ ¸Þ¼¼Áö´Â »óÅ¿¡ µû¶ó ºÎµð·ºÅ丮Áß Çϳª¿¡ º°°³ÆÄÀÏ·Î µÇ¾îÀִµ¥, new´Â ÀÐÁö ¾ÊÀº ¸Þ¼¼Áö°¡, cur´Â ÀÐÀº ¸Þ¼¼Áö°¡, tmp´Â Àü´ÞÁßÀÎ ¸Þ¼¼Áö°¡ µé¾î ÀÖ½À´Ï´Ù. maildir¸ÇÆäÁö¿¡ maildirÇü½Ä¿¡ ´ëÇØ ÀÚ¼¼È÷ ¼³¸íÇÏ¿´½À´Ï´Ù. maildirÀÇ ÀÌÁ¡Áß Çϳª´Â ´Ù¸¥ Àü´ÞÀÚ°¡ µ¿½Ã¿¡ ¾÷µ¥ÀÌÆ®ÇÏ´Â °ÍÀ» ¸·±âÀ§ÇØ ÇÏ´Â ·ÏÅ·À» »ç¿ëÇÏÁö ¾Ê¾Æµµ È®½ÇÇÏ´Ù´Â °Ì´Ï´Ù. ÀÌ°ÍÀº maildir¸áº¹½º´Â NFS¸¦ ¸¶¿îÆ®ÇÑ ÆÄÀϽýºÅÛ¿¡ ¾ÈÀüÇÏ°Ô »ç¿ëÇÒ ¼ö ÀÖ´Ù´Â °ÍÀ» ¶æÇÕ´Ï´Ù. ¿¹: ./Maildir/ ÀÌ°ÍÀº ¸Þ¼¼Áö¸¦ maildirÇüÅÂÀÇ ¸áº¹½ºÀÎ $HOME/Maildir¿¡ ÀúÀåÇÕ´Ï´Ù. ------------------------------------------------------------------------------ À¯ÀÇÁ¡: maildir¸áº¹½º´Â Å¥¸ÞÀÏ°ú °°ÀÌ Á¦°øÇÏ´Â maildirmakeÇÁ·Î±×·¥À¸·Î ¸¸µì´Ï´Ù. ¿¹) maildirmake ~/Maildir ------------------------------------------------------------------------------ 4.1.4. Æ÷¿öµå Àü´Þ Æ÷¿öµåÀü´ÞÀº ¸í½ÃÁÖ¼Ò·Î ¸Þ¼¼Áö¸¦ ´Ù½Ãº¸³À´Ï´Ù. .qmailÆÄÀÏ¿¡ ¸í½ÃÇÑ ÁÖ¼Ò´Â ¿ÏÀüÀÚ°ÝÀ̾î¾ß Çϸç, Ä¿¸àÆ®Çʵå¿Í ¿©¹éÀÌ ¾ø¾î¾ß ÇÕ´Ï´Ù. ´ÙÀ½Àº Ʋ·È½À´Ï´Ù. & & user@example.com &Joe User &user ´ÙÀ½°ú °°ÀÌ ÇؾßÇÕ´Ï´Ù. &user@example.com user@example.com ±×·¯¸é ¸Þ¼¼Áö»çº»À» user@example.com·Î º¸³À´Ï´Ù. 4.1.5. ¿¬ÀåÁÖ¼Ò Å¥¸ÞÀÏ¿¡¼­´Â »ç¿ëÀÚÅëÁ¦ ¿¬ÀåÁÖ¼Ò¸¦ Áö¿øÇÕ´Ï´Ù. ±âº»ÁÖ¼ÒÀÎ username@hostname.domain¿Ü¿¡ »ç¿ëÀÚ´Â username- extension@hostname.domainÀ¸·Î ¸áÀ» ¹ÞÀ» ¼ö ÀÖ½À´Ï´Ù. ¿ì¸®´Â Áö±Ý ·ÎÄýýºÅÛ¿¡¼­ ÀϾ´Â ÇൿÀ» °í·ÁÇÏ°í ÀÖÀ¸¹Ç·Î, ¾ÕÀ¸·Î À̹ø Ç׸ñ¿¡¼­´Â "@hostname.domain"ºÎºÐÀº ÀûÁö ¾Ê±â·Î ÇÕ´Ï´Ù. username-extension¿¡ ´ëÇÑ Àü´ÞÁö½Ã»çÇ×Àº username/.qmail-extension¿¡ ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¸é, dave-lwq@sparge.example.comÀº spargeÈ£½ºÆ®¿¡ ÀÖ´Â dave/.qmail-lwq°¡ ÅëÁ¦ÇÕ´Ï´Ù. ¿¬ÀåÀº º¹¼öÇʵå·Î µÉ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¸é dave-list-qmailÀε¥, dave/.qmail-list-qmailÀÌ ÅëÁ¦ÇÕ´Ï´Ù. À̹ø ¿¹¿¡¼­ dave-list-qmailÀº Å¥¸ÞÀÏ ¸á¸µ¸®½ºÆ®¿¡ °¡ÀÔÇß°í, dave/.qmail-list-qmailÀº ¸®½ºÆ®¸Þ¼¼Áö¸¦ º°µµÀÇ ¸áº¹½º¿¡ ÆÄÀϺ¸°üÇÕ´Ï´Ù. .qmailÆÄÀϵéÀº -default¸¦ ¿ÍÀϵåÄ«µå·Î ¾¹´Ï´Ù. ±×·¡¼­ dave-list- qmailÀº /.qmail-list-default·Îµµ ó¸®ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¸°Ô ÇÏ¸é ¸ðµç dave-list-whateverÁÖ¼ÒµéÀ» ´Ù·ç´Âµ¥ À־ .qmailÆÄÀÏÀº Çϳª¸¸ À־ Á·ÇÕ´Ï´Ù. ±×·¯³ª dave-list´Â dave/.qmail-list-default°¡ ÅëÁ¦ÇÏÁö ¸øÇϴµ¥, list´ÙÀ½¿¡ "-"ÀÌ ¾ø±â ¶§¹®ÀÓÀ» À¯ÀÇÇϽʽÿÀ. Å¥¸ÞÀÏÀº ã´Â °ÍÁß¿¡¼­ Á¦ÀÏ °¡±î¿î °ÍÀ» ¾¹´Ï´Ù. ¿¹¸¦ µé¾î¼­, dave- list-qmailÀÇ ÁÖ¼Ò·Î ¸Þ¼¼Áö°¡ ¿Ô´Ù¸é, ´ÙÀ½°ú °°ÀÌ Ã£Àº °ÍÁß¿¡¼­ ù¹ø°°ÍÀ» ¾¹´Ï´Ù. o o o ÀÏÄ¡ÇÏ´Â .qmailÆÄÀÏÀÌ ¾øÀ¸¸é Àü´ÞÀº ½ÇÆÐÇÏ°í ¸Þ¼¼Áö´Â º¸³½ÀÌ¿¡°Ô µÇµ¹·ÁÁý´Ï´Ù. 4.2. ¸Þ¼¼Áö º¸³»±â ¸á»ç¿ëÀÚ´Â ¸Þ¼¼Áö¸¦ º¸³»´Â µ¥ À־ MTA¸¦ º¸Åë Á÷Á¢ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù. ´ëü·Î Mail User Agent (MUA)ÀÎ pineÀ̳ª mutt µîÀ» ½á¼­ ¸Þ¼¼Áö¸¦ ÀÛ¼ºÇÏ°í º¸³»´Âµ¥, MUA´Â MTA¸¦ È£ÃâÇؼ­ ¸Þ¼¼Áö¸¦ Àü´ÞÇÕ´Ï´Ù. MTA·Î ¸Þ¼¼Áö¸¦ °Ç³×Áִ ó¸®°úÁ¤À» injectionÀ̶ó°í ÇÕ´Ï´Ù. ´ëºÎºÐÀÇ MTA·Î ¸Þ¼¼Áö¸¦ injectÇÏ´Â ¹æ¹ý¿¡´Â µÎ °¡Áö°¡ ÀÖ½À´Ï´Ù. Simple Mail Transfer Protocol (SMTP)°ú ÀÌ ¸ñÀûÀ¸·Î MTA°¡ Á¦°øÇÏ´Â ÇÁ·Î±×·¥À» ÀÌ¿ëÇÏ´Â °ÍÀÔ´Ï´Ù. 4.2.1. SMTP MUA´Â ·ÎÄÃÈ£½ºÆ®³ª ÁöÁ¤ÇÑ ¸á¼­¹ö¿¡ Àִ ǥÁØ SMTPÆ÷Æ®ÀÎ 25¹ø Æ÷Æ®·Î TCP ¿¬°áÀ» ¿±´Ï´Ù. ±× ´ÙÀ½, MUA¿Í MTA´Â ´ÙÀ½°ú °°ÀÌ ³¡³ª´Â ´ëÈ­Áß Çϳª¸¦ ÇÕ´Ï´Ù. o the message being transfered to the MTA, ¶Ç´Â o a error status being returned to the MUA SMTP¿¡´Â ÀÎÁõÀåÄ¡°¡ ¾øÀ¸¹Ç·Î ¸Þ¼¼Áö¸¦ º¸³»´Âµ¥ À¯Àú³×ÀÓÀ̳ª Æнº¿öµå°¡ ÇÊ¿ä¾ø½À´Ï´Ù. ±×·¸Áö¸¸ ¸¹Àº MTA´Â ·ÎÄûç¿ëÀÚ°¡ º¸³»°Å³ª ¹Þ´Â °Í°°Áö ¾ÊÀº ¸Þ¼¼Áö¸¦ °ÅÀýÇÕ´Ï´Ù. Á¦´ë·ÎµÈ ¸Þ¼¼Áö°¡ rejectµÇ¸é ¸±·¹ÀÌÁ¦ÇÑÀÌ ±× ¿øÀÎÀÏ °æ¿ì°¡ Á¦ÀÏ ¸¹½À´Ï´Ù. ¸±·¹À̼³Á¤¿¡ ´ëÇÑ Á¤º¸´Â ¸±·¹ÀÌÇ׸ñÀ» º¸½Ê½Ã¿À. 4.2.2. /var/qmail/bin/sendmail ¿À·£ ¼¼¿ùµ¿¾È SendmailÀÌ À¯´Ð½º MTA¿´½À´Ï´Ù. ¾î´À °÷¿¡³ª ±×°ÍÀÌ ÀÖ¾ú±â¿¡ ¸¹Àº ÇÁ·Î±×·¡¸ÓµéÀº ÀÇ·Ê ±×°ÍÀÌ MTA¶ó°í ¿©°å½À´Ï´Ù. ±× °á°ú, SendmailÀÇ ·ÎÄà ÀÎÁ§¼Ç ÀåÄ¡°¡ ·ÎÄøáÀÎÁ§¼Ç¿¡ ´ëÇÑ Ç¥ÁØ Application Programmer's Interface (API)°¡ µÇ¾ú½À´Ï´Ù. Å¥¸ÞÀÏ°ú ±âŸ ºñSendmail MTA´Â sendmailÇÁ·Î±×·¥À» °ø±ÞÇؼ­ ·ÎÄÃÀÎÁ§¼Ç¿¡ ´ëÇؼ­ ÁøÂ¥ SendmailÀÇ sendmail°¡ ¶È±ùÀÌ ÀÛµ¿Çϵµ·Ï ÇÕ´Ï´Ù. Å¥¸ÞÀÏÀÇ sendmailÀº º¸Åë /var/qmail/bin/sendmail¿¡ Àִµ¥, ´ë°³ Å¥¸ÞÀϽýºÅÛ¿¡¼­ SendmailÀÇ sendmailÀ» ´ëüÇÕ´Ï´Ù. ÈçÈ÷ sendmailÇÁ·Î±×·¥Àº ´ÙÀ½¿¡ ÀÖ½À´Ï´Ù. o /usr/lib/sendmail o /usr/sbin/sendmail Å¥¸ÞÀϽýºÅÛ¿¡¼­ "ls -l path-to-sendmail"Çϸé sendmailÀÌ /var/qmail/bin/sendmail·Î ½Éº¼¸¯¸µÅ©µÇ¾îÀÖ½¿À» º¸¿©ÁÝ´Ï´Ù. $ ls -l /usr/lib/sendmail lrwxrwxrwx 1 root root 29 Feb 19 11:04 /usr/lib/sendmail \ -> /var/qmail/bin/sendmail 4.2.3. qmail-inject sendmail API¿Ü¿¡ Å¥¸ÞÀÏ¿¡´Â qmail-inject¶ó´Â ÀÚü ÀÎÁ§¼ÇÇÁ·Î±×·¥ÀÌ ÀÖ½À´Ï´Ù. »ç½Ç sendmailÀº qmail-injectÀÇ wrapperÀÔ´Ï´Ù. APIÀÌÁö¸¸ sendmailÀº ¸Å¿ì ³Î¸® ¾²À̹ǷΠ´õ ³ªÀº µíÇÕ´Ï´Ù. qmail- inject°¡ Á¦°øÇϴ ť¸ÞÀÏ API´Â Å¥¸ÞÀÏÀ» ¼³Ä¡ÇÑ ½Ã½ºÅÛÀ̼­¸¸ ÀÛµ¿ÇÏÁö¸¸, sendmail ÀÎÅÍÆ佺´Â °ÅÀÇ ¾îµð¿¡³ª ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¸é, joe@example.com¿¡°Ô ºó ¸Þ¼¼Áö¸¦ º¸³»·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. echo To: joe@example.com | /var/qmail/bin/qmail-inject 4.3. ȯ°æº¯¼ö Å¥¸ÞÀÏÇÁ·Î±×·¥ÀÌ È¯°æº¯¼ö¸¦ Á¤Çϰųª »ç¿ëÇϱ⵵ ÇÕ´Ï´Ù. ´ÙÀ½ÀÇ Å×ÀÌºí¿¡ º¯¼ö¸¦ ¿­°ÅÇÏ°í »ç¿ë¹ýÀ» Àû¾ú½À´Ï´Ù. º¯¼ö¸í ÇØ´ç ¸ÇÆäÁö ¼³Á¤ »ç¿ë¸ñÀû DATABYTES qmail-smtpd used Overrides control/databytes Portion of address matching DEFAULT qmail-command set "-default" in a .qmail file name. DTLINE qmail-command set Delivered-To header field EXT qmail-command set The address extension EXT2 qmail-command set Portion of EXT following first dash EXT3 qmail-command set Portion of EXT following second dash EXT4 qmail-command set Portion of EXT following third dash HOME qmail-command set The user's home directory HOST qmail-command set The domain part of the recipient address HOST2 qmail-command set Portion of HOST preceding last dot. HOST3 qmail-command set Portion of HOST preceding second-to-last dot HOST4 qmail-command set Portion of HOST preceding third-to-last dot LOCAL qmail-command set The local part of the recipient address LOGNAME qmail-inject used User name in From header field (4) MAILHOST qmail-inject used Host name in From header field (2) MAILNAME qmail-inject used Personal name in From header field (2) MAILUSER qmail-inject used User name in From header field (2) NAME qmail-inject used Personal name in From header field (3) NEWSENDER qmail-command set Forwarding sender address (see "man dot-qmail") QMAILDEFAULTDOMAIN qmail-inject used Overrides control/defaultdomain QMAILDEFAULTHOST qmail-inject used Overrides control/defaulthost QMAILHOST qmail-inject used Host name in From header field (1) QMAILIDHOST qmail-inject used Overrides control/idhost QMAILINJECT qmail-inject used Specify various options (see next table) File containing list of mailing QMAILMFTFILE qmail-inject used list addresses for Mail-Followup-To generation QMAILNAME qmail-inject used Personal name in From header field (1) QMAILPLUSDOMAIN qmail-inject used Overrides control/plusdomain QMAILSHOST qmail-inject used Host name in envelope sender address QMAILSUSER qmail-inject used User name in envelope sender address QMAILUSER qmail-inject used User name in From header field (1) RECIPIENT qmail-command set Envelope recipient address Ignore control/rcpthosts and RELAYCLIENT qmail-smtpd used append value to recipient address RPLINE qmail-command set Return-Path header field SENDER qmail-command set Envelope sender address UFLINE qmail-command set UUCP-style "From " line USER qmail-command set The current user USER qmail-inject used User name in From header field (3) QMAILINJECT Flags Letter Purpose c Use address-comment style for the From field s Do not look at any incoming Return-Path field f Delete any incoming From field i Delete any incoming Message-ID field r Use a per-recipient VERP m Use a per-message VERP 5. °í±ÞÅäÇÈ 5.1. procmail procmailÀº ¸¹ÀÌ ¾²´Â Message Delivery Agent (MDA)ÀÌ´Ù. MDA°¡ ÇÏ´Â ÀÏÀº ƯÁ¤ »ç¿ëÀÚ³ª ¸áº¹½º¿¡ ´ëÇÑ ¸Þ¼¼Áö¸¦ MTA·ÎºÎÅÍ ¹Þ¾Æ¼­ »ç¿ëÀÚÀÇ ¿ä±¸´ë·Î Àü´ÞÇÏ´Â °ÍÀÔ´Ï´Ù. procmailÀº ´Ù¾çÇÑ Çì´õÇʵ峻¿ëÀ̳ª ¸Þ¼¼Áöº»¹®¿¡ µû¶ó¼­ ¸Þ¼¼Áö¸¦ ÇÊÅÍÇÏ´ÂÅ× ¾²À̱⵵ ÇÕ´Ï´Ù. ¿¹¸¦ µé¸é, ƯÁ¤ÀÎÀÌ º¸³½ ¸Þ¼¼Áö¸¦ ±× »ç¶÷ÀÇ ¸áº¹½º¿¡¸¸ Àü´ÞÇϵµ·Ï ÇÒ ¼ö ÀÖ½À´Ï´Ù. procmailÀ» Å¥¸ÞÀÏ°ú ÇÔ²² ¿î¿µÇÏ´Â ¹æ¹ýÀÌ µÎ °¡Áö ÀÖ½À´Ï´Ù. ù°´Â, procmailÀº º¸Åë /var/spool/mail¿¡ ÀÖ´Â mbox¸áº¹½º·Î Àü´ÞÇϵµ·Ï ÄÄÆÄÀϵ˴ϴÙ. procmailÀ» ´Ù½Ã ÄÄÆÄÀÏÇؼ­ $HOME¸¦ ±âº»À¸·Î Çϵµ·Ï Çϰųª, »ç¿ëÀڵ鿡°Ô ¾Ë·Á¼­ procmailÀÌ mobx¸¦ ±âº»À§Ä¡·Î ÇÏÁö ¾Êµµ·Ï ÇÕ´Ï´Ù. $HOMEÀü´Þ¿¡ ´ëÇØ ÆÐÄ¡ÇÏÁö ¾ÊÀ¸¸é, ÀÓ½ÃÆÄÀÏ¿¡ ´ëÇؼ­ procmailÀº ¿©ÀüÈ÷ /var/spool/mailÀ» ¾¹´Ï´Ù. ¹®Á¦°¡ Çϳª ´õ Àִµ¥, qmail-command¿Í procmail¿¡´Â ¾î¶² ¿¢½ËÄڵ尡 ¹«¾ùÀ» ¸»ÇÏ´Â Áö¿¡ ´ëÇÑ °øÅëÀÌÇØ°¡ ¾ø½À´Ï´Ù. procmailÀº Ç¥ÁØ À¯´Ð½º ¿¢½ËÄڵ带 ¾²´Âµ¥, 0Àº ¼º°ø, ±×¿Ü´Â ½ÇÆÐÀ̸ç, ½ÇÆÐÀÇ ¿øÀÎÀº /usr/include/sys/errno.h¿¡ Á¤ÀǵǾî ÀÖ½À´Ï´Ù. qmail-command¿¡¼­´Â 0ÀÌ¿ÜÀÇ ÀÏÁ¤ÇÑ ¼ýÀÚ·Î ¿µ±¸¿¡·¯¸¦ ÀÏ·¯ÁÖ°í, ±× ÀÌ¿Ü´Â Àӽ÷Π°£ÁÖÇÕ´Ï´Ù. qmail-command¿¡ ´ëÇÑ ¿¢½ËÄڵ带 Çؼ®Çϱâ À§Çؼ­ ¼Ò±Ô¸ðÀÇ ¼Ð½ºÅ©¸³Æ® wrapper¸¦ ¸¸µé ¼öµµ ÀÖ½À´Ï´Ù. ÀÌ·± wrapper´Â Å¥¸ÞÀϸḵ¸®½ºÆ®¿¡ ºÎóÁ³°í, ´ÙÀ½ÁÖ¼ÒÀÇ ¹®¼­º¸°ü¿¡¼­ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. ¶ÇÇÑ procmailÀº maildirÇü½ÄÀÇ ¸áº¹½º·Î Á÷Á¢ Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. procmail¿¡¼­ maildir·Î Á÷Á¢Àü´ÞÇÏ´Â ÆÐÄ¡¸¦ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. ( ¸¦ º¸½Ê½Ã¿À.) ´Ù¸¥ ¹æ¹ý¿¡´Â ƯÁ¤ maildir·Î ÇâÇϴ ǥÁØÀÔ·ÂÀ¸·Î ¸Þ¼¼Áö¸¦ ÀÛ¼ºÇÏ´Â ÇÁ·Î±×·¥ÀÎ safecatÀÔ´Ï´Ù. »ç¿ëÀÚ´Â safe°¡ ¸Þ¼¼Áö¸¦ ÆÄÀÏó¸®Çϵµ·Ï procmail ºñ¹ý (Àü´ÞÁö½Ã»çÇ×)À» ÀûÀ» ¼ö ÀÖ½À´Ï´Ù. procmailÀ» ¾Æ¿¹ ¾¾Áî ¸»°í maildropÀ» »ç¿ëÇÒ ¼ö µµ ÀÖ½À´Ï´Ù. ³¡À¸·Î procmailÀº ¸Þ¼¼Áö¸¦ ¹ÞÀ» ¶§ mboxÇü½ÄÀ¸·Î ÀνÄÇÕ´Ï´Ù. ´ë°³ Å¥¸ÞÀÏÇÁ·Î±×·¥ÀÇ Àü´Þ¿¡´Â ÁøÂ¥ ¸á¸Þ¼¼Áö¸¸ Æ÷ÇÔÇÏÁö "From "ÁÙÀÌ ¾ø½À´Ï´Ù. preline¸í·É¾î¸¦ ½á¼­ procmailÀÌ ÀνÄÇÏ´Â ¸Þ¼¼ÁöÇü½ÄÀ¸·Î ¸¸µé ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¸é, dave»ç¿ëÀÚ°¡ procmail·Î ¸áÀ» ó¸®ÇÏ°í ½Í´Ù°í ÇսôÙ. ½Ã½º¾Öµå¹ÎÀÌ procmailÀ» ±âº»À¸·Î $HOME·Î Àü´ÞÇϵµ·Ï ÄÄÆÄÀÏÇß°í, /usr/local/bin/qmail-procmailÀ̶ó´Â ¿¢½ËÄÚµå wrapper¸¦ Á¦°øÇÑ´Ù°í ÇÒ ¶§, .qmailÆÄÀÏÀº ´ÙÀ½°ú °°½À´Ï´Ù. |/var/qmail/bin/preline /usr/local/bin/qmail-procmail dave 5.2. POP ±×¸®°í IMAP ¼­¹ö Å¥¸ÞÀÏÀº POP¼­¹ö¿Í qmail-pop3d¸¦ Æ÷ÇÔÇÏÁö¸¸, Å¥¸ÞÀϼ³Ä¡°úÁ¤À¸·Î ¼³Á¤Çϰųª ¼³Ä¡ÇÏÁö´Â ¾Ê½À´Ï´Ù. ´Ù¸¥ POP³ª IMAP µîÀÇ ¼­¹ö¸¦ ¾òÀ» ¼ö ÀÖÀ¸¸é ±×°ÍµéÀ» »ç¿ëÇصµ µÇÁö¸¸, ´ëºÎºÐÀÌ Sendmail¿ëÀ¸·Î ¸¸µé¾îÁ³À¸¹Ç·Î Å¥¸ÞÀÏ°ú ÇÔ²² ¾²·Á¸é ¼ÕÀ» ºÁ¾ß ÇÕ´Ï´Ù. 5.2.1. qmail-pop3d qmail-pop3d´Â Å¥¸ÞÀÏÀÌ Æ÷ÇÔÇÏ´Â POP¼­¹öÀÔ´Ï´Ù. ¸Å¿ì ÁÁÀº POP¼­¹ö·Î¼­ ¿©·¯ Å¥¸ÞÀÏ»çÀÌÆ®°¡ »ç¿ëÇÕ´Ï´Ù. ¸ðµâ±â´ÉÀÌ°í, ´ëüÀÎÁõ¸ðµâÀ» ÅëÇØ º¹ÇÕÀÎÁõ±¸¼ºÀ» Áö¿øÇÕ´Ï´Ù. --------e---------------------------------------------------------------------------- À¯ÀÇÁ¡: qmail-pop3d´Â maildirÇüÅÂÀÇ ¸áº¹½º¸¸ Áö¿øÇϹǷÎ, ·ÎÄà »ç¿ëÀÚµéÀÌ POP¼­¹ö¿¡ ·Î±äÇؼ­ MUA¸¦ ¿î¿µÇÑ´Ù¸é ¸ðµÎµé maildir¸¦ Áö¿øÇØ¾ß ÇÕ´Ï´Ù. »ç¿ëÀÚµéÀÌ POP¸¦ ÅëÇؼ­ ¸áÀ» ÀÐ´Â´Ù¸é ¼­¹öÀÇ ¸áº¹½ºÇüÅ´ ¹®Á¦°¡ µÇÁö ¾Ê½À´Ï´Ù. ------------------------------------------------------------------------------------- 5.2.1.1. qmail-pop3dÀÇ ±¸Á¶ ´ÙÀ½ÀÇ ¼¼¸ðµâ·Î ±¸¼ºÇÕ´Ï´Ù. o qmail-popup : »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ ¹Þ½À´Ï´Ù. o checkpassword : »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ ÀÎÁõÇÕ´Ï´Ù. o qmail-pop3d : POPµ¥¸óÀÔ´Ï´Ù. À¸·Ê qmail-popupÀº POP3Æ÷Æ®ÀÎ 110¹ø Æ÷Æ®¸¦ µè´Â inetd³ª tcpserver·Î ¿òÁ÷ÀÔ´Ï´Ù. ¿¬°áÀ» ÇÏ¸é »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ ´ë¶ó°í ÇÕ´Ï´Ù. ±×¸®°í¼­´Â checkpassword¸¦ ºÒ·¯¼­ »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ °ËÁõÇÏ°í ¸Â´Ù¸é qmail-pop3d¸¦ ºÎ¸¨´Ï´Ù. 5.2.1.2. qmail-pop3dÀÇ ¼³Ä¡ 1. Å¥¸ÞÀÏÀ» ¿ÏÀüÈ÷ ¼³Ä¡ÇÏ°í ½ÃÇè»ç½Ê½Ã¿À. ¸ðµç »ç¿ëÀÚ°¡ POP°¡´ÉÇÑ ¸áº¹½º¸¦ °®°ÔÇÏ·Á¸é defaultdelivery¸¦ ./Maildir/·Î ¼³Á¤Çϼ¼¿ä. ¼³Ä¡Ç׸ñ¿¡ ÀÖ´Â qmail½ºÅ©¸³Æ®·Î ¼³Ä¡Çϼ̴ٸé, control/defaultdelivery¿¡¼­ ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·¸Áö ¾Ê´Ù¸é, qmail-start¸í·ÉÇà¿¡¼­ /var/qmail/rcÀÏ °ÍÀÔ´Ï´Ù. 2. ¿¡¼­ checkpassword ÇÁ·Î±×·¥À» ¹ÞÀ¸½Ê½Ã¿À. ÀÌ·¯Àú·¯ÇÏ°Ô ²Ù¹Î °ÍÀÌ ÇÊ¿ä¾øÀ¸¸é ¿¡ Àִ ǥÁØ checkpassword°¡ ÁÁ½À´Ï´Ù. 3. Áö½Ã»çÇ×À» µû¶ó¼­ checkpassword¸¦ ÄÄÆÄÀÏÇÏ°í ¼³Ä¡ÇϽʽÿÀ. /bin/checkpassword·Î ¼³Ä¡ÇÏ¼Å¾ß ÇÕ´Ï´Ù. 4. Á¶±Ý »ç¿ëÇÏ´Â POP¼­¹ö¶ó¸é /etc/inetd.conf¿¡ ´ÙÀ½À» ´õÇϽʽÿÀ. pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup \ hostname.domain /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir -------------------------------------------------------------------------------------- À¯ÀÇÁ¡: ¾î¶² ½Ã½ºÅÛµé, ±×Áß¿¡¼­µµ ·¹µåÇÞ¸®´ª½º,´Â POP3Æ÷Æ®¸¦ "pop3"·Î ºÎ¸£Áö ¾Ê½À´Ï´Ù. /etc/services¿¡¼­ 110¹ø Æ÷Æ® ¼­ºñ½ºÀÇ À̸§À» È®ÀÎÇϽʽÿÀ. ¶ÇÇÑ inetd ¸ÇÆäÁö¸¦ È®ÀÎÇϼż­ ±âÀç»çÇ×À» Çü½Ä¿¡ ¸ÂÃ߽ʽÿÀ. Àß º¸¼Å¾ß ÇÏ´Â °ÍÀÌ, ¾î¶² inetd¿¡´Â ÇÁ·Î±×·¥(º» ¿¹Á¦¿¡¼­´Â qmail-popup)¿¡ ´ëÇÑ Ã¹¹ø° Àμö°¡ ±× ÇÁ·Î±×·¥ÀÇ À̸§À̾î¾ß ÇÕ´Ï´Ù. ´Ù¸¥ inetdµé¿¡°Ô´Â "»ç½Ç»óÀÇ" Àμö¸¸ ÀÖÀ¸¸é µË´Ï´Ù. -------------------------------------------------------------------------------------- 1. "kill -HUP PID of inetd"¸¦ ½ÇÇàÇϽþî inetd°¡ /etc/inetd.conf¸¦ ´Ù½Ã Àеµ·Ï ÇÕ´Ï´Ù. 2. ¸¹ÀÌ »ç¿ëÇÏ´Â ¼­ºñ½º¿¡ ´ëÇؼ­´Â ±×°Íº¸´Ù tcpserver¸¦ »ç¿ëÇϽʽÿÀ. tctpserver¸¦ ¾²·Á¸é ´ÙÀ½»çÇ×À» Å¥¸ÞÀÏ (inetd.conf°¡ ¾Æ´Ï°í) ±âµ¿½ºÅ©¸³Æ®¿¡ ´õÇϽʽÿÀ. tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \ /var/qmail/bin/splogger pop3d & ¿©±â¿¡¼­ pop3´Â /etc/services¿¡ ±âÀçµÈ POP3¼­ºñ½ºÀÇ À̸§ÀÌ°í, FQDNÀº Áö±Ý ¼³Ä¡ÇϽô POP¼­¹öÀÇ ¿ÏÀüµµ¸ÞÀθíÀ¸·Î¼­, ¿¹¸¦ µé¸é pop.example.netÀÔ´Ï´Ù. 5.2.2. qpopper mboxÇü ¸áº¹½º¿Í µ¿ÀÛÇÏ´Â POPµ¥¸óÀÌ ÇÊ¿äÇϸé QualcommÀÇ qpopperÀ» ¾²½Ê½Ã¿À. Vince Vielhaber´Â ¿¡ »ç¿ëÀÚȨµð·ºÅ丮ÀÇ ¸áº¹½º¿Í µ¿ÀÛÇÏ´Â ÆÐÄ¡¸¦ °®°í ÀÖ½À´Ï´Ù. qpopper´Â ¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. 5.2.3. Cyrus Jason van ZylÀÌ qmail/Cyrus ÇÏ¿ìÅõ¸¦ ½è½À´Ï´Ù. ¸¦ º¸½Ê½Ã¿À. LDAP¸¦ Cyrus¿¡ °áÇÕÇÏ´Â Á¤º¸°¡ ¿¡ ÀÖ½À´Ï´Ù. 5.2.4. imap-maildir David R. Harris°¡ Washington´ëÇÐÀÇ IMAP¼­¹ö¿¡ ´ëÇÑ maildirÁö¿øÀ» Ãß°¡ÇÏ´Â ÆÐÄ¡¸¦ Á¤¸®ÇßÀ¸¸ç ¼³Ä¡°úÁ¤À» ¹®¼­È­Çß½À´Ï´Ù. ¸¦ º¸½Ê½Ã¿À. 5.3. POP¿Í IMAP Ŭ¶óÀ̾ðÆ® 5.3.1. fetchmail POP³ª IMAP µîÀÇ ¼­¹ö¿¡¼­ ¸áÀ» ²¨³»¼­ ·ÎÄÿ¡ Àç»ðÀÔÇÏ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù. Å¥¸ÞÀÏ¿¡¼­ ¸áÀ» ²¨³»´Â µ¥ ¹®Á¦°¡ ¾øÁö¸¸, Å¥¸ÞÀÏŬ¶óÀ̾ðÆ®¿¡¼­ Àß µ¿ÀÛÇÏ°Ô ÇÏ´Â µÎ¼¼°¡Áö ±â¼úÀÌ ÀÖ½À´Ï´Ù. Å¥¸ÞÀϽýºÅÛ»óÀÇ »ç¿ëÀÚ¸¦ À§ÇÑ .fetchmailrc»ùÇÃÀº ´ÙÀ½°ú °°½À´Ï´Ù. poll mail.example.net proto pop3 nodns user dsill with password flubgart is dave here fetchall forcecr to * here ÀÌ·¸°Ô Çϸé fetchmailÀº mail.example.netÀ» POP3¸¦ ÅëÇؼ­ Á¢¼ÓÇÏ°í, dsill »ç¿ëÀÚ, flubgart¾ÏÈ£·Î ·Î±äÇؼ­, ¸Þ¼¼Áö¸¦ ¸ðµÎ ²¨³½´ÙÀ½¿¡ dave@localhost·Î Àü´ÞÇÕ´Ï´Ù. forcecrÀº °¢ÁÙ¿¡ carriage returnÀ» ºÙ¿©¼­ ·ÎÄýýºÅÛ¿¡ ¸Þ¼¼Áö¸¦ SMTP¸¦ ÅëÇؼ­ »ðÀÔÇÕ´Ï´Ù. Å¥¸ÞÀÏ¿¡°Ô´Â ÀÌ°ÍÀÌ ÇÊ¿äÇÕ´Ï´Ù. ---------------------------------------------------------------------------------- À¯ÀÇÁ¡: fetchmailÀº È®½ÇÇÏÁö ¾Ê½À´Ï´Ù. (Æ÷¸Ë¿¡·¯·Î ¹Ù¿î½º¸¦ ÀÏÀ¸Å°°Å³ª SMTP¼­¹ö°¡ µ¿ÀÛÁßÀÌÁö ¾Ê´Â µî) ÀÌÀ¯¾ß ¾î·µç Àç»ðÀÔÀÌ ½ÇÆÐÇÏ¸é ¸Þ¼¼Áö°¡ ¾ø¾îÁý´Ï´Ù. ----------------------------------------------------------------------------------- 5.4. ´ÙÁß RCPT ´ë ´ÜÀÏ RCPT Àü´Þ ¿¹¸¦ µé¾î¼­, ´ç½ÅÀÌ MTAÀÌ°í, ÇÑ »ç¿ëÀÚ°¡ hostx.example.comÀÇ ¼¼»ç¶÷¿¡°Ô ¸Þ¼¼Áö¸¦ º¸³½´Ù°í ÇսôÙ. ÀÌ°ÍÀ» Çϴµ¥ ¸î°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. 1. hostx¿¡ SMTPÁ¢¼ÓÀ» ¿­°í, ù¹ø° »ç¿ëÀÚ¿¡°Ô ¸Þ¼¼Áö»çº»À» º¸³»°í, µÎ¹ø° »ç¿ëÀÚ¿¡°Ô »çº»À» º¸³»°í, ¼¼¹ø° »ç¿ëÀÚ¿¡°Ô »çº»À» º¸³½ ´ÙÀ½¿¡ Á¢¼ÓÀ» ´Ý½À´Ï´Ù. 2. ¼¼ °úÁ¤À» ½ÃÀÛÇؼ­ ¸Å°úÁ¤ÀÌ hostx¿¡ SMTPÁ¢¼ÓÀ» ¿­°í ÇÑ »ç¿ëÀÚ¿¡°Ô ¸Þ¼¼Áö»çº»À» º¸³½ ´ÙÀ½¿¡ Á¢¼ÓÀ» ´Ý½À´Ï´Ù. 3. hostx¿¡ SMTPÁ¢¼ÓÀ» ¿­°í ¼¼»ç¿ëÀÚ ¸ðµÎÀÇ ÁÖ¼Ò¸¦ ´Ü ¸Þ¼¼Áö»çº» ÇÑ°³¸¦ º¸³½ ´ÙÀ½¿¡ Á¢¼ÓÀ» ´Ý½À´Ï´Ù. ù¹ø° ¹æ¹ýÀº ¼¼¹ø° ¹æ¹ýº¸´Ù ºÐ¸íÈ÷ µÚÁý´Ï´Ù. ¸Þ¼¼Áö°¡ ÀÛ´õ¶óµµ Àû¾îµµ ±×¸¸Å­ ½Ã°£ÀÌ °É¸³´Ï´Ù. ±×¸®°í ¸Þ¼¼Áö°¡ Å©´Ù¸é ´õ ¿À·¡ °É¸®°í, °Ô´Ù°¡ ³Ý¿÷´ë¿ªÀ» ¾µ°ÍÀÔ´Ï´Ù. ±×·¯´Ï ±×°ÍÀº »®½Ã´Ù. µÎ¹ø°¿Í ¼¼¹ø° ¹æ¹ýÀº Á»´õ Àç¹ÌÀÖ½À´Ï´Ù. ¼¼¹ø° ¹æ¹ýÀº hostx¿¡ Á¢¼ÓÀ» ´Ü Çѹø ¿­°í¼­ ¸Þ¼¼Áö »çº»À» ´Ü Çϳª¸¸ º¸³À´Ï´Ù. ³Ý¿÷´ë¿ªÀ» È¿À²»ç¿ëÇÏ´Â µ¥ µµ¿òÀÌ µË´Ï´Ù. µÎ¹ø° ¹æ¹ýÀº ¿©·¯¹ø Á¢¼ÓÇؼ­ ¸Þ¼¼Áö»çº»À» ¿©·¯°³ º¸³À´Ï´Ù. ³Ý¿÷´ë¿ªÀ» "³¶ºñ"ÇÏÁö¸¸ SMTPÇÁ·ÎÅäÄÝÀÇ ¼ºÁú¶§¹®¿¡ ¼¼¹ø° ¹æ¹ýº¸´Ù ¿Õº¹Áö¿¬ÀÌ ´õ Àû°í, ´õ ºü¸¨´Ï´Ù. °Ô´Ù°¡ ¼¼¹ø° ¹æ¹ýº¸´Ù ´õ °£´ÜÇϹǷΠMTA¸¦ ´õ ¼ö¿ùÇÏ°Ô ÀÛ¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×¸®°í ³¡À¸·Î, °¢ ¼ö½ÅÀÎÀÌ ±×¸¸ÀÇ ¸Þ¼¼Áö»çº»À» ¹ÞÀ¸¹Ç·Î MTA°¡ VERP¸¦ ±¸ÇöÇÒ ¼ö ÀÖ½À´Ï´Ù. (´ÙÀ½Ç׸ñÀ» º¸½Ê½Ã¿À.) Å¥¸ÞÀÏÀº ¾ðÁ¦³ª µÎ¹ø° ¹æ¹ý (´ÜÀÏ RCPT)À» »ç¿ëÇÕ´Ï´Ù. ¼¼¹ø°¹æ¹ý (º¹¼ö RCPT)¸¦ ±¸ÇöÇÏ´Â ÆÐÄ¡´Â ¾ø½À´Ï´Ù. ±×°ÍÀº ¸¹Àº ÀÛ¾÷À» ÇÏ¿©¾ß ÇÕ´Ï´Ù. ´ÜÀÏ RCPT Àü´ÞÀÌ º¹¼ö RCPT Àü´Þº¸´Ù ³Ý¿÷´ë¿ªÀ» ´õ¸¹ÀÌ »ç¿ëÇÏÁö¸¸, ±× Â÷ÀÌ´Â Á¾Á¾ °úÀåµÇ¾ú½À´Ï´Ù. ¸Þ¼¼Áö ´ëºÎºÐÀº ±â²¯ÇØ¾ß µÎ¼¼ ¼ö½ÅÀο¡°Ô º¸³»Áö´Âµ¥´Ù°¡ ±×µéÀº º¸Åë ¼­·Î ´Ù¸¥ È£½ºÆ®¿¡ Àֱ⶧¹®¿¡, º¹¼ö RCPTÀü´ÞÀº ¾ò´Â°Ô ¾Æ¹«°Íµµ ¾ø½À´Ï´Ù. º¹¼ö RCPTÀü´ÞÀÌ À¯È¿ÇÒ ¼ö ÀÖ´Â ¸á¸µ¸®½ºÆ®¼­¹ö¿¡¼­Á¶Â÷ ÀÌÀÍ°¡´É¼ºÀº ÀûÀºµ¥, SMTP´Â ´ëºÎºÐÀÇ ¿¬°á¿¡ °ÉÃļ­ ³Ý¿÷´ë¿ªÀÇ Á¶±Ý¸¸ ¾²°í, HTTP°¡ ¾öû³ª°Ô ¸¹ÀÌ ¾²±â ¶§¹®ÀÔ´Ï´Ù. ¿¹¸¦ µé¾î »óÇ⿬°áÀÇ 10ÆÛ¼¾Æ®°¡ SMTP ´ë¿ªÀ¸·Î °¡°í, ±×Áß 25ÆÛ¼¾Æ®¸¦ º¹¼ö RCPT¸¦ »ç¿ëÇؼ­ ÁÙ¿© ºÁ¾ß SMTP ´ë¿ªÀº 7.5%·Î µÉ »ÓÀÔ´Ï´Ù. 5.5. VERP ¸Þ¼¼Áö¸¦ Àü´ÞÇÒ ¼ö ¾øÀ¸¸é, MTA´Â Envelope Return Path (ERP)·Î ¹Ù¿î½º¸Þ¼¼Áö¸¦ µ¹·Áº¸³»¾ß ÇÑ´Ù°í °áÁ¤ÇÕ´Ï´Ù. ¹Ù¿î½º ¸Þ¼¼Áö¿¡´Â ¼ö½ÅÀÎÁÖ¼Ò, ¸Þ¼¼ÁöºÎÀü´Þ»çÀ¯, ±×¸®°í ¹®Á¦°¡ ÀÓ½ÃÀÎÁö ¿À·¡°¥ Áö µîÀ» Æ÷ÇÔÇØ¾ß ÇÕ´Ï´Ù. ±×·¸Áö¸¸ ¸¹Àº MTA°¡ Á¦´ë·Î ÇÏÁö ¾Ê½À´Ï´Ù. ±×°ÍµéÀº ¹Ù¿î½º¸¦ From Çì´õÇʵ忡 ÀÖ´Â ÁÖ¼Ò·Î º¸³»±âµµ ÇÏÁö¸¸, ¼ö½ÅÀÎÀ» ÆľÇÇÏÁö ¸øÇϱâÁ¶Â÷ ÇÕ´Ï´Ù. »ç¿ëÀÚ´ë»ç¿ëÀÚ ¸Þ¼¼ÁöÀÇ ´ëºÎºÐ¿¡¼­ ÀÌ·± ¹®Á¦µéÀº ±×·¸°Ô ³ª»ÚÁö ¾Ê½À´Ï´Ù. ´ë°³´Â ¹Ù¿î½º½Ã°¢°ú ±× ³»¿ë¿¡ ±âÃÊÇؼ­ »çŸ¦ ÀÌÇØÇÒ ¼ö ÀÖ½À´Ï´Ù. ¸á¸µ¸®½ºÆ®¿¡¼­´Â À߸øµÈ ¹Ù¿î½º¹®Á¦°¡ ´õ ½É°¢ÇÕ´Ï´Ù. °¡ÀÔÀÚµéÀº »õÁÖ¼Ò·Î ¸áÀ» ¿Å±â°í Æ÷¿öµùÇÕ´Ï´Ù. »õÁÖ¼Ò¿¡ Àü´Þ¹®Á¦°¡ »ý±â±â ½ÃÀÛÇߴµ¥, ¹Ù¿î½º¸Þ¼¼Áö¿¡´Â ¿ÀÁ÷ »õÁÖ¼Ò¸¸ Æ÷ÇԵǾî ÀÖ´Ù¸é ¾î´À °¡ÀÔÀÚÀÇ ¸áÀÌ ¹Ù¿î½ºµÇ´Â Áö ¾Ë ¼ö ¾ø½À´Ï´Ù. Dan BernsteinÀº VERP (Variable Envelope Return Path)¶ó ºÒ¸®´Â ±²ÀåÇÑ °ÍÀ» Á¦¾ÈÇß½À´Ï´Ù. VERP¸¦ »ç¿ëÇϸé, °¢ °¡ÀÔÀÚ´Â °íÀ¯¸®ÅÏ°æ·Î¸¦ °®½À´Ï´Ù. ÀÌ·¸°Ô ÇØ¾ß ¹Ù¿î½º 󸮱Ⱑ ¹®Á¦°¡ÀÔÀÚ¸¦ ½Äº°Çϵµ·Ï ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î¼­, ´ë°³ÀÇ ºñ VERP ¸á¸µ¸®½ºÆ®¿¡´Â ¸®ÅÏÁÖ¼Ò°¡ listname- owner@domainÀÇ Çü½ÄÀ¸·Î µË´Ï´Ù. VERP ¸á¸µ¸®½ºÆ®¿¡¼­´Â ¸®ÅÏÁÖ¼Ò°¡ listname-owner-subscriber=sdomain@ldomainÀ¸·Î µÇ´Âµ¥, °¡ÀÔÀÚÁÖ¼Ò subscriber@sdomeinÀÌ "¼ÒÀ¯ÀÚ"¿Í "@"»çÀÌ¿¡ ¹¯ÇôÀÖ½À´Ï´Ù. (°¡ÀÔÀÚÁÖ¼ÒÀÇ "@"´Â "="·Î ´ëüµË´Ï´Ù.) ezmlm¸®½ºÆ®¸Å´ÏÀú´Â ¹Ù¿î½º¸¦ ÀÚµ¿À¸·Î ó¸®Çϱâ À§Çؼ­ VERP¸¦ ¾¹´Ï´Ù. °¡ÀÔÀÚ¿¡¼¼ ºü¶ß¸° ¸Þ¼¼Áö¸®½ºÆ®ÀÇ ÀÓ½ÃÀü´Þ¹®Á¦¸¦ ¾Ë·ÁÁ༭ º¸°ü¹®¼­¿¡¼­ ²¨³¾ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù. Russell NelsonÀÌ Å¥¸ÞÀÏ¿¡¼­ÀÇ ¸ÞÀÌÀúµµ¸ð¸¦ À§ÇÑ ¹Ù¿î½º¸Þ´ÏÀú¸¦ ½èÁö¸¸, ´õÀÌ»ó À¯ÁöÇÏÁö ¾Ê½À´Ï´Ù. ¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. 5.6. ¹®Á¦ÇØ°á 5.6.1. °úÁ¤ Á¦´ë·Î ÀÛµ¿ÇÏ°í ¿ÏÀüÇÏÁö¸¸ ÃÖ¼ÒÇÑÀÇ Å¥¸ÞÀϼ³Ä¡´Â ´ÙÀ½ÀÇ ³×°úÁ¤ÀÌ¸é µË´Ï´Ù. o qmail-sned : qmails»ç¿ëÀڷμ­ ¿îÇà o qmail-clean : qmailq»ç¿ëÀڷμ­ ¿îÇà o qmail-rspawn: qmailr»ç¿ëÀڷμ­ ¿îÇà o qmail-lspawn: root»ç¿ëÀڷμ­ ¿îÇà »ç¿ëÁßÀÎ À¯´Ð½º±âÁ¾¿¡ µû¶ó¼­ ´ÙÀ½¸í·ÉÁß Çϳª·Î ÀÌ °úÁ¤µéÀ», ¾î¼¸é ¸î°³ ´õ, ³ª¿­ÇÒ ¼ö ÀÖ½À´Ï´Ù. ps -ef | grep qmail ps waux | grep qmail ¿¹¸¦ µé¸é ´ÙÀ½°ú °°½À´Ï´Ù. [dave@sparge dave]$ ps waux|grep qmail dave 2222 0.0 0.8 836 348 p4 S 10:25 0:00 grep qmail qmaild 351 0.0 1.0 840 400 ? S N 12:43 0:00 /usr/local/bin/tcpserver -v -x / qmaild 2220 0.0 1.0 844 420 ? S N 10:25 0:00 /usr/local/bin/tcpserver -v -x / qmaill 365 0.0 0.8 748 344 ? S N 12:43 0:00 splogger qmail qmailq 368 0.0 0.7 736 292 ? S N 12:43 0:00 qmail-clean qmailr 367 0.0 0.6 732 272 ? S N 12:43 0:00 qmail-rspawn qmails 350 0.0 0.8 776 336 ? S N 12:43 0:00 qmail-send root 340 0.0 0.6 724 252 ? S N 12:43 0:00 /usr/local/sbin/supervise /var/s root 341 0.0 0.6 724 252 ? S N 12:43 0:00 /usr/local/sbin/supervise /var/s root 366 0.0 0.7 736 276 ? S N 12:43 0:00 qmail-lspawn ./Mailbox [dave@sparge dave]$ À§ÀÇ ¿¹¿¡¼­¿Í °°ÀÌ superviseÇÏ¿¡¼­ qmailÀ̳ª qmail-smtpd¸¦ ½ÇÇàÇÏ¸é ±× °úÁ¤µéµµ º¼ ¼ö ÀÖ½À´Ï´Ù. tcpserverÇÏ¿¡¼­ qmail-smtpd¸¦ ½ÇÇàÇϸé, ºÎ¸ð tcpserver¿Í °¢ È°¼º ÀÔ·Â SMTP Á¢¼Ó¿¡ ´ëÇÑ Ãß°¡ tcpserver °úÁ¤µµ º¼ ¼ö ÀÖ½À´Ï´Ù. ·Î±ëÀ» ó¸®Çϱâ À§ÇØ splogger (¶Ç´Â cyclog)À» »ç¿ëÇϸé, qmaill»ç¿ëÀڷμ­ ¿îÇàÇÏ´Â splogger (¶Ç´Â cyclog)°úÁ¤À» °®½À´Ï´Ù. °Ô´Ù°¡ Å¥¸ÞÀÏÀÌ ·ÎÄÃÀ̳ª ¿ø°Ý ¸Þ¼¼ÁöÀü´Þ·Î ¹Ù»Ú¸é °ü°èµÇ´Â ·ÎÄüö¸¸Å­ÀÇ qmail-local°úÁ¤°ú °ü°èµÇ´Â ¿ø°Ý¼ö¸¸Å­ÀÇ qmail- remote°úÁ¤À» º¼ ¼ö ÀÖ½À´Ï´Ù. 5.6.2. ·Î±× 5.6.2.1. splogger ¸Þ¼¼Áö¿¡ ½Ã°£Âï±âÇϱâ À§Çؼ­ syslogÀÇ ·Î±ë½Ã½ºÅÛÀ» »ç¿ëÇؼ­ syslog µ¥¸óÀ¸·Î º¸³À´Ï´Ù. syslogÀº /etc/syslog.conf¿¡¼­ ¼³Á¤ÇÕ´Ï´Ù. syslog·Î º¸³»´Â ¸Þ¼¼Áö´Â ÀåÄ¡¿Í ¿ì¼±¼øÀ§°¡ ÀÖ½À´Ï´Ù. /etc/syslog.confÀÇ ±âÀç»çÇ×Àº ÀåÄ¡¿Í ¿ì¼±¼øÀ§¿¡ µû¶ó¼­ ÇÊÅÍÇؼ­ ¸Þ¼¼Áö¸¦ ¿øÇÏ´Â ·Î±×ÆÄÀÏ, ¿ø°Ý·Î±×È£½ºÆ®, ¶Ç´Â Äֿܼ¡ º¸³À´Ï´Ù. splogger´Â ±âº»À¸·Î ¸áÀåÄ¡¿¡ ·Î±×ÇϹǷÎ, syslog.confÆÄÀÏ¿¡¼­ "mail"À» grepÇϸé Å¥¸ÞÀÏÀÇ ·Î±×¸Þ¼¼Áö󸮸¦ º¼ ¼ö ÀÖ½À´Ï´Ù. ´ë°³ ´ÙÀ½Àå¼Ò¿¡ À§Ä¡ÇÕ´Ï´Ù. o /var/log/syslog o /var/adm/SYSLOG o /var/log/maillog ´ë°³ÀÇ syslog ·Î±×±âÀç»çÇ×Àº ´ÙÀ½°ú °°½À´Ï´Ù. Jun 3 11:35:23 sparge qmail: 928424123.963558 delivery 153: success: did_1+0+0/ "Jun 3 11:35:23" is the syslog timestamp. "sparge" is the name of the system that sent the message. "qmail:" is the tag splogger places on all qmail log entries. "928424123.963558" is an optional TAI timestamp (see next section). "delivery 153: success: did_1+0+0/" is the log message itself. 5.6.2.2. cyclog daemontools ÆÐÄÉÁöÀÇ ÀϺημ­ ƯÁ¤ÇÑ µð·ºÅ丮³»ÀÇ ÆÄÀÏ¿¡ ¸Þ¼¼Áö¸¦ ·Î±×ÇÕ´Ï´Ù. syslog¿Í´Â ´Þ¸® ±âÀç»çÇ×À» ½Ã°£Âï±âÇÏÁö ¾Ê½À´Ï´Ù. daemontoolsÆÐÄÉÁöÀÇ accustamp¸¦ »ç¿ëÇÏ¸é µË´Ï´Ù. ·Î±×µð·ºÅ丮´Â cyclog¸í·ÉÇà¿¡ ¸í½ÃÇϹǷΠť¸ÞÀϱ⵿½ºÅ©¸³Æ®¸¦ »ìÆ캸½Ã¸é ãÀ» ¼ö ÀÖ½À´Ï´Ù. ·Î±×µð·ºÅ丮³»ÀÇ ÆÄÀϼö¿Í °¢ÆÄÀÏÀÇ ÃÖ´ëÅ©±â´Â cyclog ¿É¼ÇÀ¸·Î Á¤ÇÕ´Ï´Ù. ·Î±×ÆÄÀϸíÀº ÆÄÀÏÀ» ½ÃÀÛÇÑ ½Ã°£ÀÇ TAI (Temps Atomique International) ½Ã°£Âï±âÀÔ´Ï´Ù. daemontoolsÀÇ tailocal¸í·ÉÀº TAI ½Ã°£Âï±â¸¦ »ç¶÷ÀÌ ÀÐÀ» ¼ö ÀÖ´Â ·ÎÄà ½Ã°£Âï±â·Î º¯È¯ÇÕ´Ï´Ù. º¸ÅëÀÇ cyclog ·Ï±âÀç»çÇ×Àº ´ÙÀ½°ú °°½À´Ï´Ù. 928424123.963558 delivery 153: success: did_1+0+0/ "928424123.963558" is the optional, but recommended, TAI timestamp. "delivery 153: success: did_1+0+0/" is the log message itself. 5.6.2.3. ·Ï¸Þ¼¼Áö ·ÎÄýýºÅÛ¿¡¼­ ¿ø°Ý½Ã½ºÅÛÀ¸·Î º¸³»´Â ¸Þ¼¼Áö¿¡ ´ëÇÑ ·ÏÀº ´ÙÀ½°ú °°½À´Ï´Ù. 1 928427555.143178 new msg 94030 2 928427555.145873 info msg 94030: bytes 189 from qp 2594 uid 500 3 928427555.210992 starting delivery 158: msg 94030 to remote lwq@w3.to 4 928427555.213816 status: local 0/10 remote 1/20 5 928427572.640642 delivery 158: success: 209.85.127.177_accepted_message. /Remote_host_said:_250_CAA01516_Message_accepted_for_delivery/ 6 928427572.643845 status: local 0/10 remote 0/20 7 928427572.644381 end msg 94030 Á¦1¹øÁÙÀº Å¥¸ÞÀÏÀÌ »õ¸ÞÁ¦Áö¸¦ ¹Þ¾ÒÀ½À» ³ªÅ¸³»°í, Å¥¾ÆÀ̵ð´Â 94030ÀÔ´Ï´Ù. Å¥¾ÆÀ̵ð´Â ¸Þ¼¼Áö¸¦ ´ã´Â Å¥ÆÄÀÏÀÎ /var/qmail/queue/mess/NN/ÆÄÀÏÀÇ ¾ÆÀ̳ëµå¹øÈ£ÀÔ´Ï´Ù. Å¥¾ÆÀ̵ð´Â ¸Þ¼¼Áö°¡ Å¥¿¡ ÀÖ´Â µ¿¾ÈÀº °íÀ¯ÇÕ´Ï´Ù. Á¦2¹øÁÙÀº ¸Þ¼¼Áö°¡ dave@sparge.sill¿¡¼­ ¿Ô°í 189¹ÙÀÕÀ̶ó°í ¾Ë·ÁÁÝ´Ï´Ù. Á¦3¹øÁÙÀº qmail-remote°¡ ¸Þ¼¼Áö¸¦ lwq@w3.to·Î Àü´ÞÇÏ·Á°í ±âµ¿ÇÑ´Ù°í ¾Ë·ÁÁÖ¸ç, ¾ÆÀ̵ð 158À» Àü´Þ¿¡ ºÎ¿©ÇÕ´Ï´Ù. Á¦4¹øÁÙÀº ·ÎÄÃÀü´ÞÀº 0°³, ¸®¸øÀü´ÞÀº 1°³°¡ °è·ùÁßÀ̶ó°í ¾Ë·ÁÁÝ´Ï´Ù. Á¦5¹øÁÙÀº 158¹ø Àü´ÞÀÌ ¼º°øÀ¸·Î ³¡³µ°í, ¿ø°Ý¼­¹öÀÇ ¹ÝÀÀÀ» µÇµ¹¸®´Âµ¥, ¶§¶§·Î ¿ø°Ý¸á¾Öµå¹ÎÀÌ Àü´ÞÀ» ÃßÀûÇϴµ¥ À¯¿ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÕ´Ï´Ù. À̹ø°æ¿ì¿¡¼­ "CAA01516"Àº ¿ø°Ý½Ã½ºÅÛÀÇ Àü´Þ¾ÆÀ̵ö´Ï´Ù. Á¦6¹øÁÙÀº ·ÎÄÃÀü´Þ 0°³, ¿ø°ÝÀü´Þ 0°³°¡ °è·ùÁßÀ̶ó°í, Áï Àü´ÞÀ» ³¡¸¶ÃÆ´Ù°í, ¾Ë·ÁÁÝ´Ï´Ù. Á¦7¹øÁÙÀº ¸Þ¼¼Áö¸¦ ¿ÏÀüÈ÷ Àü´ÞÇÏ°í Å¥¿¡¼­ Áö¿ü´Ù°í ¾Ë·ÁÁÝ´Ï´Ù. ¿©±â¿¡¼­ Å¥¾ÆÀ̵ðÀÎ 94030Àº ´Ù¸¥ Àü´Þ¿¡ ¶Ç »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. 5.7. ´ëÇü ¼­¹ö qmail-ldapµµ º¸½Ê½Ã¿À. 5.7.1. Scalable parallelism »ç¿ëÀÚµð·ºÅ丮¸¦ ÀúÀåÇÏ·Á¸é ºü¸¥ NFS³Ý¿÷ÆÄÀϼ­¹ö¸¦ »ç¿ëÇϽʽÿÀ. ÆÄÀϼ­¹ö»óÀÇ maildir¸áº¹½º¿¡ Àü´ÞÇÏ´Â º¹ÇÕ µ¿µî¼±È£ SMTP¼­¹ö¸¦ ¼³Ä¡ÇϽʽÿÀ. 5.8. Sendmail¿¡¼­ Å¥¸ÞÀÏ·Î ¿Å±â±â ¸ÕÀú, Dan BersteinÀÇ Sendmail->qmailÆäÁö¸¦ ¿¡¼­ º¸½Ã±â ¹Ù¶ø´Ï´Ù. 5.9. ¸á¸µ¸®½ºÆ®¸Å´ÏÀú (Mailing List Managers: MLM's) ¸á¸µ¸®½ºÆ®¼ÒÀ¯ÀÚ°¡ ¸á¸µ¸®½ºÆ®¸¦ ¿î¿µÇÏ´Â °ÍÀ» µ½´Â ½Ã½ºÅÛÀÔ´Ï´Ù. ÇÏ´Â ÀÏÀº µÎ °¡ÁöÀÔ´Ï´Ù. °¡ÀÔÀÚµéÀÇ ¸®½ºÆ®¸¦ °ü¸®ÇÏ°í, °¡ÀÔÀڵ鿡°Ô ¸Þ¼¼Áö¸¦ Àç¼ÛºÎÇÏ´Â ÀÏÀÔ´Ï´Ù. À¯´Ð½º¸á¸µ¸®½ºÆ®¸Å´ÏÀú ´ëºÎºÐÀÌ (¶Ç´Â ÀüºÎ°¡) Å¥¸ÞÀÏ°ú ÀÛµ¿ÇÒ ¼ö ÀÖ½À´Ï´Ù. 5.9.1. ezmlm Å¥¸ÞÀÏÀÇ ÀúÀÚÀÎ Dan BernsteinÀÌ ÀÛ¼ºÇß½À´Ï´Ù. Å¥¸ÞÀÏ°ú »ç¿ëÇϵµ·Ï ½èÀ¸¸ç, Å¥¸ÞÀÏÀÇ ¸î¸î Ư¡¿¡ ÀÇÁ¸ÇÕ´Ï´Ù. °¡Àå µÎµå·¯Áø Á¡Àº ¹Ù¿î½º¸Þ¼¼Áö¸¦ ¾ÈÁ¤ÇÏ°Ô Ã³¸®Çϵµ·Ï VERP¸¦ »ç¿ëÇÕ´Ï´Ù. MLMÁß¿¡¼­ ezmlmÀÌ ´Ù¼Ò µ¶Æ¯ÇÑ Á¡Àº Áß¾Ó MLMÁÖ¼Ò·Î º¸³»Áø ¸í·ÉÀ» ó¸®ÇÏÁö ¾Ê°í, ¸®½ºÆ®ÀÇ À̸§¿¡ µ¡ºÙÀÔ´Ï´Ù. ¿¹) "foo@list.example.net"¿¡ °¡ÀÔÇÏ·Á¸é "foo-subscribe@list.example.net"À¸·Î ¸Þ¼¼Áö¸¦ º¸³À´Ï´Ù. ´õ ¾Ë°í ½ÍÀ¸½Ã¸é ºñ°ø½ÄÀ¥»çÀÌÆ®ÀÌ°í, ¸Å¿ì ¸¹Àº Ư¡À» Æ÷ÇÔÇÏ´Â ¾ÆÁÖ ÈǸ¢ÇÑ ¾Öµå¿ÂÀÎ ezmlm-idxÀÇ °ø½ÄȨÆäÁöÀÎ ¸¦ º¸½Ê½Ã¿À. 5.9.2. ¸ÞÀÌÀúµµ¸ð °¡Àå ¸¹ÀÌ º¸±ÞµÈ À¯´Ð½º MLMÀÔ´Ï´Ù. µÎ¼¼°¡Áö¸¸ °íÄ¡¸é Å¥¸ÞÀÏ°ú ¸ÚÁö°Ô ÀÛ¿ëÇÕ´Ï´Ù. Russ Allbery°¡ Å¥¸ÞÀÏ/¸ÞÀÌÀúµµ¸ð¿¡ °üÇÑ FAQ¸¦ ½è´Âµ¥, ¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. 5.10. ÆÐÄ¡ Å¥¸ÞÀÏ¿¡ ´ëÇÑ ¿©·¯ ¼Ò½ºÄÚµåÆÐÄ¡¸¦ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÆÐÄ¡¸¦ ¼³Ä¡ÇÏ·Á¸é, ´Ù¿î·ÎµåÇÏ°í, Å¥¸ÞÀϼҽºÆ®¸®·Î °¡¼­ ÆÐÄ¡¸í·ÉÀ» ¾¹´Ï´Ù. cd /usr/local/src/qmail/qmail-1.03 patch -p0 < /tmp/patchfile Å¥¸ÞÀÏÀ» ¸ØÃç¾ß Çϴµ¥, qmail-send¸¦ ³¡³»°Å³ª, ¼³Ä¡Ç׸ñ¿¡ Àִ ť¸ÞÀϽºÅ©¸³Æ®¸¦ ¼³Ä¡ÇÏ¼Ì´Ù¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. /usr/local/sbin/qmail stop ±×¸®°í³ª¼­ ´Ù½Ã ÄÄÆÄÀÏÇÏ°í ¹ÙÀ̳ʸ®¸¦ ¼³Ä¡ÇÕ´Ï´Ù. make setup check 5.10.1. DNS ¿¹·ÎºÎÅÍ DNSÀÀ´äÀº 512¹ÙÀÕÀ¸·Î Á¦ÇѵǾú´Ù. ¸î¸î ´ëÇü»çÀÌÆ®µé, ±×Áß¿¡¼­µµ America Online,Àº MXÀÀ´äÀ» ´õ ±æ°ÔÇؼ­ µÇµ¹¸®±â ½ÃÀÛÇß½À´Ï´Ù. Å¥¸ÞÀÏ°ú ±âŸ ¸¹Àº ÇÁ·Î±×·¥µéÀº ¸Å¿ì Å«°á°ú¸¦ µÇµ¹¸®´Â Domain Name Server (DNS)ÁúÀÇ¿¡´Â ¹®Á¦°¡ ÀÖ½À´Ï´Ù. Å¥¸ÞÀÏ¿¡¼­´Â ÀÌ°ÍÀ» ÇØ°áÇϴµ¥ µÎ°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. 5.10.1.1. ÆÐŶ¹öÆÛ»çÀÌÁ 65536±îÁö ¹Ð¾î¿Ã¸®±â ȸ´äÀÌ Àý´Üºø¼Â°ú µ¹¾Æµµ¸é ¶óÀÔ·¯¸®Äڵ峻¿¡¼­ TCPÁúÀǸ¦ ÀÚµ¿À¸·Î ÇÏ´Â ÃÖ±ÙÀÇ BIND resolver ¶óÀÔ·¯¸®¿Í µ¿ÀÛÇÕ´Ï´Ù. °¡Àå °£´ÜÇÑ ÇØ°áÀÌÁö¸¸, ÇØ´ç½Ã½ºÅÛÀÇ ÆäÀ̡󸮹æ¹ý¿¡ µû¶ó¼­ ¸Þ¸ð¸®³¶ºñ°¡ °¡Àå Ŭ ¼ö ÀÖ½À´Ï´Ù. dns.cÀÇ PACKETSZ¸¦ 65536À¸·Î ¹Ù²Ù°í Å¥¸ÞÀÏÀ» ´Ù½Ã ÄÄÆÄÀÏÇÏ¸é µË´Ï´Ù. 5.10.1.2. Christopher K. DavisÀÇ ÆÐÄ¡ (urlnam ) ¾Æ¹«¸® ¿À·¡µÇ¾ú¾îµµ, ±×¸®°í "¹öÆÛ¿¡ ³õÀÌ´Â ¹ÙÀÕ¼ö"¶óÀÔ·¯¸®¹ö±×¸¦ ÇÇÇÏ·Á°í °¡µå(guard)¹ÙÀÕÀ» »ç¿ëÇÏ´Â ¾î¶² ¸®Á¹¹ö¶óÀÔ·¯¸®¿Íµµ µ¿ÀÛÇÏ´Â Chuck FosterÀÇ ÆÐÄ¡¸¦ °³Á¶ÇÑ °ÍÀÔ´Ï´Ù. ÇÊ¿äÇÑ Å©±â·Î Çϱ⺸´Ù´Â (¿ø·¡ÆÐÄ¡¿Í °°ÀÌ ÀÀ´äÀÌ ±âº» 512¹ÙÀÕÀÎ PACKETSZº¸´Ù Ä¿¾ßÁö¸¸ ÀçÇÒ´çÇÏÁö¸¸) 65536À¸·Î ´Ü Çѹø¸¸ ÀçÇÒ´çÇϹǷΠChuckÀÇ ÆÐÄ¡º¸´Ù ¸Þ¸ð¸®È¿À²¿¡¼­´Â ¶³¾îÁý´Ï´Ù. ÀçÇÒ´çÈÄ¿¡, TCPÁúÀǸ¦, ¸®Á¹¹ö¶óÀÔ·¯¸®°¡ ÇÏ°ÔÇÏÁö ¾Ê°í, (Å¥¸ÞÀÏ°ú ³×ÀÓ¼­¹ö°¡ °°Àº ±â°è ¶Ç´Â ·ÎÄóݿ÷¿¡ ÀÖÀ¸¸é Å«°ÆÁ¤ÀÌ ¾Æ´ÏÁö¸¸, ±×°Íµé°£ ¿©ºÐÀÇ ¿Õº¹À» ÇÇÇϸ鼭) °­Á¦·Î ÇÕ´Ï´Ù. 5.10.2. qmail-ldap Andre Oppermann µîÀÇ ÀÌ ÆÐÄ¡´Â Lightweight Directory Access Protocol (LDAP)Áö¿øÀ» Å¥¸ÞÀÏ¿¡ ±¸ÇöÇÕ´Ï´Ù. LDAP´Â ³Ý¿÷ÀüÈ­Ã¥°ú °°½À´Ï´Ù. qmail-ldap¸¦ »ç¿ëÇϸé POP¼­¹ö¸¦ ¼öõ¸íÀÇ »ç¿ëÀÚ¿¡°Ô ÆíÀǸ¦ Á¦°øÇÒ ¼ö ÀÖ½À´Ï´Ù. ¸¦ º¸½Ê½Ã¿À. 5.11. QMTP (Quick Mail Transfer Protocol) Dan BernsteinÀÌ ¼³°èÇÑ SMTP´ëüÇÁ·ÎÅäÄÝÀÔ´Ï´Ù. ÇØ´ç ÇÁ·ÎÅäÄÝÀº ¿¡ Á¤ÀǵǾî ÀÖ½À´Ï´Ù. SMTP¿Í À¯»çÇÏÁö¸¸, ´õ °£´ÜÇÏ°í, ´õ ºü¸£°í, SMTP¿Í´Â ȣȯµÇÁö ¾Ê½À´Ï´Ù. Å¥¸ÞÀÏÀº qmail-qmtp¶ó´Â QMTP¼­¹ö¸¦ Æ÷ÇÔÇϴµ¥, qmail-smtp¿Í ¸Å¿ì Èí»çÇÏ°Ô µ¿ÀÛÇÕ´Ï´Ù. ´ë°³ 209Æ÷Æ®¸¦ ÀÌ¿ëÇÕ´Ï´Ù. Å¥¸ÞÀÏÀº QMTPŬ¶óÀ̾ðÆ®¸¦ Æ÷ÇÔÇÏÁö ¾ÊÁö¸¸, serialmailÆÐÄÉÁö´Â ±×°ÍÀ» Æ÷ÇÔÇÕ´Ï´Ù. maildir2qmtp´Â maildir¸áº¹½º¿¡ ÀÖ´Â ¸Þ¼¼Áö¸¦ QMTP¸¦ ÅëÇؼ­ ÁöÁ¤ÇÑ QMTP¼­¹ö·Î Àü´ÞÇÕ´Ï´Ù. SMTP¿¡ ´ëÇÑ drop-in ´ëüǰÀÌ ¾Æ´Ï¸ç, ¾ÆÁ÷±îÁö´Â ÀÎÅͳݻ󿡼­ ¸¹ÀÌ ÆÛÁöÁö ¾Ê¾Ò½À´Ï´Ù. 6. ºÎ·Ï 6.1. »ç·Ê ¸ÕÀú ÀÌ·± °­·ÂÇÏ°í ¸Úµé¾îÁø ½Ã½ºÅÛÀ» ¼³°èÇÏ°í ¾´ Dan Bernstein¿¡°Ô °¨»ç¸¦ Ç¥½ÃÇÕ´Ï´Ù. 3³â°£ÀÇ »ç¿ëÈÄ¿¡µµ Å¥¸ÞÀÏÀº Àú¸¦ °¨µ¿ÇÏ°Ô ÇÕ´Ï´Ù. Å¥¸ÞÀϸḵ¸®½ºÆ®ÀÇ È¸¿øµé²²µµ °¨»çÇÏ°íÀÚ ÇÕ´Ï´Ù. Russell NelsonÀº °¡Àå Å« µµ¿ò°ú Àγ»¿Í Áö½Ä°ú Àç¹Ì¸¦ °øÇåÇÑ »ç¶÷µé Áß Çϳª·Î Ưº°È÷ ¾ð±ÞÇÒ ¸¸ ÇÕ´Ï´Ù. Å¥¸ÞÀÏ°øµ¿Ã¼¿¡ ´ëÇÑ ±×ÀÇ °øÇåÀº ¿ÀÁ÷ DJB¿¡°Ô¸¸ µÚÁú»ÓÀÔ´Ï´Ù. º»¹®¼­¿¡ °ËÅä¿Í ±â¿©¸¦ ÇϽŠ¸ðµç ºÐµé²²µµ »ç·Ê¸¦ µå¸³´Ï´Ù. o Vince Vielhaber o Chris Green o Christopher K. Davis o Scott Schwartz o Fred Lindberg o Russell P. Sutherland o Alex Miller o Tim Hunter o Frank D. Cringle o Mahlon Smith o Rogerio Brito ¸¶Äžð¾î·Î¼­ HTML, Æò¹üÇÑ ¹®¼­, Æ÷½ºÆ®½ºÅ©¸³Æ®, POD, ±âŸ Çü½Ä¹®¼­ µîÀ» ¸¸µé¾î ³À´Ï´Ù. ±×°ÍÀ¸·Î ÀÏÀÌ ¸¹ÀÌ ½¬¾ú½À´Ï´Ù. ´õ¾Ë°í ½ÍÀ¸½Ã¸é ¸¦ º¸½Ê½Ã¿À. 6.2. °ü·Ã ÆÐÅ°Áö 6.2.1. dot-forward SendmailÀº dot forward¶ó°í ¹ßÀ½ÇÏ´Â .forwardÆÄÀÏÀ» »ç¿ëÇؼ­ »ç¿ëÀÚ°¡ ¼ö½Å¸Þ¼¼ÁöÀÇ Àü´ÞÀ» ÅëÁ¦Çϵµ·Ï ÇÕ´Ï´Ù. Å¥¸ÞÀϵµ À¯»çÇÑ ÀåÄ¡¸¦ ¾²´Âµ¥, .qmailÆÄÀÏÀÔ´Ï´Ù. dot-forwardÆÐÅ°Áö´Â Å¥¸ÞÀÏÀÌ .forwardÆÄÀÏÀ» »ç¿ëÇÒ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù. .forwardÆÄÀÏÀ» »ç¿ëÇÏ´Â, SendmailÀ̳ª ¿©Å¸ MTA¸¦ ¿î¿µÇÏ´Â ½Ã½ºÅÛÀº »ç¿ëÇؼ­ ±âÁ¸ÀÇ .forwardÆÄÀÏÀ» .qmail¿¡ »óÀÀÇϴ°ÍÀ¸·Î º¯È¯ÇÏÁö ¾Ê±â À§Çؼ­, ¶Ç´Â ´Ü¼øÈ÷ Å¥¸ÞÀÏ·ÎÀÇ ÀÌÇàÀ» »ç¿ëÀڵ鿡°Ô ´ú ´«¿¡ ¶ç°Ô Çϱâ À§Çؼ­ dot-forwardÀÇ »ç¿ëÀ» °í·ÁÇØ¾ß ÇÒ Áöµµ ¸ð¸¨´Ï´Ù. ÀÛÀº ÆÐÄÉÁöÀ̹ǷΠ¼³Ä¡ÇÏ°í ¼³Á¤ÇÏ´Â µ¥ ½±½À´Ï´Ù. ÇØ´ç ¼Ò½º´Â ¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ±×´Â °ü·ÃȨÆäÁö¸¦ ¿¡ °ü¸®ÇÕ´Ï´Ù. 6.2.2. fastforward ¶Ç´Ù¸¥ Sendmailȣȯ ¾Öµå¿ÂÀÔ´Ï´Ù. SendmailÀº Áß¾Ó¾Ù¸®¾î½ºµ¥ÀÌÅͺ£À̽º¸¦ ´ë°³ /etc/aliases¶ó´Â ´ÜÀÏÆÄÀÏ¿¡ º¸°üÇÕ´Ï´Ù. Å¥¸ÞÀÏÀº /var/qmail/alias¿¡ ÀÖ´Â ÀÏ·ÃÀÇ dot-qmailÆÄÀϵéÀ» »ç¿ëÇϴµ¥, ÇÑ ÆÄÀÏ¿¡ ÇÑ ¾Ù¸®¾î½ºÀÔ´Ï´Ù. Å¥¸ÞÀÏ·Î ¿Å±â½Ã´Âµ¥ º¯È¯ÇÏ°í ½ÍÁö ¾ÊÀº SendmailÇü½ÄÀÇ ¾Ù¸®¾î½ºÆÄÀÏÀÌ ÀÖÀ¸½Ã¸é, fastforward°¡ Å¥¸ÞÀÏ¿¡°Ô ¾Ù¸®¾î½ºÆÄÀÏÀ» ÀÖ´Â ±×´ë·Î ¾µ ¼ö ÀÖ°Ô ÇØÁÝ´Ï´Ù. ÇØ´ç ¼Ò½º´Â ¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ±×´Â ¿¡ À¥ÆäÁö¸¦ °ü¸®ÇÕ´Ï´Ù. 6.2.3. ucspi-tcp Å¥¸ÞÀÏÀÇ SMTP¼­¹ö´Â ½ºÅĵå¾ó·Ðµ¥¸óÀ¸·Î ÀÛµ¿ÇÏÁö ¾Ê½À´Ï´Ù. µµ¿ì¹ÌÇÁ·Î±×·¥ÀÎ inetd, xinetd, ¶Ç´Â tcpserver µîÀÌ µ¥¸óÀ¸·Î ÀÛµ¿ÇÕ´Ï´Ù. SMTPÆ÷Æ®ÀÎ 25Æ÷Æ®·Î Á¢¼ÓÀ» ¹ÞÀ¸¸é qmail-smtpd »çº»À» ½ÇÇàÇÕ´Ï´Ù. inetd´Â Ç¥Áسݿ÷¼­¹öÀÎ "¼öÆÛ¼­¹ö"ÀÔ´Ï´Ù. /etc/inetd¸¦ ¼³Á¤Çؼ­ qmail- smtpd¸¦ ÀÛµ¿ÇÒ ¼ö ÀÖ½À´Ï´Ù¸¸, ucspi-tcpÆÐÄÉÁöÀÇ ÀϺÎÀÎ tcpserver°¡ ±ÇÀåÅøÀÔ´Ï´Ù. ucspi-tcp´Â UNIX Client-Server Program Interface for TCPÀÇ µÎ¹®ÀÚÀÌ°í, ooks-pie tee see pee·Î ¹ßÀ½ÇÕ´Ï´Ù. tcpserver¸¦ ¼±È£ÇÏ´Â ÀÌÀ¯´Â ´ÙÀ½°ú °°½À´Ï´Ù. o ¼­ºñ½º·ÎÀÇ µ¿½ÃÁ¢¼Ó¼ö¸¦ Á¦ÇÑÇÒ ¼ö ÀÖ½À´Ï´Ù. inetd´Â Á¢¼Ó·üÁ¦ÇÑÀåÄ¡¸¦ ¾²¹Ç·Î ³Ê¹«¹Ù»Û ¼­ºñ½º¸¦ Àá½Ã ¹«·ÂÇÏ°Ô ÇÒ ¼ö ÀÖ½À´Ï´Ù. o ƯÁ¤ È£½ºÆ®¿¡°Ô Á¢±Ù°ÅºÎÇϵµ·Ï Çϰųª, "·ÎÄÃ"È£½ºÆ®¸¦ ÀνÄÇÏ°í ½ÅÈ£¸¦ ºÎ¿©Çؼ­ qmail-smtpd°¡ ´Ù¸£°Ô Ãë±ÞÇϵµ·Ï ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. o Å¥¸ÞÀÏÀÇ ÀúÀÚ°¡ Áö¿øÇÏ´Â À¯ÀÏÇÑ ¼­¹öÀÔ´Ï´Ù. ÇØ´ç ¼Ò½º´Â ¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù. 6.2.4. daemontools ¼­ºñ½º¸¦ ÅëÁ¦ÇÏ°í °¨½ÃÇÏ´Â À¯Æ¿¸®Æ¼±ºÀ» ´ã°í ÀÖ½À´Ï´Ù. Çʼö»çÇ×Àº ¾Æ´Õ´Ï´Ù¸¸, ƯÈ÷ ¹Ù»Û½Ã½ºÅÛ¿¡°Ô´Â °­·ÂÈ÷ ±ÇÀåÇÕ´Ï´Ù. Æ÷ÇÔÇÏ´Â À¯Æ¿¸®Æ¼µéÀº ´ÙÀ½°ú °°½À´Ï´Ù. o supervise: ¼­ºñ½º¸¦ °¨½ÃÇÏ°í, ³¡³ª¸é ´Ù½Ã ½ÃÀÛÇÕ´Ï´Ù. o svc: supervise¿Í Åë½ÅÇؼ­ ¼­ºñ½º¸¦ ¸ØÃß°í, ½¬°í, ´Ù½Ã½ÃÀÛÇÏ°Ô ÇÕ´Ï´Ù. o cyclog: ¼­ºñ½º¿¡ ´ëÇÑ ·Î±×¸¦ À¯ÁöÇÏ°í, ¼³Á¤ÇÑ Å©±âÀÌÇÏ·Î À¯ÁöÇÒ ¼ö ÀÖ°Ô ÀÚµ¿À¸·Î ±³´ë½Ãŵ´Ï´Ù. o accustamp: ·Î±×±âÀç»çÇ×À» Á¤È®ÇÏ°Ô ½Ã°£Âï±âÇÕ´Ï´Ù. o usually, errorsto: ÀÌ»óÇÑ ¸Þ¼¼Áö¿¡ ´ëÇÑ ·Î±×¸¦ ÁÖ½ÃÇÕ´Ï´Ù. o setuser: ÀϹݻç¿ëÀÚÀÇ UID¿Í GID·Î ¼öÆÛÀ¯ÀúÀÇ ÇÁ·Î±×·¥À» µ¹¸³´Ï´Ù. ÇØ´ç¼Ò½º´Â ¿¡¼­ ±¸ÇϽǼö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù. 6.2.5. qmailanalog Å¥¸ÞÀÏÀÇ ·Î±×ÆÄÀÏÀ» ó¸®ÇÏ°í ÇØ´ç ½Ã½ºÅÛÀÌ ¾ó¸¶³ª ±×¸®°í ¾î¶² ÀÏÀ» ÇÏ°í ÀÖ´Â Áö ¾Ë¸®´Â ÀÏ·ÃÀÇ º¸°í¼­¸¦ ¸¸µì´Ï´Ù. ¾ó¸¶³ª ¸¹Àº ¸Þ¼¼Áö¸¦ ÁÖ°í ¹Þ¾Ò´Â Áö, ¾ó¸¶³ª Å« Áö, ¾ó¸¶³ª »¡¸® 󸮵Ǵ Áö µî¿¡ ´ëÇÑ Åë°è°¡ ÇÊ¿äÇϸé, qmailanalog°¡ ¹Ù·Î ±×°ÍÀÔ´Ï´Ù. º¸³Ê½º·Î matchupÇÁ·Î±×·¥Àº Å¥¸ÞÀÏÀÇ ¸Å Àü´Þ´ç º¹¼ö·Î±×ÇàÀ» Çϳª·Î ¸¸µå´Âµ¥, ÀÌ¹Ì Àͼ÷ÇÑ Sendmail·Î±×¿Í ´Ù¸£Áö ¾Ê½À´Ï´Ù. ÇØ´ç¼Ò½º´Â ¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù. 6.2.6. rblsmtpd ½ºÆÔ´çÇغ¸Áö ¾ÊÀ¸¼Ì´Ù¸é ¿îÀÌ ÁÁ¾Ò´Ù°í »ý°¢ÇϽʽÿÀ. À̸ÞÀÏ»ç¿ëÀÚµé ´ëºÎºÐÀÌ ½ºÆÔÀ̶ó°í ¾Ë·ÁÁø ¿øÄ¡¾Ê´Â µÎÅùÇÑ À̸ÞÀÏ (Unsolicited Bulk E- mail: UBE)¿¡ Àͼ÷ÇÕ´Ï´Ù. ±×°Íµé ´ëºÎºÐ ¼½½º»çÀÌÆ®, Çà¿îÀÇ ÆíÁö, ±âŸ ½Å¿ë»ç±â µî¿¡ ´ëÇÑ ±¤°íÀÔ´Ï´Ù. 1988³â Á¤µµ Àü±îÁöÀÇ ¿¹Àü¿¡´Â ÀÎÅͳݻóÀÇ MTAµé ´ëºÎºÐÀº °³¹æÁß°è, Áï ¼Û½ÅÀÚµµ ¼ö½ÅÀÚµµ ¸ðµÎ ·ÎÄÃÀÌ ¾Æ´Ï¶óµµ ´©±¸µçÁö º¸³»°í ´©±¸µçÁö ¹Þ´Â ¸áÀ» ¹Þ¾Æµé¿´½À´Ï´Ù. ½ºÆиӴ ½ºÆÔÀ» Àü´ÞÇϱâ À§Çؼ­ ¾î´À°ÍÀ̵ç ã±â¸¸ ÇÏ¸é °³¹æÁ߰踦 ÀÌ¿ëÇÕ´Ï´Ù. ±×·¸°Ô µÇ¸é ÇàÀûÀ» µ¤¾î¹ö¸®°í, ¹Ý¹ßÀ» "Á¤Á÷ÇÑ" Áß°è»çÀÌÆ®·Î µ¹¸®°Ô µÇ¸ç, ±×µéÀº CPU½Ã°£°ú ³Ý¿÷´ë¿ªÀ» ¸¹ÀÌ ¾Æ³¢°Ô µË´Ï´Ù. ¿äÁò ÀÌ·± °³¹æÁß°è´Â ½ÉÇÑ ºÒ·®À¸·Î Àνĵǰí, ¸î¸î ¹Ý½ºÆÔÀÚ°æ´Ü±×·ìÀº °³¹æÁß°è¿Í ±âŸ Àú¼ÓÇÑ ½ºÆÔÃâó¸¦ È®ÀÎÇÏ´Â ÀåÄ¡¸¦ ¸¸µé¾î¼­ ±×µé·ÎºÎÅÍ SMTPÁ¢¼Ó½Â¶ôÀ» ÇÇÇÒ ¼ö ÀÖ½À´Ï´Ù. Realtime Blackhole List (RBL), Open Relay Behavior-modification System (ORBS), Dial-up User List (DUL) µîÀÌ ±×°ÍÀÔ´Ï´Ù. o o o rblsmtpd´Â RBL SMTP µ¥¸óÀÔ´Ï´Ù. tcpserver¿Í qmail-smtpdÀÇ »çÀÌ¿¡ ÀÖÀ¸¸é¼­ ÀÌ ¸®½ºÆ®»ó¿¡¼­ È®ÀÎµÈ ½Ã½ºÅÛÀ¸·ÎºÎÅÍÀÇ Á¢¼ÓÀ» °ÅºÎÇÕ´Ï´Ù. °ü·Ã¼Ò½º´Â ¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ¿¡ À¥ÆäÁö¸¦ À¯ÁöÇÕ´Ï´Ù. 6.2.7. serialmail Å¥¸ÞÀÏÀº Àü½Ã°£, °í¼ÓÁ¢¼ÓÀÇ ½Ã½ºÅÛÀ» À§ÇØ ¼³°èµÇ¾ú½À´Ï´Ù. serialmailÀº Å¥¸ÞÀÏÀ» °£ÇæÀûÀÌ°í Àú¼Óµµ Á¢¼Ó¿¡ ´õ Àß ¸Â°Ô ÇÏ´Â Åø±ºÀÔ´Ï´Ù. ±×·± ½Ã½ºÅÛ»óÀÇ serialmail·Î Å¥¸ÞÀÏÀº ¸ðµç ¿ø°Ý¸áÀ» ´ÜÀÏ maildir·Î Àü´ÞÇϵµ·Ï ¼³Á¤µË´Ï´Ù. serialmailÀÇ maildir2smtp¸í·ÉÀº Á¢¼ÓÀÌ µÇ¾úÀ» ¶§ ISPÀÇ ¸áÇãºê·Î maildir¸¦ ¿Ã¸®´Â µ¥ »ç¿ëµË´Ï´Ù. ISP°¡ QMTP (°í±ÞÁÖÁ¦ÀÇ QMTP¸¦ º¸½Ê½Ã¿À.)¸¦ Áö¿øÇϸé, maildir2qmtpµµ ¾µ ¼ö ÀÖ½À´Ï´Ù. serialmailÀº Á¢¼ÓÀÇ ISPÃø¿¡¼­ AutoTURNÀ» ±¸ÇöÇϴµ¥ »ç¿ëµÉ ¼ö Àִµ¥, Ŭ¶óÀ̾ðÆ®°¡ ÇÏ´Â SMTPÁ¢¼ÓÀº ¼­¹ö°¡ Á¢¼ÓÀ» Ŭ¶óÀ̾ðÆ®·Î µ¹·Á¼­ ¼­¹ö¿¡ Å¥µÈ ¸Þ¼¼Áö¸¦ Ŭ¶óÀ̾ðÆ®·Î º¸³»µµ·Ï ÇÕ´Ï´Ù. ÀÌ°ÍÀº ETRN SMTP±â´É°ú À¯»çÇÕ´Ï´Ù. ÇØ´ç¼Ò½º´Â ¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ¿¡ À¥ÆäÁö¸¦ À¯ÁöÇÕ´Ï´Ù. 6.2.8. mess822 RFC 822¸¦ µû¸£´Â ¸Þ¼¼Áö¸¦ Çؼ®ÇÏ´Â ÀÀ¿ëÁ¦Ç°±º°ú ¶óÀÔ·¯¸®ÀÔ´Ï´Ù. ÀÀ¿ëÁ¦Ç°Àº ´ÙÀ½°ú °°½À´Ï´Ù. o ofmipd: Ŭ¶óÀ̾ðÆ®·ÎºÎÅÍ ¸Þ¼¼Áö¸¦ ¹Þ¾Æ¼­ FromÇʵ带 µ¥ÀÌÅͺ£À̽º¿¡ ±âÃÊÇؼ­ ÀçÀÛ¼ºÇÏ´Â µ¥¸ó o new-inject: »ç¿ëÀÚÅëÁ¦ÇÏ¿¡ È£½ºÆ®³×ÀÓÀ» ÀçÀÛ¼ºÇÏ´Â °ÍÀ» Áö¿øÇÏ´Â qmail-inject´ëÁ¦Ç° o iftocc: ¸Þ¼¼Áö°¡ ƯÁ¤ÁÖ¼Ò·Î º¸³»Á³´Â Áö¸¦ °Ë»çÇÏ´Â .qmail À¯Æ¿¸®Æ¼ o 822header, 822field, 822date, 822received: ¸Þ¼¼Áö¿¡¼­ Á¤º¸¸¦ ÃßÃâ o 822print: ¸Þ¼¼Áö¸¦ ¿¹»Ú°Ô ÇÁ¸°Æ® ÇØ´ç ¼Ò½º´Â ¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½èÀ¸¸ç ¿¡ À¥ÆäÁö¸¦ À¯ÁöÇÕ´Ï´Ù. 6.2.9. ezmlm ¼º´ÉÀÌ ¿ì¼öÇÏ°í »ç¿ëÇϱ⠽¬¿î Å¥¸ÞÀÏ¿ë ¸á¸µ¸®½ºÆ®¸Å´ÏÀúÀÔ´Ï´Ù. LISTSERV³ª Majordomo¿¡ Àͼ÷ÇÏ½Ã´Ù¸é ¸á¸µ¸®½ºÆ®¸Å´ÏÀú°¡ ¹«¾ùÀ» ÇÏ´Â Áö ¾Æ½Ç°Ì´Ï´Ù. Å¥¸ÞÀÏ¿¡¼­ÀÇ ¸á¸µ¸®½ºÆ®¿¡ ´ëÇØ ´õ ¾Ë°í ½ÍÀ¸½Ã¸é °í±ÞÁÖÁ¦ÀÇ ¸á¸µ¸®½ºÆ®¸Å´ÏÀúÇ׸ñÀ» º¸½Ê½Ã¿À. ÇØ´ç¼Ò½º´Â ¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. Dan BernsteinÀÌ ½è°í, ¿¡ °ü·ÃÀ¥ÆäÁö°¡ ÀÖ½À´Ï´Ù. 6.2.10. safecat ÆÄÀÏÀ» maildir¸áº¹½º¿¡ È®½ÇÈ÷ ¾¹´Ï´Ù. Ưº°È÷ procmail ¹æ¹ýÀ¸·Î ¸Þ¼¼Áö¸¦ º¸°üÇÏ´Â µ¥ À¯¿ëÇÕ´Ï´Ù. ¿¹¸¦ µé¸é, ´ÙÀ½¹æ¹ýÀº ¸Þ¼¼Áö¸¦ ¸ðµÎ Maildir¿¡ º¸°üÇÕ´Ï´Ù. :0w |safecat Maildir/tmp Maildir/new Len Budney°¡ ½è°í, ¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÏ°í ÀÖ½À´Ï´Ù. 6.2.11. maildrop procmail°ú À¯»çÇÑ ¸áÇÊÅÍÀÔ´Ï´Ù. (ÆÐÄ¡¸¦ ÇÏÁö¾ÊÀº) procmailÀÌ °®Áö ¾ÊÀº Ư¡ Çϳª´Â maildir¸áº¹½º¸¦ Áö¿øÇÑ´Ù´Â °ÍÀÔ´Ï´Ù. Sam VarshavchikÀÌ ½è°í, ¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù. 6.3. ÀÎÅͳݸáÀÇ µ¿ÀÛ¹æ¹ý 6.3.1. ¸Þ¼¼Áö°¡ AÁöÁ¡¿¡¼­ BÁöÁ¡À¸·Î °¡´Â ¹æ¹ý ÇÑÈ£½ºÆ®ÀÇ »ç¿ëÀÚ°¡ ´Ù¸¥ È£½ºÆ®ÀÇ »ç¿ëÀÚ¿¡°Ô ¸Þ¼¼Áö¸¦ º¸³»¸é, ¹«´ëµÚ¿¡¼­´Â ¾Ë¾ÆÂ÷¸®Áö ¸øÇÏ´Â ¸¹Àº ÀÏÀÌ ÀϾ´Ù. ¿¹¸¦ µé¾î alice@alpha.example.comÀÇ Alice°¡ bob@beta.examle.comÀÇ Bob¿¡°Ô ¸Þ¼¼Áö¸¦ º¸³½´Ù°í ÇսôÙ. ´ÙÀ½°ú °°Àº ÀÏÀÌ ¹ú¾îÁý´Ï´Ù. Alice´Â muttÀ̳ª pine µî ÀÚ±âÀÇ Mail User Agent (MUA)·Î ¸Þ¼¼Áö¸¦ ÀÛ¼ºÇÕ´Ï´Ù. To Çʵ忡 ¼ö½ÅÀÎ, SubjectÇʵ忡 ¸Þ¼¼ÁöÀÇ Á¦¸ñÀ», ±×¸®°í ¸Þ¼¼Áöº»¹®À» Àû½À´Ï´Ù. ´ÙÀ½°ú °°À» °Ì´Ï´Ù. To: bob@beta Subject: lunch How about pizza? 1. ¸Þ¼¼Áö°¡ ¸¾¿¡ µé¸é MUA¿¡°Ô º¸³»µµ·Ï ÇÕ´Ï´Ù. 2. ¿©±â¼­, MUA´Â Date³ª Message-Id µî°ú °°Àº Ãß°¡Çì´õÇʵ带 µ¡ºÙÀÌ°í, (¿¹¸¦µé¾î¼­ bob@beta¸¦ "Bob "·Î ¹Ù²ã¼­) Alice°¡ ³ÖÀº °ªµéÀ» °íĨ´Ï´Ù. ´ÙÀ½À¸·Î, MUA´Â ¸á½Ã½ºÅÛ¿¡ ¸Þ¼¼Áö¸¦ »ðÀÔÇÕ´Ï´Ù. ¿©±â¿¡´Â µÎ°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. ¸Þ¼¼Áö¸¦ »ðÀÔÇϱâ À§ÇØ ¸á½Ã½ºÅÛ¿¡¼­ Á¦°øÇÏ´Â ÇÁ·Î±×·¥À» ½ÇÇàÇϰųª, ·ÎÄýýºÅÛ ¶Ç´Â ¿ø°Ý¸á¼­¹ö»óÀÇ Simple Mail Transfer Protocol (SMTP)Æ÷Æ®¿¡ Á¢¼ÓÀ» ¿±´Ï´Ù. º» ¿¹Á¦¿¡¼­, ¿ì¸®´Â MUA°¡ ·ÎÄûðÀÔÇÁ·Î±×·¥À» »ç¿ëÇؼ­ ¸Þ¼¼Áö¸¦ MTA·Î º¸³½´Ù°í ÇÏ°Ú½À´Ï´Ù. »ðÀÔ°úÁ¤ÀÇ ÀÚ¼¼ÇÑ ³»¿ëÀº MTA¸¶´Ù ´Ù¸£Áö¸¸, À¯´Ð½º½Ã½ºÅÛ¿¡¼­´Â sendmail¹æ½ÄÀÌ »ç½ÇÇ¥ÁØÀÔ´Ï´Ù. À̹æ½ÄÀ¸·Î MUA´Â Çì´õ¿Í º»¹®À» °ø¹éÁÙ·Î ºÐ¸®Çؼ­ ÆÄÀÏ¿¡ ³Ö°í, sendmailÇÁ·Î±×·¥À¸·Î ±× ÆÄÀÏÀ» º¸³À´Ï´Ù. 3. ¸Þ¼¼Áö°¡ ±¸¹®ÀÌ ¿Ã¹Ù¸£°í sendmailÀÌ Á¦´ë·Î È£ÃâµÇ¾î¼­ »ðÀÔÀ» ¼º°øÇßÀ¸¸é, ±× ¸Þ¼¼Áö´Â ÀÌÁ¦ MTAÀÇ Ã¥ÀÓÀÔ´Ï´Ù. ¼¼ºÎ»çÇ×Àº MTA¸¶´Ù Å©°Ô ´Ù¸£Áö¸¸, ´ë°³ alphaÀÇ MTA´Â Çì´õ¸¦ °ËÅäÇؼ­ ¸Þ¼¼Áö¸¦ ¾îµð·Î º¸³¾Áö °áÁ¤Çؼ­, beta¿¡ SMTPÁ¢¼ÓÀ» ¿­°í, beta½Ã½ºÅÛÀÇ MTA·Î ¸Þ¼¼Áö¸¦ Àü¼ÛÇÕ´Ï´Ù. SMTP´ëÈ­¿¡¼­ ¸Þ¼¼Áö´Â µÎ ºÎºÐÀ¸·Î ³ª´²¼­ º¸³»Áö°Ô µÇ´Âµ¥, ±× Çϳª´Â ºÀÅõ·Î¼­ ¼ö½ÅÀÎ ÁÖ¼Ò (bob@beta.example.com)¿Í ȸ½ÅÁÖ¼Ò (alice@alpha.example.com)¸¦ ¸í½ÃÇÏ°í, ´Ù¸¥ Çϳª´Â ¸Þ¼¼Áö ±× ÀÚü·Î¼­ Çì´õ¿Í º»¹®À» ÀÌ·ì´Ï´Ù. 4. beta ½Ã½ºÅÛ¿¡ bobÀ̶ó´Â »ç¿ëÀÚ°¡ ¾ø¾î¼­ beta MTA°¡ ¸Þ¼¼Áö¸¦ °ÅºÎÇϸé, alpha MTA´Â ȸ½ÅÁÖ¼ÒÀÎ alice@alpha·Î ¹Ù¿î½º¸Þ¼¼Áö¸¦ º¸³»¼­ ¹®Á¦¸¦ ¾Ë¸³´Ï´Ù. 5. beta MTA°¡ ¸Þ¼¼Áö¸¦ ¼ö¿ëÇϸé, ¼ö½ÅÀÎ ÁÖ¼Ò¸¦ º¸°í¼­ ±×°ÍÀÌ ·ÎÄÃÀ̳ª ¿ø°Ý½Ã½ºÅÛ¿¡ ÀÖ´ÂÁö °áÁ¤ÇÕ´Ï´Ù. º» ¿¹Á¦¿¡¼­´Â ·ÎÄÃÀ̹ǷΠMTA´Â ¸Þ¼¼Áö¸¦ Á÷Á¢ Àü´ÞÇϰųª, /bin/mailÀ̳ª procmail µî°ú °°Àº Mail Delivery Agent (MDA)¿¡°Ô °Ç³»ÁÝ´Ï´Ù. 6. BobÀÌ ¸áÄõŸ¸¦ ÃÊ°úÇ߱⠶§¹®¿¡ Àü´ÞÀÌ ¾ÈµÇ¸é, beta MTA´Â ºÀÅõÀÇ È¸½ÅÁÖ¼ÒÀÎ alice@alpha·Î ¹Ù¿î½º¸Þ¼¼Áö¸¦ º¸³À´Ï´Ù. 7. Àü´ÞÀÌ ÀߵǾúÀ¸¸é, BobÀÇ MUA°¡ ±× ¸Þ¼¼Áö¸¦ Àо º¸¿©ÁÙ ¶§±îÁö ±×ÀÇ ¸áº¹½º¿¡ ´ë±âÇÕ´Ï´Ù. 6.3.2. ´õ¸¹ÀºÁ¤º¸ ÀÎÅͳݸáÀÌ ¾î¶»°Ô ÀÛµ¿ÇÏ´Â Áö¿¡ ´ëÇÑ Á¤º¸´Â ´ÙÀ½Áß ÇϳªÀÌ»óÀ» º¸½Ê½Ã¿À. o : Å¥¸ÞÀÏÀÇ ÀúÀÚ¿¡ ÀÇÇÑ ÀÎÅͳݸá o : Å¥¸ÞÀÏÀÇ ÀúÀÚ¿¡ ÀÇÇÑ SMTP o : Å¥¸ÞÀÏÀÇ ÀúÀÚ¿¡ ÀÇÇÑ ÀÎÅͳݸá¸Þ¼¼Áö Çì´õÆ÷¸Ë 6.3.2.1. ÀÎÅÍ³Ý RFCµé ÀÎÅͳÝÀÇ Requests for Comment (RFC's)´Â ÀÎÅͳÝÀÇ °ø½Ä¹®¼­ÀÔ´Ï´Ù. ÀÌ°Íµé ´ëºÎºÐÀº ºñÆò´Ü°è¸¦ ÈξÀ ³Ñ¾î¼­ TCP, FTP, Telnet µîÀÇ ÀÎÅͳÝÇÁ·ÎÅäÄÝ°ú ¿©·¯ ´Ù¾çÇÑ ¸áÇ¥ÁØ°ú ÇÁ·ÎÅäÄÝÀ» Á¤ÀÇÇÕ´Ï´Ù. o RFC 821, Simple Mail Transfer Protocol. o RFC 822, Standard for the Format of ARPA Internet Text Messages. o RFC 931, Authentication Server. o RFC 974, Mail Routing and the Domain System. o RFC 1123, Requirements for Internet Hosts -- Application and Support. o RFC 1413, Identification Protocol. o RFC 1423, Privacy Enhancement for Internet Electronic Mail: Part III: Algorithms, Modes, and Identifiers. o RFC 1651, SMTP Service Extensions. o RFC 1652, SMTP Service Extension for 8bit-MIMEtransport. o RFC 1806, Content disposition. header. o RFC 1854, SMTP Service Extension for Command Pipelining. o RFC 1891, SMTP Service Extension for Delivery Status Notifications. o RFC 1892, The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages. o RFC 1893, Enhanced mail system status codes. o RFC 1894, An Extensible Message Format for Delivery Status Notifications. o RFC 1939, Post Office Protocol - Version 3. o RFC 1985, SMTP Service Extension for Remote Message Queue Starting (ETRN). o RFC 1991, PGP Message Exchange Formats. o RFC 2015, MIME Security with Pretty Good Privacy. (PGP). o RFC 2045, MIME Internet message bodies. o RFC 2046, MIME Media Types. o RFC 2047, MIME Headers. o RFC 2048, MIME Registration Procedures. o RFC 2049, MIME Conformance Criteria. o RFC 2142, Mailbox names for common services. o RFC 2183, Content Disposition header. 6.4. ±¸Á¶ 6.4.1. ¸ðµâ½Ã½ºÅÛ±¸Á¶ ÀÎÅÍ³Ý MTA´Â ´Ù¾çÇÑ ÀÏÀ» ÇÕ´Ï´Ù. Sendmail°ú smail µîÀÇ Ãʱ⠵ðÀÚÀÎÀº ´ÜÀϱ¸¼ºÃ¼ÀÔ´Ï´Ù. ´Ù¸¥ ¸»·Î, ÇϳªÀÇ Ä¿´Ù¶õ º¹ÇÕÀ¸·Î¼­ '¸ðÀÚ¸¦ ¹Ù²ã¾²´Â' ½ÄÀε¥, SMTP¼­¹ö°¡ µÇ·Á°í ÇÑ ¸ðÀÚ¸¦ ¾²°í, SMTPŬ¶óÀ̾ðÆ®°¡ µÇ·Á°í ´Ù¸¥ ¸ðÀÚ¸¦ ¾²°í, ¶Ç ¸Þ¼¼Áö¸¦ ·ÎÄ÷Π»ðÀÔÇÏ·Á°í ´Ù¸¥ ¸ðÀÚ¸¦ ¾²°í, Å¥¸¦ °ü¸®ÇÏ·Á°í ´Ù¸¥ ¸ðÀÚ¸¦ ¾¹´Ï´Ù. Å¥¸ÞÀÏÀº ¸ðµâ¹æ½ÄÀÔ´Ï´Ù. À§ÀÇ °¢ ±â´ÉµéÀ» º°°³ÀÇ ÇÁ·Î±×·¥À¸·Î ¼öÇàÇÕ´Ï´Ù. µû¶ó¼­, ÇÁ·Î±×·¥µéÀº ÈξÀ ´õÀÛ°í, ´õ°£´ÜÇϸç, ±â´ÉÀ̳ª º¸¾ÈÀÇ ¹÷ÀÌ ´õ Àû½À´Ï´Ù. º¸¾ÈÀ» ´õ °­È­Çϱâ À§Çؼ­, Å¥¸ÞÀϸðµâÀº »óÀÌÇÑ Æ¯±ÇÀ¸·Î ¿îÇàÇÏ°í, ¼­·Î "±â´ë"ÇÏÁö ¾Ê±â ¶§¹®¿¡, ´Ù¸¥ ¸ðµâÀÌ ´Ã ÇÏ´ø´ë·Î Çϸ®¶ó°í ÃßÁ¤ÇÏÁö ¾Ê½À´Ï´Ù. ÇٽɸðµâµéÀÔ´Ï´Ù. ¸ðµâ ±â´É qmail-smtpd SMTP¸¦ ÅëÇÑ ¸Þ¼¼ÁöÀÇ ¼ö¿ë°ú °ÅÀý qmail-inject ¸Þ¼¼ÁöÀÇ ·ÎÄûðÀÔ qmail-rspawn/qmail-remote ¿ø°ÝÀü´Þó¸® qmail-lspawn/qmail-local ·ÎÄÃÀü´Þó¸® qmail-send ťó¸® qmail-clean ťû¼Ò ¸ðµâ¹æ½Ä¿¡´Â ´ÜÁ¡µµ ÀÖ½À´Ï´Ù. ´ÜÀϱ¸¼ºÃ¼ÀÇ MTA¿Í ´Þ¸®, ¸ðµâ°£ »óÈ£ÀÛ¿ëÀº ÀßÁ¤ÀǵǾîÀ־ ¸ðµâÀº ÃÖ¼ÒÇÑÀÇ ÇÊ¿äÁ¤º¸¸¸ ¼­·Î ±³È¯ÇÕ´Ï´Ù. ÀÌ´Â ´ë°³ µð¹ö±ë¸ñÀûÀ¸·Î SendmailÀÌ µ¿ÀÛ±ËÀûÀ» Ç¥ÁØÃâ·ÂÀ¸·Î ³»º¸³À´Ï´Ù. ÇÑ sendmail¹ÙÀ̳ʸ®°¡ »ðÀÔ, Å¥, ¾ÙÀ̾ó¸®, .forwardÆÄÀÏó¸®, SMTP¸¦ ÅëÇÑ ¿ø°Ý¼ÛºÎ µîÀ» ´ÙÇϱ⶧¹®¿¡, ¸Þ¼¼Áö¸¦ Àü´ÞÇÒ¶§±îÁöÀÇ ÀüüÀü´ÞÀ» ½±°Ô ÃßÀûÇÒ ¼ö ÀÖ½À´Ï´Ù. Å¥¸ÞÀÏ¿¡ µ¿µîÇÑ ´É·ÂÀº ¾ø°í, ¸ðµâ¿¡¼­ ¸ðµâ·Î "µð¹÷"Ç÷¢À» °Ç³×ÁÖ´Â °ÍÀ» ±¸ÇöÇÏ·Á¸é ¾öû³ª°Ô Äڵ带 °íÃÄ¾ß ÇÏ°í, ´õ º¹ÀâÇØÁý´Ï´Ù. 6.4.2. ÆÄÀϱ¸Á¶ /var/qmailÀÌ Å¥¸ÞÀÏÆÄÀϱ¸Á¶ÀÇ ±Ùº»ÀÔ´Ï´Ù. Å¥¸ÞÀÏÀ» ÄÄÆÄÀÏÇÒ¶§ ¹Ù²Ü ¼ö´Â ÀÖÁö¸¸, ´Ù¸¥ ¾Öµå¹ÎÀÌ ¹«¾ùÀΰ¡¸¦ ¾îµð¿¡¼­ ã¾Æ¾ß ÇÒ Áö ¾Ë°Ô ±×´ë·Î µÎ¾î¾ß ÁÁ½À´Ï´Ù. Å¥¸ÞÀÏÆ®¸®ÀÇ ÀϺΠ¶Ç´Â ÀüºÎ¸¦ ´Ù¸¥°÷¿¡ ²À ³õ°í ½ÍÀ¸¸é, ½Éº¼¸¯¸µÅ©¸¦ ÀÌ¿ëÇÏ´Â °ÍÀÌ ³º½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ¼³Ä¡Ç׸ñÀÇ µð·ºÅ丮¸¸µé±âÇ׸ñÀ» º¸½Ã±â ¹Ù¶ø´Ï´Ù. Åé·¹º§ ¼·µð·ºÅ丮ÀÔ´Ï´Ù. µð·ºÅ丮 ³»¿ë alias ½Ã½ºÅÛÀü¹ÝÀÇ ¾Ù¸®¾î½º¿¡ ´ëÇÑ .qmailÆÄÀÏ bin ÇÁ·Î±×·¥¹ÙÀ̳ʸ®¿Í ½ºÅ©¸³Æ® boot ±âµ¿½ºÅ©¸³Æ® control ¼³Á¤ÆÄÀÏ doc ¹®¼­ (¸ÇÆäÁöÁ¦¿Ü) man ¸ÇÆäÁö queue º¸³»±âÀü¸Þ¼¼ÁöÀÇ Å¥ users Å¥¸ÞÀÏ»ç¿ëÀÚ µ¥ÀÌÅͺ£À̽º ÆÄÀÏ 6.4.3. Å¥±¸Á¶ ÄÄÆÄÀϵð·ºÅ丮ÀÇ INTERNALSÆÄÀÏ¿¡ Å¥ÀÇ ÀÚ¼¼ÇÑ ³»¿ëÀ» ´õ Àß ¼³¸íÇسõ¾Ò½À´Ï´Ù. ´ÙÀ½Àº Å¥±¸Á¶ÀÇ Á»´õ ³ÐÀº °³¿äÀÔ´Ï´Ù. ¼·µð·ºÅ丮 ³»¿ë bounce ¿µ±¸Àü´Þ¿¡·¯ info* ¼Û½ÅÀÚÁÖ¼Ò¸¦ ºÀÅõÇϱâ intd qmail-queueÀÇ ºÀÅõÁøÇà local* ·ÎÄúÀÅõ¼ö½ÅÀÚÁÖ¼Ò lock lock ÆÄÀÏ mess* ¸Þ¼¼ÁöÆÄÀÏ pid qmail-queue°¡ i-node¹øÈ£¸¦ ¾ò±â À§ÇØ »ç¿ë remote* ¿ø°ÝºÀÅõ¼Û½ÅÀÚÁÖ¼Ò todo ¿ÏÀüºÀÅõ ---------------------------------------------------------------------------------------- À¯ÀÇÁ¡: µð·ºÅ丮¿¡ "*"Ç¥½Ã°¡ ÀÖÀ¸¸é (conf-split-1)±îÁö "0", "1", ..., µîÀ¸·Î µÈ ºÐÇÒ¼·µð·ºÅ丮¸¦ °®°í Àִµ¥, conf-splitÀº ÄÄÆÄÀϵð·ºÅ丮ÀÇ conf-splitÆÄÀÏ¿¡ Æ÷ÇÔµÈ ÄÄÆÄÀϽü³Á¤ÀÔ´Ï´Ù. ±âº»Àº 23ÀÔ´Ï´Ù. ÀÌ·¸°Ô µð·ºÅ丮¸¦ ÂÉ°³´Â °ÍÀº ¸Å¿ì ¹Ù»Û¼­¹ö¿¡¼­ ´ÜÀϵð·ºÅ丮ÀÇ ÆÄÀϼö¸¦ ÁÙÀ̱â À§Çؼ­ÀÔ´Ï´Ù. ---------------------------------------------------------------------------------------- ¾ÆÀ̳ëµå¹øÈ£¿¡ µû¶ó¼­ ¼·µð·ºÅ丮ÇÏÀÇ ÆÄÀϵéÀ» À̸§Áþ½À´Ï´Ù. ÀÌ°ÍÀÌ ¶æÇÏ´Â ¹Ù´Â, Ç¥ÁØ À¯´Ð½º À¯Æ¿¸®Æ¼ÀÎ mv, dump/restore, tar µîÀ» ½á¼­ ¼öµ¿À¸·Î ±×°ÍµéÀ» ¿òÁ÷ÀÌÁö ¸øÇÕ´Ï´Ù. Å¥ÆÄÀÏÀ» Á¤È®ÇÏ°Ô À̸§¹Ù²Ù´Â »ç¿ëÀÚ°øÇå À¯Æ¿¸®Æ¼°¡ ¿¡ µÎ¾î°³ ÀÖ½À´Ï´Ù. ---------------------------------------------------------------------------------- À¯ÀÇÁ¡: Å¥¸ÞÀÏÀÌ °¡µ¿Áß¿¡´Â Å¥¸ÞÀÏÆÄÀÏÀ» ¼öÁ¤ÇÏÁö ¾Ê¾Æ¾ß ÁÁ½À´Ï´Ù. Å¥¸¦ ¼öÁ¤ÇÏ·Á¸é, ¸ÕÀú Å¥¸ÞÀÏÀ» ¸ØÃß°í, Å¥¸¦ Á¶½ÉÇÏ¿© ´Ù·ç°í, ´Ù½Ã Å¥¸ÞÀÏÀ» °¡µ¿ÇϽʽÿÀ. ---------------------------------------------------------------------------------- 6.4.4. »çÁø /var/qmail/doc¿¡ PIC·Î À̸§À» ½ÃÀÛÇÏ´Â ÆÄÀϵéÀÌ Á× ÀÖ½À´Ï´Ù. À̵éÀº Å¥¸ÞÀÏÀÌ °¨´çÇÏ´Â ´Ù¾çÇÑ »óÅÂÀÇ ¹®Àå"»çÁø"ÀÔ´Ï´Ù. ´Ù¾çÇÑ ¸ðµâÀ» ÅëÇÑ ÅëÁ¦È帧À» º¸¿©ÁÖ¸ç, º¹ÀâÇÑ ¼³Á¤À» ¸¸µé°í µð¹ö±ëÇÏ´Â µ¥ Å« µµ¿òÀÌ µË´Ï´Ù. ÆÄÀÏÀ̸§ °³¿ä PIC.local2alias ·ÎÄþٸ®¾î½º¿¡ Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö PIC.local2ext È®ÀåÁÖ¼Ò·Î Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö PIC.local2local ·ÎÄûç¿ëÀÚ¿¡°Ô Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö PIC.local2rem ¿ø°ÝÁÖ¼Ò·Î Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö PIC.local2virt ·ÎÄùöÃ߾󵵸ÞÀλóÀÇ ÁÖ¼Ò·Î Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö PIC.nullclient ³ÎŬ¶óÀ̾ðÆ®¿¡ »ðÀÔÇÑ ¸Þ¼¼Áö PIC.relaybad ·ÎÄÃÈ£½ºÆ®¸¦ Áß°è·Î »ç¿ëÇÏ´Â ½ÃµµÀÇ ½ÇÆÐ PIC.relaygood ·ÎÄÃÈ£½ºÆ®¸¦ Áß°è·Î »ç¿ëÇÏ´Â ½ÃµµÀÇ ¼º°ø PIC.rem2local SMTP¸¦ ÅëÇØ ¹ÞÀº ·ÎÄûç¿ëÀÚ¿¡·ÎÀÇ ¸Þ¼¼Áö ÀÌ ÆÄÀϵéÀº ´ÙÀ½¿¡¼­ ¿Â¶óÀÎÀ¸·Î ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. o Å¥¸ÞÀÏÀÇ ÁøÂ¥»çÁøÀ» ¿øÇϽŴٸé, Andre OppermanÀÇ "´ëÇüÅ¥¸ÞÀÏ»çÁø"À» ¿¡¼­ º¸½Ê½Ã¿À. 6.5. ¾î¼´Ù Çѹø¾¿ ¹¯´Â Áú¹®µé À̰͵éÀº ÀÚÁÖ ¹¯Áö´Â ¾ÊÁö¸¸ Áß¿äÇÏ°í ´ë´äÇϱ⵵ ½±Áö ¾ÊÀº Áú¹®µéÀÔ´Ï´Ù. 6.5.1. Å¥¸ÞÀÏÀº Áö¿¬¸Þ¼¼Áö¸¦ ¾î´À Á¤µµ ÀÚÁÖ º¸³À´Ï±î? ¸Þ¼¼Áö¸¶´Ù Àç½Ãµµ½Ã°£Ç¥°¡ ÀÖ½À´Ï´Ù. ¸Þ¼¼Áö°¡ Àü´ÞºÒ´ÉÀ¸·Î ¿À·¡ ÀÖÀ»¼ö·Ï, Å¥¸ÞÀÏÀº ±×°ÍÀ» ´ú ÀÚÁÖ º¸³»·Á°í ÇÕ´Ï´Ù. Àç½Ãµµ½Ã°£Ç¥´Â ¼³Á¤ÇÒ ¼ö ¾ø½À´Ï´Ù. ´ÙÀ½ Å×À̺íÀº ¿ø°Ý¼ö½ÅÀÚ¿¡°Ô °¡´Â Àü´ÞºÒ´ÉÀÎ ¸Þ¼¼Áö°¡ ¹Ù¿î½ºµÉ¶§±îÁöÀÇ Àç½Ãµµ½Ã°£Ç¥¸¦ º¸¿©ÁÝ´Ï´Ù. ·ÎÄø޼¼Áö´Â ºñ½ÁÇÏÁö¸¸, ´õ ÀæÀº ½Ã°£Ç¥¸¦ »ç¿ëÇÕ´Ï´Ù. Àü´Þ½Ãµµ ÃÊ ³¯-½Ã:ºÐ:ÃÊ 1 0 0-00:00:00 2 400 0-00:06:40 3 1600 0-00:26:40 4 3600 0-01:00:00 5 6400 0-01:46:40 6 10000 0-02:46:40 7 14400 0-04:00:00 8 19600 0-05:26:40 9 25600 0-07:06:40 10 32400 0-09:00:00 11 40000 0-11:06:40 12 48400 0-13:26:40 13 57600 0-16:00:00 14 67600 0-18:46:40 15 78400 0-21:46:40 16 90000 1-01:00:00 17 102400 1-04:26:40 18 115600 1-08:06:40 19 129600 1-12:00:00 20 144400 1-16:06:40 21 160000 1-20:26:40 22 176400 2-01:00:00 23 193600 2-05:46:40 24 211600 2-10:46:40 25 230400 2-16:00:00 26 250000 2-21:26:40 27 270400 3-03:06:40 28 291600 3-09:00:00 29 313600 3-15:06:40 30 336400 3-21:26:40 31 360000 4-04:00:00 32 384400 4-10:46:40 33 409600 4-17:46:40 34 435600 5-01:00:00 35 462400 5-08:26:40 36 490000 5-16:06:40 37 518400 6-00:00:00 38 547600 6-08:06:40 39 577600 6-16:26:40 40 608400 7-01:00:00 6.5.2. Àú´Â MX°¡ ¸¹Àº ´ëÇü»çÀÌÆ®¿¡ ¸ÅÀÏÀ» º¸³»Áö ¸øÇϴµ¥ ¿Ö±×·¸ÁÒ? ´ÙÀ½ÀÇ ¸Þ¼¼Áö¸¦ ¹Þ´Â´Ù¸é, deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/ ¹®Á¦´Â Å¥¸ÞÀÏÀÌ ´ëÇü³×ÀÓ¼­¹öÁúÀÇÀÀ´äÀ» ó¸®ÇÏÁö ¸øÇؼ­ÀÔ´Ï´Ù. ÆÐÄ¡¸¦ ¼³Ä¡Çؼ­ °íĨ´Ï´Ù. °í±ÞÁÖÁ¦¿¡¼­ ÆÐÄ¡¸¦ º¸½Ã±â ¹Ù¶ø´Ï´Ù. ¾î¶²»ç¶÷Àº ÀÌ·±½Ã½ºÅÛ¿¡ ´ê´Âµ¥ ¹®Á¦°¡ ¾ø´Âµ¥ ¿Ö±×·¯³Ä°í Áú¹®ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. ¿ø·¡, ŸÀְ̹ú ·ÎÄó×ÀÓ¼­¹ö¿¡ ÇÑ ÁúÀǼø¼­¿¡ ÀÇ°ÅÇÏ¿©, "aol.com"¿¡ ´ëÇÑ ¼öµµ ÀÖ½À´Ï´Ù. A¿Í MX·¹Äڵ尡 ½Ã°£ÃÊ°úÇϸé "±×·²¼öµµ" ÀÖÁö¸¸, NS·ÎÄÚµå´Â ±×·¸Áö ¾Ê½À´Ï´Ù. .COM¼­¹ö´Â 2ƲÀÇ ¼ö¸í½ÃÇÑ (TTL)À» ¼³Á¤ÇسõÁö¸¸, AOLÀº ·¹Äڵ忡 1½Ã°£ÀÇ ¼ö¸í½ÃÇÑÀ» ¼³Á¤ÇسõÀ¸¹Ç·Î, ´ú¹Ù»Û ³×ÀÓ¼­¹ö¿¡¼­ ÀÌ·¯ÇÑ ÀÏÀÌ Á¾Á¾ ÀϾ´Ï´Ù. ´õ¹Ù»Û ³×ÀÓ¼­¹ö´Â ƯÁ¤½Ã°£¿¡ ±× ·¹ÄÚµåµéÀº ij½¬¿¡ °®°í Àֱ⠶§¹®¿¡ ÆÐÄ¡ÇÏÁö ¾ÊÀº Å¥¸ÞÀÏÀÌ CNAMEÀ» Á¡°ËÇÏ·Á´Â ½Ãµµ¸¦ ¹«»öÇÏ°Ô ÇÕ´Ï´Ù. ´õÁÁÀº ½ÃÇèÀº nosuchuser@large-mx.ckdhr.comÀ¸·Î ¸áÀ» º¸³»´Â °Ì´Ï´Ù. ±× ¼­¹ö°¡ ´ç½ÅÀÇ Å¥¸¦ û¼ÒÇÏ°í, ckdhr.com¿¡¼­ ¹Ù¿î½ºÇÏ´Â °ÍÀ¸·Î ³¡³ª¸é, ´ç½ÅÀÇ MTA´Â 512¹ÙÀÕÀ» ³Ñ±â´Â MX ¸®½ºÆ®¸¦ °®´Â È£½ºÆ®·Î ¸áÀ» º¸³¾ ¼ö ÀÖ½À´Ï´Ù. (´ÜÀÏ ¼ö¸í½ÃÇÑÀ̸ç 512¹ÙÀÕÀ» ³Ñ±â´Â ´ÜÀÏ RRsetÀ» »ç¿ëÇؼ­, À̹®Á¦¸¦ ´Ù¸¥ ÁúÀÇÀÇ Å¸Àְ̹ú ¼ø¼­¿¡ ÀÇÁöÇÏÁö ¾Ê°í º¼ ¼ö ÀÖ½À´Ï´Ù.) 6.5.3. QUEUE_EXTRA? ÄÄÆÄÀϽü³º¯¼ö·Î¼­ ¸ÅÀü´Þ¿¡ Ãß°¡ÇÏ´Â Ãß°¡¼ö½ÅÀÎÀ» Àû½À´Ï´Ù. º»·¡ ·Î±ëÇÏ·Á°í »ç¿ëÇÕ´Ï´Ù. ¿¹¸¦ µé¸é, FAQ¿¡´Â QUEUE_EXTRA¸¦ ½á¼­ µå³ª´Â ¸Þ¼¼Áö¸¦ ÀüºÎ º¸°üÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÕ´Ï´Ù. QUEUE_EXTRA¸¦ »ç¿ëÇÏ·Á¸é, extra.h¸¦ ÆíÁýÇؼ­ "T¼ö½ÅÀÎ\0"Çü½ÄÀ¸·Î ¼ö½ÅÀÎÀ» Ãß°¡ÇÏ°í, QUEUE_EXTRALEN¿¡ QUEUE_EXTRAÀÇ ±æÀ̸¦ Àû½À´Ï´Ù. ("\0"Àº Çѹ®ÀÚ·Î °è»êµË´Ï´Ù.) ¿¹¸¦ µé¸é ´ÙÀ½°ú °°½À´Ï´Ù. #define QUEUE_EXTRA "Tlog\0" #define QUEUE_EXTRALEN 5 Å¥¸ÞÀÏÀÌ ¿îÇàÁßÀ̸é ÁßÁö½Ãŵ´Ï´Ù. ¼³Ä¡Ç׸ñÀÇ Å¥¸ÞÀϽºÅ©¸³Æ®¸¦ ¼³Ä¡ÇϼÌÀ¸¸é, ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ. /usr/local/sbin/qmail stop Å¥¸ÞÀϽºÅ©¸³Æ®°¡ ¾øÀ¸½Ã¸é, ±âµ¿/ÁßÁö ½ºÅ©¸³Æ®¸¦ »ç¿ëÇϽõçÁö, TERM½ÅÈ£¸¦ qmail-send¿¡ º¸³»½Ê½Ã¿À. ±×´ÙÀ½¿¡ ´ÙÀ½°ú °°ÀÌ Çؼ­ Å¥¸ÞÀÏÀ» ÀçÄÄÆÄÀÏÇϽʽÿÀ. make setup check ¿øÇϽô ´ë·Î alias/.qmail-logÀ» ä¿ì½Ê½Ã¿À. ¿¹¸¦ µé¾î, Message-ID¸¦ ·ÏÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù. | awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }' ³¡À¸·Î, Å¥¸ÞÀÏÀ» Àç°¡µ¿ÇÕ´Ï´Ù. 6.6. ¿¡·¯¸Þ¼¼Áö Å¥¸ÞÀÏ¿¡·¯¸Þ¼¼Áö¿Í ±× ÀǹӴϴÙ. °ýÈ£¾ÈÀÇ ¿¡·¯Äڵ忡 °üÇÑ ¼³¸íÀº RFC 1893À» º¸½Ê½Ã¿À. ÀÌ ºÎ·ÏÀº ¿ÏÀüÇÏÁö ¾Ê½À´Ï´Ù. qmail-local o "Unable to fork: reason. (#4.3.0)" o "Unable to read message: reason. (#4.3.0)" o "Unable to open filename: reason. (#4.3.0)" o "Temporary error on maildir delivery. (#4.3.0)" o "Unable to open filename: reason. (#4.2.1)" o "Unable to write filename: reason. (#4.3.0)" o "Unable to run /bin/sh: reason. (#4.3.0)" o "Unable to stat home directory: reason. (#4.3.0)" o "Unable to switch to directory: reason. (#4.3.0)" qmail-smtpd o "555 syntax error (#5.5.4)" qmail.c o "Zqq write error or disk full (#4.3.0)" o "Zqq read error (#4.3.0)" spawn.c o "Internal error: delnum negative. (#4.3.5)" o "Internal error: delnum too big. (#4.3.5)" o "Internal error: delnum in use. (#4.3.5)" o "Internal error: messid has nonnumerics. (#5.3.5)" o "Internal error: messid too long. (#5.3.5)" o "Internal error: messid too short. (#5.3.5)" 6.7. ÀÇ¿ÜÀÇ ½Ç¼ö Å¥¸ÞÀϽÅÂüÀÚ´Â ´ÙÀ½°ú °°Àº ¹®Á¦µéÀ» ÀÚÁÖ ¸¸³³´Ï´Ù. 6.7.1. Å¥¸ÞÀÏÀº ¼öÆÛÀ¯Àú¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. qmail-localÀÌ Æ¯±Ç»ç¿ëÀڷμ­ ¸í·ÉÀ» ½ÇÇàÇÏ´Â °¡´É¼ºÀ» ¸·±âÀ§Çؼ­, Å¥¸ÞÀÏÀº UID°¡ 0ÀÎ ¸ðµç »ç¿ëÀÚ¸¦ ¹«½ÃÇÕ´Ï´Ù. ÀÌ°ÍÀº qmail-getpw ¸ÇÆäÁö¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù. ±×·¸´Ù°í Å¥¸ÞÀÏÀÌ root@example.com¿¡ Àü´ÞÇÏÁö ¾Ê´Â´Ù´Â °ÍÀº ¾Æ´Ï°í, ´Ù¸¸ Àü´ÞÀº ºñƯ±Ç»ç¿ëÀÚ¿¡ ÀÇÇØ Ã³¸®µÇ¾î¾ß ÇÑ´Ù´Â °ÍÀÔ´Ï´Ù. À¸·Ê, /alias/.qmail-rootÀ» ä¿ö¼­ root¿¡ ´ëÇÑ ¾Ù¸®¾î½º¸¦ ¸¸µê´Ï´Ù. 6.7.2. Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮°¡ ¾ø´Â »ç¿ëÀÚ¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. ¶ÇÇϳªÀÇ º¸¾ÈƯ¡ÀÌ°í, ÁÁÀº ½À°üÀÔ´Ï´Ù. qmail-getpw¸ÇÆäÁö¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù. 6.7.3. Å¥¸ÞÀÏÀº »ç¿ëÀÚÀ̸§¿¡ ´ë¹®ÀÚ¸¦ ¾²´Â »ç¿ëÀÚ¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. Å¥¸ÞÀÏÀº ÁÖ¼Ò¿¡¼­ "@"ÀÇ ¿ÞÂÊ¿¡ ÀÖ´Â ¸ðµç °ÍÀÎ "·ÎÄúκÐ"À» ¼Ò¹®ÀÚ·Î º¯È¯ÇÕ´Ï´Ù. ¸ÇÆäÁö¿¡´Â ¼³¸íµÇ¾î ÀÖÁö ¾ÊÁö¸¸, ÄÚµå´Â ±×·¸°Ô ÇÕ´Ï´Ù. ´ë¹®ÀÚ¸¦ °®´Â »ç¿ëÀÚ¸¦ ¹«½ÃÇÑ´Ù´Â »ç½ÇÀº qmail-getpw¸ÇÆäÁö¿¡ ±â·ÏµÇ¾î ÀÖ½À´Ï´Ù. 6.7.4. Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮¿¡ ±×·ìÀ̳ª ±âŸ»ç¿ëÀÚ¿¡°Ô ¾²±â¸¦ Çã¶ôÇÏ´Â »ç¿ëÀÚ¿¡°Ô ¸áÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. ¶ÇÇϳªÀÇ º¸¾ÈƯ¡ÀÔ´Ï´Ù. qmail-local¸ÇÆäÁö¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù. ÄÄÆÄÀϽà conf-patrn ÄÄÆÄÀÏ ÄÁÇDZ×ÆÄÀÏÀ» ÅëÇؼ­ ÀçÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. 6.7.5. Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ Á¡(.)À» ÄÝ·Ð(:)À¸·Î ¹Ù²ß´Ï´Ù. ¶ÇÇϳªÀÇ º¸¾ÈƯ¡ÀÔ´Ï´Ù. È®ÀåÁÖ¼Ò°¡ ÆÄÀÏÆ®¸®¸¦ ".."·Î ¹é¾÷Çϴ°ÍÀ» ¸·´Â °ÍÀÌ ¸ñÀûÀÔ´Ï´Ù. ÄÝ·ÐÀ¸·Î ¹Ù²Ù±â ¶§¹®¿¡, Å¥¸ÞÀÏÀº »ç¿ëÀÚÀÇ .qmailÆÄÀÏ ¸ðµÎ°¡ Ȩµð·ºÅ丮¿¡ ÀÖ°Ô ÇÕ´Ï´Ù. qmail-local¸ÇÆäÁö¿¡ ±â·ÏÇß½À´Ï´Ù. 6.7.6. Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ ´ë¹®ÀÚ¸¦ ¼Ò¹®ÀÚ·Î ¹Ù²ß´Ï´Ù. Å¥¸ÞÀÏÀº ÁÖ¼ÒÀÇ ·ÎÄúκÐÀ» ¸ðµÎ ¼Ò¹®ÀÚ·Î ¸¸µç´Ù´Â ¶ÇÇϳªÀÇ »ç½ÇÀÔ´Ï´Ù. qmail-local¸ÇÆäÁö¿¡ ¼³¸íÇß½À´Ï´Ù. 6.7.7. Å¥¸ÞÀÏÀº /etc/hosts¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù. Å¥¸ÞÀÏÀº È£½ºÆ®³×ÀÓÀÌ ÀÖ´Â IPÁÖ¼Ò¸¦ °áÁ¤Çϱâ À§Çؼ­ /etc/hosts¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù. controlÆÄÀÏ¿¡ ÀÖ´Â À̸§À» »ç¿ëÇϸé, Å¥¸ÞÀÏÀº ³×ÀÓ¼­¹ö¿¡ Á¢±ÙÇÒ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù. ±×·¡µµ ³×ÀÓ¼­¹ö¿¡ Á¢±ÙÇÒ ¼ö ¾ø´Â ½Ã½ºÅÛ¿¡¼­µµ Å¥¸ÞÀÏÀ» ¿î¿µÇÒ ¼ö ÀÖ½À´Ï´Ù. controlÆÄÀÏ¿¡ Àִ ȣ½ºÆ®´Â IPÁÖ¼Ò·Î ÀûÀ» ¼öµµ Àִµ¥, ´ë°ýÈ£ ([])·Î µÑ·¯½Î¾ß ÇÕ´Ï´Ù. ¿¹¸¦ µé¸é ´ÙÀ½°ú °°½À´Ï´Ù. [10.1.2.219] »ç½Ç, ´ë°ý¿À°¡ ¾ðÁ¦³ª ÇÊ¿äÇÏÁö´Â ¾ÊÁö¸¸, »ç¿ëÇØ¾ß ÁÁÀº ¹æ¹ýÀÔ´Ï´Ù. 6.7.8. Å¥¸ÞÀÏÀº SMTPÈ°µ¿À» ·ÏÇÏÁö ¾Ê½À´Ï´Ù. ¿©·¯ ÀÌÀ¯·Î Çؼ­, Å¥¸ÞÀÏÀº SMTPÁ¢¼Ó, °ÅÀý, ¹«È¿¸í·É, ¶Ç´Â À¯È¿¸í·É µîÀ» ·ÏÇÏÁö ¾Ê½À´Ï´Ù. tcpserver·Î Á¢¼ÓÀ» ·ÏÇÒ ¼ö ÀÖ°í, recordio·Î SMTP´ëÈ­ ÀüºÎ¸¦ ·ÏÇÒ ¼ö ÀÖ½À´Ï´Ù. recordio´Â ucspi-tcpÆÐÄÉÁöÀÇ ÀϺÎÀÔ´Ï´Ù. ÀýÂ÷´Â ÀÇ FAQ¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù. 6.7.9. Å¥¸ÞÀÏÀº Áö¿¬ÅëÁö¸¦ ¸¸µéÁö ¾Ê½À´Ï´Ù. SendmailÀº ¼ö½Ã°£³»¿¡, Åë»ó 4½Ã°£³»¿¡, ¸Þ¼¼Áö¸¦ Àü´ÞÇÒ ¼ö ¾øÀ¸¸é, ÀÛ¼ºÀÚ¿¡°Ô Áö¿¬ÅëÁö¸¦ º¸³À´Ï´Ù. ÀÌ ÅëÁö´Â ¹Ù¿î½º¸Þ¼¼Áö°°¾Æ º¸ÀÔ´Ï´Ù¸¸, ¾ÆÁ÷ Àü´ÞÀÌ ¿µ±¸½ÇÆÐÇß´Ù´Â °ÍÀ» °¡¸®Å°Áö´Â ¾Ê½À´Ï´Ù. Å¥¸ÞÀÏÀº ÀÌ·± °æ°í¸¦ º¸³»Áö ¾Ê½À´Ï´Ù. Àü´ÞºÒ´É¸Þ¼¼Áö´Â Å¥¿¡¼­ Å¥¼ö¸í½Ã°£À» ´Ù º¸³½´ÙÀ½¿¡¾ß¸¸ ÀÛ¼ºÀÚ¿¡°Ô µ¹·ÁÁý´Ï´Ù. 6.7.10. Å¥¸ÞÀÏÀº /var/qmail/queue/lock/trigger°¡ Ʋ¸°Á¢±Ù±ÇÇÑÀ̰ųª º¸ÅëÆÄÀÏÀÌ¸é ´Ê¾îÁý´Ï´Ù. qmail-queue¿Í qmail-send´Â /var/qmail/queue/lock/trigger¶ó´Â ³×ÀÓÆÄÀÙÀº ÅëÇؼ­ ÀÇ»ç¼ÒÅëÇÕ´Ï´Ù. ÀÌ ÆÄÀÙÀÌ ¾û¸ÁÀÌ µÇ¸é, qmail-send´Â ¹Ý½Ã°£Á¤µµ »õ¸Þ¼¼Áö¸¦ Å뺸ÇÏÁö ¾Ê½À´Ï´Ù. ¿Ã¹Ù¸£°Ô ¼³Ä¡µÇ¾ú´Ù´Â °ÍÀ» È®½ÅÇÏ´Â °¡Àå ÁÁÀº ¹æ¹ýÀº ¼Ò½ºµð·ºÅ丮¿¡¼­ "make check"À» ½ÇÇàÇÏ´Â °ÍÀÔ´Ï´Ù. ±×°ÍÀÌ °¡´ÉÇÏÁö ¾Ê´Ù¸é, ´ÙÀ½°ú °°Àº Áö È®ÀÎÇϽʽÿÀ. # ls -l /var/qmail/queue/lock/trigger prw--w--w- 1 qmails qmail 0 Jul 5 21:25 /var/qmail/queue/lock/trigger ÁÙÀÇ ¾Õ¿¡ (³×ÀÓÆÄÀÙÀ» ¾Ë¸®´Â) "p", ¸ðµå (ƯÈ÷ Àüü¾²±âÇã°¡), ¼ÒÀ¯ÀÚ¿Í ±×·ì µî¿¡ °¢º°È÷ À¯ÀÇÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù. 6.8. lwq¿¡ ´ëÇÑ FAQ -------------------------------------------------------------------------------- ¿ªÀÚÃß°¡: ´ÙÀ½ÀÇ ÁÖ¼Ò¿¡¼­ ÃÖ±ÙÀÇ ÁúÀÇÀÀ´äÀ» Âü°íÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. (05 Apr 2000) http://www.faqts.com/knowledge-base/index.phtml/fid/139/lang/en -------------------------------------------------------------------------------- 6.8.1. lwqÀÇ ¼ÒÀ¯ÀÚ´Â? lwq´Â Copyright 1999 David E. SillÀÔ´Ï´Ù. 6.8.2. lwqÀÇ ¶óÀ̼¾½º´Â? lwq´Â OpenContent License version 1.0¿¡ Æ÷ÇԵ˴ϴÙ. ¿ÏÀüÇÑ ¶óÀ̼¾½º¿¡ ´ëÇؼ­´Â ¸¦ º¸½Ê½Ã¿À. º»·¡, ¼öÁ¤ÆÇÀ» Àç¹èÆ÷ÇÑ´Ù¸é ±×Æǵµ OpenContent License¿¡ Æ÷ÇԵȴٴ Á¶°ÇÇÏ¿¡ lwq¸¦ º¹»ç, Àç¹èÆ÷, ¼öÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. 6.8.3. lwqÀÇ »õÆÇÀ» ±¸ÇÒ ¼ö ÀÖ´Ù´Â °ÍÀº ¾î¶»°Ô ÅëÁö¹ÞÀ» ¼ö ÀÖ½À´Ï±î? lwq-announce-subscribe@sws1.ctd.ornl.gov¿¡ ¸Þ¼¼Áö¸¦ º¸³»¼­ lwq- announce¸á¸µ¸®½ºÆ®¿¡ °¡ÀÔÇϽʽÿÀ. 6.8.4. lwq°øÇåÀÚ¿Í ÆÒÀº ¾îµð¼­ À̾߱âÇÒ ¼ö ÀÖ½À´Ï±î? lwq-subscribe@sws1.ctd.ornl.gov¿¡ ¸Þ¼¼Áö¸¦ º¸³»¼­ lwq ¸á¸µ¸®½ºÆ®¿¡ °¡ÀÔÇϽʽÿÀ. 6.8.5. lwq´Â ´Ù¸¥ ¾ð¾î·Î ¹ø¿ªµÇ¾ú½À´Ï±î? lwq¸¦ ¹ø¿ªÇϴµ¥ °ü½ÉÀÖÀ¸½Ã¸é, Á¦°Ô ¾Ë·ÁÁּż­ ³ë·ÂÀÇ Áߺ¹À» ¸·°í, Á¶È­ÇÒ ¼ö ÀÖ°Ô ÇØÁֽʽÿÀ. ¶ÇÇÑ Á¦°¡ SDF¼Ò½º¹®¼­¸¦ ¹ø¿ªÇϽô ºÐ²² µå·Á¼­, ¹ø¿ªÀÌ SDF·Îµµ µÉ ¼ö ÀÖ°Ô ÇÒ ¼ö ÀÖ½À´Ï´Ù. (ÀÌ°ÍÀÌ ¿Ö Áß¿äÇÑ Áö ´ÙÀ½Áú¹®À» º¸½Ã±â ¹Ù¶ø´Ï´Ù.) ¶ÇÇÑ, lwq¸¦ ¹ø¿ªÇϽô ºÐµéÀº lwq¸á¸µ¸®½ºÆ®¿¡ °¡ÀÔÇϼż­ (ÀüÀÇ Áú¹®À» º¸½Ê½Ã¿À.) ¹ø¿ª¿¡ °üÇÑ ³íÁ¡À» Åä·ÐÇÏ°í °øÁö»çÇ×À» ¸¸µé ¼ö ÀÖµµ·Ï ÇÏ½Ã±æ ±ÇÀåÇÕ´Ï´Ù. 6.8.6. lwq´Â HTMLÀÌ¿Ü¿¡ Æ÷½ºÆ®½ºÅ©¸³Æ®, PDF, Æò¹üÇѱÛ, ¶Ç´Â ´Ù¸¥ÇüÅ·εµ ±¸ÇÒ ¼ö ÀÖ½À´Ï±î? ±×·¸½À´Ï´Ù. ´Ù¸¥ ÇüÅ´ ¿¡¼­ ãÀ» ¼ö ÀÖ½À´Ï´Ù. 6.8.7. lwq¸¦ »ç¿ëÇß´õ´Ï, ½Ã½ºÅÛÆı«, Çϵåµð½ºÅ©»èÁ¦, ¹é¹ßÀ» Çß½À´Ï´Ù. Á˼ÛÇÕ´Ï´Ù. Á¤¸»ÀÌÁö ¹Ì¾ÈÇÕ´Ï´Ù. ±×·¸Áö¸¸ lwq´Â ¾î¶² º¸Áõµµ ¾ø½À´Ï´Ù. À§¿¡¼­ ¸»¾¸µå¸° OpenContent License¸¦ º¸½Ã±â ¹Ù¶ø´Ï´Ù. Àú´Â ÀÌ°ÍÀ» ¾´´Ù°í Çؼ­ ¾î¶² º¸»óÀ» ¹ÞÁö ¾Ê¾Ò°í, ´Ù¸¸ Å¥¸ÞÀÏ°øµ¿Ã¼¿¡ ¹«¾ð°¡ À¯ÀÍÇÑ °ÍÀ» °øÇåÇÏ°í ½Í¾úÀ» »ÓÀÔ´Ï´Ù. »ç½Ç, ÀÌ°ÍÀº FAQ°¡ ¾Æ´Õ´Ï´Ù. ÁøÂ¥·Î´Â, ÀÌ°ÍÀÌ NAQ (Never Asked Question)ÀÌ±æ ¹Ù¶ø´Ï´Ù. [Çϳª ¹ÞÀ¸½Ê½Ã¿À!]