´ÙÀ½ ÀÌÀü Â÷·Ê

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´Â Å¥¸ÞÀϸḵ¸®½ºÆ®¿¡ ºÎóÁ³°í, ´ÙÀ½ÁÖ¼ÒÀÇ ¹®¼­º¸°ü¿¡¼­ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. http://www.ornl.gov/its/archives/mailing-lists/qmail/1998/04/msg00487.html

¶ÇÇÑ procmailÀº maildirÇü½ÄÀÇ ¸áº¹½º·Î Á÷Á¢ Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù. procmail¿¡¼­ maildir·Î Á÷Á¢Àü´ÞÇÏ´Â ÆÐÄ¡¸¦ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. ( http://www.qmail.org/top.html#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¿ëÀ¸·Î ¸¸µé¾îÁ³À¸¹Ç·Î Å¥¸ÞÀÏ°ú ÇÔ²² ¾²·Á¸é ¼ÕÀ» ºÁ¾ß ÇÕ´Ï´Ù.

qmail-pop3d

qmail-pop3d´Â Å¥¸ÞÀÏÀÌ Æ÷ÇÔÇÏ´Â POP¼­¹öÀÔ´Ï´Ù. ¸Å¿ì ÁÁÀº POP¼­¹ö·Î¼­ ¿©·¯ Å¥¸ÞÀÏ»çÀÌÆ®°¡ »ç¿ëÇÕ´Ï´Ù. ¸ðµâ±â´ÉÀÌ°í, ´ëüÀÎÁõ¸ðµâÀ» ÅëÇØ º¹ÇÕÀÎÁõ±¸¼ºÀ» Áö¿øÇÕ´Ï´Ù.

--------e----------------------------------------------------------------------------
À¯ÀÇÁ¡: qmail-pop3d´Â maildirÇüÅÂÀÇ ¸áº¹½º¸¸ Áö¿øÇϹǷÎ, ·ÎÄà »ç¿ëÀÚµéÀÌ POP¼­¹ö¿¡
        ·Î±äÇؼ­ MUA¸¦ ¿î¿µÇÑ´Ù¸é ¸ðµÎµé maildir¸¦ Áö¿øÇØ¾ß ÇÕ´Ï´Ù.  »ç¿ëÀÚµéÀÌ POP¸¦
        ÅëÇؼ­ ¸áÀ» ÀÐ´Â´Ù¸é ¼­¹öÀÇ ¸áº¹½ºÇüÅ´ ¹®Á¦°¡ µÇÁö ¾Ê½À´Ï´Ù.
-------------------------------------------------------------------------------------

qmail-pop3dÀÇ ±¸Á¶

´ÙÀ½ÀÇ ¼¼¸ðµâ·Î ±¸¼ºÇÕ´Ï´Ù.

À¸·Ê qmail-popupÀº POP3Æ÷Æ®ÀÎ 110¹ø Æ÷Æ®¸¦ µè´Â inetd³ª tcpserver·Î ¿òÁ÷ÀÔ´Ï´Ù. ¿¬°áÀ» ÇÏ¸é »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ ´ë¶ó°í ÇÕ´Ï´Ù. ±×¸®°í¼­´Â checkpassword¸¦ ºÒ·¯¼­ »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ °ËÁõÇÏ°í ¸Â´Ù¸é qmail-pop3d¸¦ ºÎ¸¨´Ï´Ù.

qmail-pop3dÀÇ ¼³Ä¡

  1. Å¥¸ÞÀÏÀ» ¿ÏÀüÈ÷ ¼³Ä¡ÇÏ°í ½ÃÇè»ç½Ê½Ã¿À. ¸ðµç »ç¿ëÀÚ°¡ POP°¡´ÉÇÑ ¸áº¹½º¸¦ °®°ÔÇÏ·Á¸é defaultdelivery¸¦ ./Maildir/·Î ¼³Á¤Çϼ¼¿ä. ¼³Ä¡Ç׸ñ¿¡ ÀÖ´Â qmail½ºÅ©¸³Æ®·Î ¼³Ä¡Çϼ̴ٸé, control/defaultdelivery¿¡¼­ ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·¸Áö ¾Ê´Ù¸é, qmail-start¸í·ÉÇà¿¡¼­ /var/qmail/rcÀÏ °ÍÀÔ´Ï´Ù.
  2. http://www.qmail.org/top.html#checkpassword ¿¡¼­ checkpassword ÇÁ·Î±×·¥À» ¹ÞÀ¸½Ê½Ã¿À. ÀÌ·¯Àú·¯ÇÏ°Ô ²Ù¹Î °ÍÀÌ ÇÊ¿ä¾øÀ¸¸é http://pobox.com/~djb/checkpwd.html¿¡ Àִ ǥÁØ 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ÀÔ´Ï´Ù.

qpopper

mboxÇü ¸áº¹½º¿Í µ¿ÀÛÇÏ´Â POPµ¥¸óÀÌ ÇÊ¿äÇϸé QualcommÀÇ qpopperÀ» ¾²½Ê½Ã¿À. Vince Vielhaber´Â http://www.qmail.org/qpopper2.53.patch.tar.gz¿¡ »ç¿ëÀÚȨµð·ºÅ丮ÀÇ ¸áº¹½º¿Í µ¿ÀÛÇÏ´Â ÆÐÄ¡¸¦ °®°í ÀÖ½À´Ï´Ù. qpopper´Â http://www.eudora.com/freeware/qpop.html¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

Cyrus

Jason van ZylÀÌ qmail/Cyrus ÇÏ¿ìÅõ¸¦ ½è½À´Ï´Ù. http://www.compusense.com/qmail-cyrus/¸¦ º¸½Ê½Ã¿À.

LDAP¸¦ Cyrus¿¡ °áÇÕÇÏ´Â Á¤º¸°¡ http://www.linc-dev.com/auth.html¿¡ ÀÖ½À´Ï´Ù.

imap-maildir

David R. Harris°¡ Washington´ëÇÐÀÇ IMAP¼­¹ö¿¡ ´ëÇÑ maildirÁö¿øÀ» Ãß°¡ÇÏ´Â ÆÐÄ¡¸¦ Á¤¸®ÇßÀ¸¸ç ¼³Ä¡°úÁ¤À» ¹®¼­È­Çß½À´Ï´Ù. http://www.davideous.com/imap-maildir/¸¦ º¸½Ê½Ã¿À.

5.3 POP¿Í IMAP Ŭ¶óÀ̾ðÆ®

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ÀÌ Å¥¸ÞÀÏ¿¡¼­ÀÇ ¸ÞÀÌÀúµµ¸ð¸¦ À§ÇÑ ¹Ù¿î½º¸Þ´ÏÀú¸¦ ½èÁö¸¸, ´õÀÌ»ó À¯ÁöÇÏÁö ¾Ê½À´Ï´Ù. http://www.qmail.org/bounceman-0.4.sha¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

5.6 ¹®Á¦ÇØ°á

°úÁ¤

Á¦´ë·Î ÀÛµ¿ÇÏ°í ¿ÏÀüÇÏÁö¸¸ ÃÖ¼ÒÇÑÀÇ Å¥¸ÞÀϼ³Ä¡´Â ´ÙÀ½ÀÇ ³×°úÁ¤ÀÌ¸é µË´Ï´Ù.

»ç¿ëÁßÀÎ À¯´Ð½º±âÁ¾¿¡ µû¶ó¼­ ´ÙÀ½¸í·ÉÁß Çϳª·Î ÀÌ °úÁ¤µéÀ», ¾î¼¸é ¸î°³ ´õ, ³ª¿­ÇÒ ¼ö ÀÖ½À´Ï´Ù.

  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°úÁ¤À» º¼ ¼ö ÀÖ½À´Ï´Ù.

·Î±×

splogger

¸Þ¼¼Áö¿¡ ½Ã°£Âï±âÇϱâ À§Çؼ­ syslogÀÇ ·Î±ë½Ã½ºÅÛÀ» »ç¿ëÇؼ­ syslog µ¥¸óÀ¸·Î º¸³À´Ï´Ù. syslogÀº /etc/syslog.conf¿¡¼­ ¼³Á¤ÇÕ´Ï´Ù. syslog·Î º¸³»´Â ¸Þ¼¼Áö´Â ÀåÄ¡¿Í ¿ì¼±¼øÀ§°¡ ÀÖ½À´Ï´Ù. /etc/syslog.confÀÇ ±âÀç»çÇ×Àº ÀåÄ¡¿Í ¿ì¼±¼øÀ§¿¡ µû¶ó¼­ ÇÊÅÍÇؼ­ ¸Þ¼¼Áö¸¦ ¿øÇÏ´Â ·Î±×ÆÄÀÏ, ¿ø°Ý·Î±×È£½ºÆ®, ¶Ç´Â Äֿܼ¡ º¸³À´Ï´Ù. splogger´Â ±âº»À¸·Î ¸áÀåÄ¡¿¡ ·Î±×ÇϹǷÎ, syslog.confÆÄÀÏ¿¡¼­ "mail"À» grepÇϸé Å¥¸ÞÀÏÀÇ ·Î±×¸Þ¼¼Áö󸮸¦ º¼ ¼ö ÀÖ½À´Ï´Ù.

´ë°³ ´ÙÀ½Àå¼Ò¿¡ À§Ä¡ÇÕ´Ï´Ù.

´ë°³ÀÇ 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.                     

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.             

·Ï¸Þ¼¼Áö

·ÎÄýýºÅÛ¿¡¼­ ¿ø°Ý½Ã½ºÅÛÀ¸·Î º¸³»´Â ¸Þ¼¼Áö¿¡ ´ëÇÑ ·ÏÀº ´ÙÀ½°ú °°½À´Ï´Ù.

1 928427555.143178 new msg 94030 
2 928427555.145873 info msg 94030: bytes 189 from <dave@sparge.sill> 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µµ º¸½Ê½Ã¿À.

Scalable parallelism

»ç¿ëÀÚµð·ºÅ丮¸¦ ÀúÀåÇÏ·Á¸é ºü¸¥ NFS³Ý¿÷ÆÄÀϼ­¹ö¸¦ »ç¿ëÇϽʽÿÀ. ÆÄÀϼ­¹ö»óÀÇ maildir¸áº¹½º¿¡ Àü´ÞÇÏ´Â º¹ÇÕ µ¿µî¼±È£ SMTP¼­¹ö¸¦ ¼³Ä¡ÇϽʽÿÀ.

5.8 Sendmail¿¡¼­ Å¥¸ÞÀÏ·Î ¿Å±â±â

¸ÕÀú, Dan BersteinÀÇ Sendmail->qmailÆäÁö¸¦ http://pobox.com/~djb/qmail/sendmail.html¿¡¼­ º¸½Ã±â ¹Ù¶ø´Ï´Ù.

5.9 ¸á¸µ¸®½ºÆ®¸Å´ÏÀú (Mailing List Managers: MLM's)

¸á¸µ¸®½ºÆ®¼ÒÀ¯ÀÚ°¡ ¸á¸µ¸®½ºÆ®¸¦ ¿î¿µÇÏ´Â °ÍÀ» µ½´Â ½Ã½ºÅÛÀÔ´Ï´Ù. ÇÏ´Â ÀÏÀº µÎ °¡ÁöÀÔ´Ï´Ù. °¡ÀÔÀÚµéÀÇ ¸®½ºÆ®¸¦ °ü¸®ÇÏ°í, °¡ÀÔÀڵ鿡°Ô ¸Þ¼¼Áö¸¦ Àç¼ÛºÎÇÏ´Â ÀÏÀÔ´Ï´Ù.

À¯´Ð½º¸á¸µ¸®½ºÆ®¸Å´ÏÀú ´ëºÎºÐÀÌ (¶Ç´Â ÀüºÎ°¡) Å¥¸ÞÀÏ°ú ÀÛµ¿ÇÒ ¼ö ÀÖ½À´Ï´Ù.

ezmlm

Å¥¸ÞÀÏÀÇ ÀúÀÚÀÎ Dan BernsteinÀÌ ÀÛ¼ºÇß½À´Ï´Ù. Å¥¸ÞÀÏ°ú »ç¿ëÇϵµ·Ï ½èÀ¸¸ç, Å¥¸ÞÀÏÀÇ ¸î¸î Ư¡¿¡ ÀÇÁ¸ÇÕ´Ï´Ù. °¡Àå µÎµå·¯Áø Á¡Àº ¹Ù¿î½º¸Þ¼¼Áö¸¦ ¾ÈÁ¤ÇÏ°Ô Ã³¸®Çϵµ·Ï VERP¸¦ »ç¿ëÇÕ´Ï´Ù. MLMÁß¿¡¼­ ezmlmÀÌ ´Ù¼Ò µ¶Æ¯ÇÑ Á¡Àº Áß¾Ó MLMÁÖ¼Ò·Î º¸³»Áø ¸í·ÉÀ» ó¸®ÇÏÁö ¾Ê°í, ¸®½ºÆ®ÀÇ À̸§¿¡ µ¡ºÙÀÔ´Ï´Ù. ¿¹) "foo@list.example.net"¿¡ °¡ÀÔÇÏ·Á¸é "foo-subscribe@list.example.net"À¸·Î ¸Þ¼¼Áö¸¦ º¸³À´Ï´Ù.

´õ ¾Ë°í ½ÍÀ¸½Ã¸é ºñ°ø½ÄÀ¥»çÀÌÆ®ÀÌ°í, ¸Å¿ì ¸¹Àº Ư¡À» Æ÷ÇÔÇÏ´Â ¾ÆÁÖ ÈǸ¢ÇÑ ¾Öµå¿ÂÀÎ ezmlm-idxÀÇ °ø½ÄȨÆäÁöÀÎ http://www.ezmlm.org¸¦ º¸½Ê½Ã¿À.

¸ÞÀÌÀúµµ¸ð

°¡Àå ¸¹ÀÌ º¸±ÞµÈ À¯´Ð½º MLMÀÔ´Ï´Ù. µÎ¼¼°¡Áö¸¸ °íÄ¡¸é Å¥¸ÞÀÏ°ú ¸ÚÁö°Ô ÀÛ¿ëÇÕ´Ï´Ù. Russ Allbery°¡ Å¥¸ÞÀÏ/¸ÞÀÌÀúµµ¸ð¿¡ °üÇÑ FAQ¸¦ ½è´Âµ¥, http://www.eyrie.org/~eagle/faqs/mjqmail.html¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

5.10 ÆÐÄ¡

Å¥¸ÞÀÏ¿¡ ´ëÇÑ ¿©·¯ ¼Ò½ºÄÚµåÆÐÄ¡¸¦ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÆÐÄ¡¸¦ ¼³Ä¡ÇÏ·Á¸é, ´Ù¿î·ÎµåÇÏ°í, Å¥¸ÞÀϼҽºÆ®¸®·Î °¡¼­ ÆÐÄ¡¸í·ÉÀ» ¾¹´Ï´Ù.

  cd /usr/local/src/qmail/qmail-1.03     
  patch -p0 < /tmp/patchfile              

Å¥¸ÞÀÏÀ» ¸ØÃç¾ß Çϴµ¥, qmail-send¸¦ ³¡³»°Å³ª, ¼³Ä¡Ç׸ñ¿¡ Àִ ť¸ÞÀϽºÅ©¸³Æ®¸¦ ¼³Ä¡ÇÏ¼Ì´Ù¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

  /usr/local/sbin/qmail stop

±×¸®°í³ª¼­ ´Ù½Ã ÄÄÆÄÀÏÇÏ°í ¹ÙÀ̳ʸ®¸¦ ¼³Ä¡ÇÕ´Ï´Ù.

  make setup check

DNS

¿¹·ÎºÎÅÍ DNSÀÀ´äÀº 512¹ÙÀÕÀ¸·Î Á¦ÇѵǾú´Ù. ¸î¸î ´ëÇü»çÀÌÆ®µé, ±×Áß¿¡¼­µµ America Online,Àº MXÀÀ´äÀ» ´õ ±æ°ÔÇؼ­ µÇµ¹¸®±â ½ÃÀÛÇß½À´Ï´Ù. Å¥¸ÞÀÏ°ú ±âŸ ¸¹Àº ÇÁ·Î±×·¥µéÀº ¸Å¿ì Å«°á°ú¸¦ µÇµ¹¸®´Â Domain Name Server (DNS)ÁúÀÇ¿¡´Â ¹®Á¦°¡ ÀÖ½À´Ï´Ù. Å¥¸ÞÀÏ¿¡¼­´Â ÀÌ°ÍÀ» ÇØ°áÇϴµ¥ µÎ°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

ÆÐŶ¹öÆÛ»çÀÌÁ 65536±îÁö ¹Ð¾î¿Ã¸®±â

ȸ´äÀÌ Àý´Üºø¼Â°ú µ¹¾Æµµ¸é ¶óÀÔ·¯¸®Äڵ峻¿¡¼­ TCPÁúÀǸ¦ ÀÚµ¿À¸·Î ÇÏ´Â ÃÖ±ÙÀÇ BIND resolver ¶óÀÔ·¯¸®¿Í µ¿ÀÛÇÕ´Ï´Ù. °¡Àå °£´ÜÇÑ ÇØ°áÀÌÁö¸¸, ÇØ´ç½Ã½ºÅÛÀÇ ÆäÀ̡󸮹æ¹ý¿¡ µû¶ó¼­ ¸Þ¸ð¸®³¶ºñ°¡ °¡Àå Ŭ ¼ö ÀÖ½À´Ï´Ù. dns.cÀÇ PACKETSZ¸¦ 65536À¸·Î ¹Ù²Ù°í Å¥¸ÞÀÏÀ» ´Ù½Ã ÄÄÆÄÀÏÇÏ¸é µË´Ï´Ù.

http://www.ckdhr.com/ckd/qmail-103.patch)

¾Æ¹«¸® ¿À·¡µÇ¾ú¾îµµ, ±×¸®°í "¹öÆÛ¿¡ ³õÀÌ´Â ¹ÙÀÕ¼ö"¶óÀÔ·¯¸®¹ö±×¸¦ ÇÇÇÏ·Á°í °¡µå(guard)¹ÙÀÕÀ» »ç¿ëÇÏ´Â ¾î¶² ¸®Á¹¹ö¶óÀÔ·¯¸®¿Íµµ µ¿ÀÛÇÏ´Â Chuck FosterÀÇ ÆÐÄ¡¸¦ °³Á¶ÇÑ °ÍÀÔ´Ï´Ù. ÇÊ¿äÇÑ Å©±â·Î Çϱ⺸´Ù´Â (¿ø·¡ÆÐÄ¡¿Í °°ÀÌ ÀÀ´äÀÌ ±âº» 512¹ÙÀÕÀÎ PACKETSZº¸´Ù Ä¿¾ßÁö¸¸ ÀçÇÒ´çÇÏÁö¸¸) 65536À¸·Î ´Ü Çѹø¸¸ ÀçÇÒ´çÇϹǷΠChuckÀÇ ÆÐÄ¡º¸´Ù ¸Þ¸ð¸®È¿À²¿¡¼­´Â ¶³¾îÁý´Ï´Ù. ÀçÇÒ´çÈÄ¿¡, TCPÁúÀǸ¦, ¸®Á¹¹ö¶óÀÔ·¯¸®°¡ ÇÏ°ÔÇÏÁö ¾Ê°í, (Å¥¸ÞÀÏ°ú ³×ÀÓ¼­¹ö°¡ °°Àº ±â°è ¶Ç´Â ·ÎÄóݿ÷¿¡ ÀÖÀ¸¸é Å«°ÆÁ¤ÀÌ ¾Æ´ÏÁö¸¸, ±×°Íµé°£ ¿©ºÐÀÇ ¿Õº¹À» ÇÇÇϸ鼭) °­Á¦·Î ÇÕ´Ï´Ù.

qmail-ldap

Andre Oppermann µîÀÇ ÀÌ ÆÐÄ¡´Â Lightweight Directory Access Protocol (LDAP)Áö¿øÀ» Å¥¸ÞÀÏ¿¡ ±¸ÇöÇÕ´Ï´Ù. LDAP´Â ³Ý¿÷ÀüÈ­Ã¥°ú °°½À´Ï´Ù. qmail-ldap¸¦ »ç¿ëÇϸé POP¼­¹ö¸¦ ¼öõ¸íÀÇ »ç¿ëÀÚ¿¡°Ô ÆíÀǸ¦ Á¦°øÇÒ ¼ö ÀÖ½À´Ï´Ù. http://www.nrg4u.com/¸¦ º¸½Ê½Ã¿À.

5.11 QMTP (Quick Mail Transfer Protocol)

Dan BernsteinÀÌ ¼³°èÇÑ SMTP´ëüÇÁ·ÎÅäÄÝÀÔ´Ï´Ù. ÇØ´ç ÇÁ·ÎÅäÄÝÀº http://pobox.com/~djb/proto/qmtp.txt¿¡ Á¤ÀǵǾî ÀÖ½À´Ï´Ù. SMTP¿Í À¯»çÇÏÁö¸¸, ´õ °£´ÜÇÏ°í, ´õ ºü¸£°í, SMTP¿Í´Â ȣȯµÇÁö ¾Ê½À´Ï´Ù. Å¥¸ÞÀÏÀº qmail-qmtp¶ó´Â QMTP¼­¹ö¸¦ Æ÷ÇÔÇϴµ¥, qmail-smtp¿Í ¸Å¿ì Èí»çÇÏ°Ô µ¿ÀÛÇÕ´Ï´Ù. ´ë°³ 209Æ÷Æ®¸¦ ÀÌ¿ëÇÕ´Ï´Ù.

Å¥¸ÞÀÏÀº QMTPŬ¶óÀ̾ðÆ®¸¦ Æ÷ÇÔÇÏÁö ¾ÊÁö¸¸, serialmailÆÐÄÉÁö´Â ±×°ÍÀ» Æ÷ÇÔÇÕ´Ï´Ù. maildir2qmtp´Â maildir¸áº¹½º¿¡ ÀÖ´Â ¸Þ¼¼Áö¸¦ QMTP¸¦ ÅëÇؼ­ ÁöÁ¤ÇÑ QMTP¼­¹ö·Î Àü´ÞÇÕ´Ï´Ù.

SMTP¿¡ ´ëÇÑ drop-in ´ëüǰÀÌ ¾Æ´Ï¸ç, ¾ÆÁ÷±îÁö´Â ÀÎÅͳݻ󿡼­ ¸¹ÀÌ ÆÛÁöÁö ¾Ê¾Ò½À´Ï´Ù.


´ÙÀ½ ÀÌÀü Â÷·Ê