· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Docbook Sgml/Life_With_Qmail-TRANS

Å¥¸ÞÀÏ°ú »î

Å¥¸ÞÀÏ°ú »î

Life with qmail (ÁÙ¿©¼­: lwq)

Mr . Dave Sill

À±ÁÖ¿µ

¹®¼­ÀÛ¼º°ú ¹ø¿ª¿¡¼­ À߸øµÈ ºÎºÐÀÌ ÀÖÀ¸¸é Á¦°Ô(À±ÁÖ¿µ) À̸ÞÀÏ·Î ¾Ë·ÁÁÖ½Ã¸é °íÄ¡°Ú½À´Ï´Ù.

Å¥¸ÞÀÏ ÀÚü´Â ¼³Ä¡ÇϱⰡ ½±Áö¸¸, Å¥¸ÞÀÏÀ» óÀ½ ¼³Ä¡¿î¿µÇÏ·Á´Â ºÐµé¿¡°Ô´Â ¼³Ä¡¿Í ¿î¿µ¿¡¼­ Á» Çò°¥¸®´Â ºÎºÐÀÌ ÀÖ½À´Ï´Ù. ±×·± ºÐµéÀº Å¥¸ÞÀÏ ÇÁ·Î±×·¥¿¡ Æ÷ÇԵǾî ÀÖ´Â ¼³Ä¡¹®¼­¿Í FAQ¸¦ ÂüÁ¶Çؼ­ ¿ì¼± Å¥¸ÞÀϸ¸ ¼³Ä¡ ¿î¿µÇØ º» ´ÙÀ½¿¡ ucspi-tcp¿Í daemontools µî Å¥¸ÞÀÏÀ» ¿î¿µÇϱâ À§ÇÑ Ãß°¡ÇÁ·Î±×·¥À» °°ÀÌ ¼³Ä¡ÇÏ´Â °úÁ¤À» ¼³¸íÇÑ º» ¹®¼­¸¦ ÂüÁ¶ÇÏ½Ã¾î ´Ù½Ã ¼³Ä¡Çϸé ÁÁ½À´Ï´Ù.

Áö±Ý±îÁö MTA·Î sendmailÀÌ °ÅÀÇ µ¶º¸Àû À§Ä¡¸¦ Â÷ÁöÇÏ°í ÀÖ°í, »ç½Ç»óÀÇ Ç¥ÁØÀÔ´Ï´Ù. ÇÏÁö¸¸, sendmailÀº µ¢Ä¡°¡ ¸Å¿ì Å©°í, ´ÜÀÏÇÁ·Î±×·¥À̸ç, ¼³Ä¡ ¹× ¼³Á¤ÀÌ ¾î·Æ´Ù´Â ´ÜÁ¡ÀÌ ÀÖ½À´Ï´Ù. Å¥¸ÞÀÏÀº ¸ðµâ ¹æ½ÄÀ¸·Î ±¸¼ºµÇ¾î ÀÖ°í, ¼³Ä¡¿Í ¼³Á¤ÀÌ ½¬¿ì¸ç, ƯÈ÷ º¸¾È¿¡ ¸¹Àº °­Á¡À» Áö´Ï°í ÀÖ½À´Ï´Ù. Å¥¸ÞÀÏ°ú »îÀÇ ¿øÁ¦´Â Life with qmailÀÌ¸ç º» ¹®¼­´Â À̸ÞÀÏ MTAÁß ÇϳªÀÎ qmailÀ» ¼³Ä¡ÇÏ°í ¿î¿µÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÕ´Ï´Ù. Å¥¸ÞÀÏ¿¡´Â ¿©·¯ »ç¶÷ÀÌ ¸¸µç ¸ðµâ·Î ÀÌ·ç¾îÁ® ÀÖÁö¸¸, ¿©±â¼­´Â ²À ÇÊ¿äÇÑ ÇÁ·Î±×·¥µé¸¸ ¼³¸íÇϹǷΠť¸ÞÀÏÀ» ½ÃÀÛÇÏ´Â ºÐµé²²´Â ÆíÇÏ°í ½¬¿î ¾È³»°¡ µÉ °ÍÀÔ´Ï´Ù. ¿ø¹®Àº ¿©±â ¶Ç´Â ¿ä±â¸¦ ÂüÁ¶ÇÏ½Ã¸é µË´Ï´Ù.

고친 과정
고침 02000-3-20
ÃÖÃʹø¿ª
고침 12001-9-14
¿ø¹®: 2001³â 6¿ù 13ÀÏÀÚ ucspi-tcpÀÇ ¹öÀü¾÷
고침 22001-12-25
¿ø¹®: 2001³â 9¿ù 19ÀÏÀÚ ¿øÀúÀÚÀÇ Àú¼ú ÃâÆÇ
고침 32002-1-19
¿ø¹®: 2001³â 12¿ù 29ÀÏÀÚ daemontoolsÀÇ ¹öÀü¾÷

차례
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.4.1. The qmail Handbook
1.10.4.2. qmail
1.10.4.3. Running qmail
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. FAQTS Áö½Ä±âÁö
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.2.1. qmailctl ½ºÅ©¸³Æ®
2.8.2.2. °¨µ¶ ½ºÅ©¸³Æ®µé
2.8.2.3. SMTP Á¢±Ù ÇÁ·ÎÅäÄÝ
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 ÇÁ·Î±×·¥µé
3.7. ½ºÆÔÅëÁ¦
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. Solid
5.2.4. imap-maildir
5.2.5. Courier-IMAP
5.3. POP¿Í IMAP Ŭ¶óÀ̾ðÆ®
5.3.1. fetchmail
5.3.2. getmail
5.4. ´ÙÁß RCPT ´ë ´ÜÀÏ RCPT Àü´Þ
5.5. VERP
5.6. ¹®Á¦ÇØ°á
5.6.1. ÇÁ·Î¼¼½º
5.6.2. ·Î±×
5.6.2.1. splogger
5.6.2.2. multilog
5.6.2.3. ·Ï¸Þ¼¼Áö
5.7. ´ëÇü ¼­¹ö
5.7.1. Scalable parallelism
5.8. Sendmail¿¡¼­ Å¥¸ÞÀÏ·Î ¿Å±â±â
5.9. ¸ÞÀϸµ¸®½ºÆ®¸Å´ÏÀú (Mailing List Managers: MLM's)
5.10. ezmlm
5.11. ¸ÞÀÌÀúµµ¸ð
5.12. ÆÐÄ¡
5.13. DNS
5.13.1. ÆÐŶ¹öÆÛ»çÀÌÁ 65536±îÁö ¹Ð¾î¿Ã¸®±â
5.13.2. Christopher K. DavisÀÇ ÆÐÄ¡
5.13.3. qmail-ldap
5.14. QMTP (Quick Mail Transfer Protocol)
A. ºÎ·Ï
A.1. »ç·Ê
A.2. °ü·Ã ÆÐÅ°Áö
A.2.1. dot-forward
A.2.2. fastforward
A.2.3. ucspi-tcp
A.2.4. daemontools
A.2.5. qmailanalog
A.2.6. rblsmtpd
A.2.7. serialmail
A.2.8. mess822
A.2.9. ezmlm
A.2.10. safecat
A.2.11. maildrop
A.3. ÀÎÅͳݸÞÀÏÀÇ µ¿ÀÛ¹æ¹ý
A.3.1. ¸Þ¼¼Áö°¡ AÁöÁ¡¿¡¼­ BÁöÁ¡À¸·Î °¡´Â ¹æ¹ý
A.3.2. ´õ¸¹ÀºÁ¤º¸
A.3.3. ÀÎÅÍ³Ý RFCµé
A.4. ±¸Á¶
A.4.1. ¸ðµâ½Ã½ºÅÛ±¸Á¶
A.4.2. ÆÄÀϱ¸Á¶
A.4.3. Å¥±¸Á¶
A.4.4. »çÁø
A.5. µå¹® (¾î¼´Ù Çѹø¾¿ ¹¯´Â) Áú¹®µé
A.5.1. Å¥¸ÞÀÏÀº Áö¿¬¸Þ¼¼Áö¸¦ ¾î´À Á¤µµ ÀÚÁÖ º¸³À´Ï±î?
A.5.2. Àú´Â MX°¡ ¸¹Àº ´ëÇü»çÀÌÆ®¿¡ ¸ÅÀÏÀ» º¸³»Áö ¸øÇϴµ¥ ¿Ö±×·¸ÁÒ?
A.5.3. QUEUE_EXTRA?
A.6. ¿¡·¯¸Þ¼¼Áö
A.7. ÀÇ¿ÜÀÇ ½Ç¼ö
A.7.1. Å¥¸ÞÀÏÀº ¼öÆÛÀ¯Àú¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.
A.7.2. Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮°¡ ¾ø´Â »ç¿ëÀÚ¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.
A.7.3. Å¥¸ÞÀÏÀº »ç¿ëÀÚÀ̸§¿¡ ´ë¹®ÀÚ¸¦ ¾²´Â »ç¿ëÀÚ¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.
A.7.4. Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮¿¡ ±×·ìÀ̳ª ±âŸ»ç¿ëÀÚ¿¡°Ô ¾²±â¸¦ Çã¶ôÇÏ´Â »ç¿ëÀÚ¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.
A.7.5. Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ Á¡(.)À» ÄÝ·Ð(:)À¸·Î ¹Ù²ß´Ï´Ù.
A.7.6. Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ ´ë¹®ÀÚ¸¦ ¼Ò¹®ÀÚ·Î ¹Ù²ß´Ï´Ù.
A.7.7. Å¥¸ÞÀÏÀº /etc/hosts¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù.
A.7.8. Å¥¸ÞÀÏÀº SMTPÈ°µ¿À» ·ÏÇÏÁö ¾Ê½À´Ï´Ù.
A.7.9. Å¥¸ÞÀÏÀº Áö¿¬ÅëÁö¸¦ ¸¸µéÁö ¾Ê½À´Ï´Ù.
A.7.10. Å¥¸ÞÀÏÀº /var/qmail/queue/lock/trigger°¡ Ʋ¸°Á¢±Ù±ÇÇÑÀ̰ųª º¸ÅëÆÄÀÏÀÌ¸é ´Ê¾îÁý´Ï´Ù.
A.7.11. DNS ¶Ç´Â IDENT¸¦ ã´À¶ó°í SMTP°¡ ´À·ÁÁú ¼öµµ ÀÖ½À´Ï´Ù.
A.8. lwq¿¡ ´ëÇÑ FAQ
A.8.1. lwqÀÇ ¹öÀü
A.8.2. lwqÀÇ ¼ÒÀ¯ÀÚ´Â?
A.8.3. lwqÀÇ ¶óÀ̼¾½º´Â?
A.8.4. lwqÀÇ »õÆÇÀ» ±¸ÇÒ ¼ö ÀÖ´Ù´Â °ÍÀº ¾î¶»°Ô ÅëÁö¹ÞÀ» ¼ö ÀÖ½À´Ï±î?
A.8.5. lwq°øÇåÀÚ¿Í ÆÒÀº ¾îµð¼­ À̾߱âÇÒ ¼ö ÀÖ½À´Ï±î?
A.8.6. lwq´Â ´Ù¸¥ ¾ð¾î·Î ¹ø¿ªµÇ¾ú½À´Ï±î?
A.8.7. lwq´Â HTMLÀÌ¿Ü¿¡ Æ÷½ºÆ®½ºÅ©¸³Æ®, PDF, Æò¹üÇѱÛ, ¶Ç´Â ´Ù¸¥ÇüÅ·εµ ±¸ÇÒ ¼ö ÀÖ½À´Ï±î?
A.8.8. lwq¸¦ »ç¿ëÇß´õ´Ï, ½Ã½ºÅÛÆı«, Çϵåµð½ºÅ©»èÁ¦, ¹é¹ßÀ» Çß½À´Ï´Ù.
A.8.9. lwq¿¡ °øÇåÇÏ°í ½Í½À´Ï´Ù.

1. ¼Ò°³

1.1. ´ë»óµ¶ÀÚ

¡¸Å¥¸ÞÀÏ°ú »î¡¹ (Life with qmail, ÀÌÇÏ lwq¶ó°í ÁÙ¿©¼­ ºÎ¸§)Àº ³²´Â PC¿¡ Linux¸¦ ÀÌÁ¦ ¸· ¼³Ä¡ÇÑ ÀÏ¹Ý ¸®´ª½º Ãʺ¸ÀÚºÎÅÍ °æÇèÀÌ ¸¹Àº ½Ã½ºÅÛ °ü¸®ÀÚ ¶Ç´Â ¸ÞÀÏ ¼­¹ö °ü¸®ÀÚ¿¡ À̸£±â±îÁö Å¥¸ÞÀÏÀ» ¿î¿µÇÏ°íÀÚ ÇÏ´Â ¸ðµç »ç¶÷À» ´ë»óÀ¸·Î ¾²¿©Á³½À´Ï´Ù. ±ÛÀ» º¸½Ã¸é¼­ ºüÁö°Å³ª ºÒºÐ¸íÇÑ Á¡µéÀº lwq (at) sill.org·Î ¾Ë·ÁÁֽʽÿÀ.

Å¥¸ÞÀÏ¿¡ ´ëÇÑ ¹®¼­´Â ÀÌ¹Ì ¸¹ÀÌ ³Î·ÁÀÖ½À´Ï´Ù. ½ÅÂüÀÚµéÀ» ´ë»óÀ¸·Î ÇÏ´Â °Íµéµµ ÀÖ°í, °æÇèÀÌ ¸¹Àº µ¶ÀÚ¸¦ ´ë»óÀ¸·Î ÇÏ´Â °Íµéµµ ÀÖ½À´Ï´Ù. lwq´Â µ¶ÀÚ°¡ ÃÖ¼ÒÇÑ ´ÙÀ½ÀÇ ±â¼úÀ» °®Ãß°í ÀÖ´Ù´Â °¡Á¤ ÇÏ¿¡, ÀÌ¹Ì ÀÖ´Â ¹®¼­µéÀÌ ´Ù·çÁö ¾ÊÀº Áß°£ ºÎºÐÀ» ¸Å¿ì°í, ÇÕÃļ­ ÇϳªÀÇ ¹®¼­·Î ¸¸µé°íÀÚ ÇÏ´Â ¸ñÀûÀ¸·Î ¾²¿©Á³½À´Ï´Ù.

  • À¯´Ð½º¿¡¼­ ÆÄÀÏ°ú µð·ºÅ丮¸¦ ´Ù·ê ÁÙ ¾Ë°í ÀÖÀ½.

  • À¥ºê¶ó¿ìÀú³ª FTP Ŭ¶óÀ̾ðÆ®¸¦ »ç¿ëÇÒ ¼ö ÀÖÀ½.

  • Áö½Ã»çÇ×À» µû¶ó¼­ ÇÒ ¼ö ÀÖÀ½.


1.2. Å¥¸ÞÀÏÀ̶õ?

Å¥¸ÞÀÏÀº À¯´Ð½º·ù ¿î¿µÃ¼Á¦ÀÇ ÀÎÅÍ³Ý Mail Transfer Agent (MTA)À¸·Î, ´ëºÎºÐÀÇ UNIX·ù ¿î¿µÃ¼Á¦°¡ Á¦°øÇÏ°í ÀÖ´Â Sendmail½Ã½ºÅÛÀ» ´ëüÇÏ´Â ¼ÒÇÁÆ®¿þ¾îÀÔ´Ï´Ù. Å¥¸ÞÀÏÀº Simple Mail Transfer Protocol (SMTP)À» ÀÌ¿ëÇؼ­ ´Ù¸¥ ½Ã½ºÅÛÀÇ MTA¿Í ¸Þ¼¼Áö¸¦ ±³È¯ÇÕ´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: ¹Ù¸¥À̸§Àº QmailÀÌ ¾Æ´Ï°í qmailÀÔ´Ï´Ù.

-------------------------------------------------------------


1.3. qmailÀÇ ÀåÁ¡?

´ç½ÅÀÇ ¿î¿µÃ¼Á¦¿¡µµ Sendmail°°Àº MTA°¡ ÀÖÀ» °Ì´Ï´Ù. ±×·±µ¥, Áö±Ý À̹®¼­¸¦ Àаí ÀÖ´Ù¸é, ¾Æ¸¶ ´õ MTA¸¦ ã°í ÀÖ´Â °ÍÀÌ°ÚÁÒ? Å¥¸ÞÀÏÀÌ ´Ù¸¥ vendor°¡ Á¦°øÇÏ´Â MTAº¸´Ù ´õ ÁÁÀº ÀåÁ¡Àº ´ÙÀ½°ú °°½À´Ï´Ù.


1.3.1. ¾ÈÀü¼º

³ôÀº º¸¾È¼öÁØÀ» ¿°µÎ¿¡ µÎ°í ¼³°èµÇ¾ú½À´Ï´Ù. SendmailÀÇ º¸¾ÈÀº ¿À·§µ¿¾È ½É°¢ÇÑ ¹®Á¦¿´½À´Ï´Ù. SendmailÀÌ Ã³À½ ¸¸µé¾îÁ³À»¶§ÀÇ ÀÎÅͳÝÀº ÈξÀ ´õ Ä£¹ÐÇÑ µ¿³×¿´½À´Ï´Ù. ´©±¸³ª ¼­·Î¸¦ ¾Ë¾Ò°í, ¶§¹®¿¡ º¸¾ÈÀ» °í·ÁÇÏ¸ç ¼³°èÇϰųª ÄÚµùÇÒ ÇÊ¿ä°¡ ¾ø¾ú½À´Ï´Ù. ¿À´Ã³¯ ÀÎÅͳÝÀº ³×Æ®¿öÅ© ¼­¹öµé¿¡°Ô ³Ê¹«³ªµµ Àû´ëÀûÀÎ °ø°£ÀÌ µÇ¾î ¹ö·È½À´Ï´Ù. SendmailÀ» ¸¸µç Eric Allman°ú ÇöÀçÀÇ ¸ÞÀÎÅ×À̳ÊÀÎ Claus Assmanµµ SendmailÀÌ ´õ ¾ÈÀüÇϵµ·Ï ¸¸µé¾úÁö¸¸, ÁøÂ¥·Î ¾ÈÀüÇÏ°Ô ¸¸µé·Á¸é ´Ù½Ã ¼³°èÇÏ´Â ¼ö ¹Û¿¡ ¾ø¾ú½À´Ï´Ù.


1.3.2. ¼º´É

¸ÞÀϺ¸³»±â¸¦ º´Çàó¸®ÇÕ´Ï´Ù. (20°³°¡ defaultÀÔ´Ï´Ù.)


1.3.3. ½Å·Ú¼º

Çѹø ¹ÞÀº ¸Þ¼¼Áö´Â °áÄÚ ³õÄ¡Áö ¾Ê½À´Ï´Ù. »õ ¸ÞÀϹڽºÇüŵµ Á¦°øÇϴµ¥, NFS¿¡¼­ Á¶Â÷ lockingÇÏÁö ¾Ê°íµµ Àß ÀÛµ¿ÇÕ´Ï´Ù.


1.3.4. °£Æí¼º

´Ù¸¥ µ¿±ÞÀÇ MTAº¸´Ù ÀÛ½À´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: Å¥¸ÞÀÏÀÇ °ø½ÄȨÆäÀÌÁö ¿¡¼­ ´õ ¸¹Àº ÀåÁ¡À» ÀÐÀ» ¼ö ÀÖ½À´Ï´Ù.

-------------------------------------------------------------


1.4. °æ·Â

Å¥¸ÞÀÏÀº Áö±Ý ½ÃÄ«°íÀÇ Àϸ®³ëÀÌµå ´ëÇп¡ ¼öÇб³¼ö·Î ÀÖ´Â Dan Bernstein (DJB)²²¼­ ¸¸µå¼Ì½À´Ï´Ù ( DJB ȨÆäÀÌÁö ). ¹ø½ºÅ¸Àιڻ粲¼­´Â ¾ÏÈ£ºÐ¾ß¿¡¼­ÀÇ ¾÷Àû°ú, ¹Ì±¹Á¤ºÎ¸¦ »ó´ë·Î ¾Ïȣȭ¼Ò½ºÄÚµå°ø°³¿¡ ´ëÇØ ¼Ò¼ÛÀ» ¹ú¿© Àß ¾Ë·ÁÁ® ÀÖ½À´Ï´Ù. ¼Ò¼Û¿¡ ´ëÇؼ­´Â http://www.news.com/News/Item/0,4,36217,00.html?owv ¸¦ ÂüÁ¶ÇϽʽÿÀ.

Å¥¸ÞÀÏÀÇ ÃÖÃÊ °ø°³ÆÇÀº 1996³â 1¿ù 24ÀÏ¿¡ ³ª¿Â 0.70 º£Å¸ÆÇÀÌ°í, ù °¨¸¶ÆÇÀº 1996³â 8¿ù 1ÀÏÀÇ 0.90ÀÔ´Ï´Ù.

ÀϹÝÆÇÀ¸·Î óÀ½ ³ª¿Â 1.0Àº 1997³â 2¿ù 20ÀÏ¿¡ °ø°³µÇ¾ú½À´Ï´Ù. Áö±ÝÀÇ ¹öÀüÀÎ 1.03Àº 1998³â 6¿ù 15ÀÏ¿¡ ³ª¿Ô½À´Ï´Ù.

´ÙÀ½ÆÇÀº 2.0 Æò°¡ÆÇÀÌ µÉ °ÍÀ¸·Î ¿¹»óÇÕ´Ï´Ù. http://cr.yp.to/qmail/future.html¿¡ 2.0ÀÇ ³»¿ëµéÀÌ ÀÖ½À´Ï´Ù.


1.5. Ư¡

http://cr.yp.to/qmail.html¿¡ Å¥¸ÞÀÏÀÇ ¸ðµç Ư¡ÀÌ ³ª¿­µÇ¾î ÀÖ½À´Ï´Ù. À̹ø ´Ü¶ôÀº ÀÌ ÆäÀÌÁö¸¦ ¸¹ÀÌ Âü°íÇß½À´Ï´Ù.


1.5.1. ¼³Ä¡

  • ´ç½ÅÀÇ À¯´Ð½º ±âÁ¾¿¡ ÀÚµ¿ÀûÀÀÇϹǷΠÀ̽Ä(porting)ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.

  • È£½ºÆ®º° ÀÚµ¿¼³Á¤

  • ºü¸£°Ô ¼³Ä¡µÇ¹Ç·Î °áÁ¤ÇÒ »çÇ×ÀÌ ¸¹Áö ¾Ê½À´Ï´Ù.


1.5.2. ¾ÈÀü

  • ÁÖ¼Ò, ÆÄÀÏ, ÇÁ·Î±×·¥ µîÀ» ¼­·Î ±ú²ýÇÏ°Ô ±¸º°ÇØ ³õ¾Ò½À´Ï´Ù.

  • setuid Äڵ带 ÃÖ¼ÒÈ­Çß½À´Ï´Ù.

  • ·çÆ®(root) Äڵ带 ÃÖ¼ÒÈ­Çß½À´Ï´Ù.

  • Five-way trust partitioning--½Éµµ ÀÖ´Â ¾ÈÀü

  • one-way ¸Þ¼¼Áö ´ÜÆíµé, ¶Ç´Â ¸Þ¼¼Áö³»¿ëÀüü µîÀ» °ñ¶ó¼­ ÇÒ ¼ö ÀÖ½À´Ï´Ù. (µå¹®Áú¹®¿¡ ÀÖ´Â QUEUE_EXTRA?¸¦ º¸½Ê½Ã¿À.)


1.5.3. ¸Þ¼¼Áö ±¸¼º

  • RFC 822°ú RFC 1123À» µû¸¨´Ï´Ù.

  • address groupÀ» ÀüºÎ Áö¿øÇÕ´Ï´Ù.

  • ±¸½Ä ÁÖ¼Ò¸®½ºÆ®¸¦ RFC 822 Çü½ÄÀ¸·Î ÀÚµ¿º¯È¯ÇÕ´Ï´Ù.

  • Áö±ÝÀÇ sendmail user agent¿Í ȣȯÇϱâ À§Çؼ­ sendmail ¸í·ÉÀ» Áö¿øÇÕ´Ï´Ù.

  • headerÁÙ ±æÀÌÀÇ ÇÑ°è´Â ¸Þ¸ð¸®°¡ Çã¿ëÇÏ´Â µ¥±îÁöÀÔ´Ï´Ù.

  • host masquerading (ÂüÁ¶: defaulthost )

  • user masquerading (ÂüÁ¶: MAILUSER, MAILHOST )

  • Mail-Followup-To¸¦ ÀÚµ¿»ý¼ºÇÕ´Ï´Ù. (ÂüÁ¶: QMAILMFTFILE )


1.5.4. SMTP ¼­ºñ½º

  • RFC 821, RFC 1123, RFC 1651, RFC 1652, RFC 1854 µîÀÇ Áؼö

  • 8-bitµµ Àå¾Ö¹«

  • RFC 931/1413/ident/TAP callbakµîÀ¸·Î ½ºÆÔ¸ÞÀÏ°ú À§Á¶ÀÚ µîÀÇ ÃßÀû ¿ëÀÌ

  • relay ÅëÁ¦±â´ÉÀ¸·Î ¿ÜºÎÀÇ ±ÇÇÑÀÌ ¾ø´Â Áß°è ÀúÁö

  • relay ÅëÁ¦¿Í alias°£ÀÇ ºÒ°£¼·

  • local IPÁÖ¼Ò ÀÚµ¿ÀνÄ

  • ¹öÆÛº° timeout

  • hop counting

  • º´·Äó¸® Çѵµ (ucspi-tcp¸¦ ÀÌ¿ë)

  • (ucspi-tcp¸¦ ÀÌ¿ëÇؼ­) ¾Ç¿ëÀÚµé·ÎºÎÅÍÀÇ Á¢¼Ó°ÅºÎ

  • ±ÇÇÑÀÎÁ¤µÈ client¿¡ ´ëÇÑ Áß°è¿Í ¸Þ¼¼Áö ÀçÀÛ¼º

  • (rblsmtpd¸¦ ÅëÇÑ) RBL/ORBSÁö¿ø ¼±ÅÃ


1.5.5. Å¥°ü¸®

  • Å¥¿¡ ´õÇØÁø ¸Þ¼¼ÁöÀÇ Áﰢó¸®

  • º´·Äó¸®ÇÑ°è

  • Å¥µð·ºÅ丮ÀÇ ºÐ¸®·Î Å¥°¡ ºñ´ëÇØ Á³À» ¶§ ¼ÓµµÀúÇϸ¦ ¹æÁö

  • 2Â÷¹æÁ¤½Ä¿¡ ÀÇÇÑ Àç½Ãµµ ½ºÄÉÁì·Î ¿À·¡µÈ ¸Þ¼¼ÁöÀϼö·Ï µå¹°°Ô ½Ãµµ (Å¥¸ÞÀÏÀº Áö¿¬¸Þ¼¼Áö¸¦ ¾î´À Á¤µµ ÀÚÁÖ º¸³À´Ï±î?¸¦ º¸¼¼¿ä)

  • ¸Þ¼¼Áö Àç½ÃµµÀÇ µ¶¸³ ½ºÄÉÁì

  • ÀÚµ¿ ¾ÈÀü Å¥Çϱâ·Î ½Ã½ºÅÛÀÌ ¹«³ÊÁ®µµ ¸ÞÀÏÀ» ÀÒÁö ¾ÊÀ½

  • ¼ö½ÅÀÚº° ÀÚµ¿ ýÆ÷ÀÎÆ®Çϱâ

  • ÀÚµ¿ ťû¼Ò

  • Å¥º¸±â (qmail-qread)

  • (qmailanalog¸¦ ÀÌ¿ëÇÑ) »ó¼¼ÇÑ ¹è´Þ Åë°è


1.5.6. µÇµ¹¸®±â (Bounces)

  • ±â°è¿Í »ç¶÷ÀÌ ÀÐÀ» ¼ö ÀÖ´Â QSBMF µÇµ¹¸² ¸Þ¼¼Áö

  • ¾ð¾î¿¡ »ó°ü¾ø´Â RFC 1893 ¿¡·¯ÄÚµåÀÎ HCMSSC Áö¿ø

  • ÀÌÁß µÇµ¹¸²À¸·Î postmaster¿¡°Ôµµ º¸³¿


1.5.7. µµ¸ÞÀÎÀ¸·Î ¶ó¿ìÆÃÇϱâ

  • ·ÎÄÃÈ£½ºÆ®¿¡ ´ëÇؼ­´Â ¿©·¯ À̸§ÀÌ °¡´ÉÇÔ (ÂüÁ¶: locals )

  • ¿©·¯ ¹öÃ߾󵵸ÞÀÎ (ÂüÁ¶: virtualdomains )

  • µµ¸ÞÀÎ ¿ÍÀϵåÄ«µå (ÂüÁ¶: virtualdomains )

  • ¼³Á¤°¡´ÉÇÑ "percent hack" Áö¿ø (ÂüÁ¶: percenthack )

  • UUCP hook


1.5.8. SMTP Àü´Þ

  • RFC 821, RFC 974, RFC 1123À» µû¸§

  • 8ºñÆ® ó¸®

  • ´Ù¿îµÈ È£½ºÆ®¸¦ ÀÚµ¿ backoff

  • smarthost, localnet, mailertableµîÀÇ ÀΰøÁö´É ¶ó¿ìÆà (ÂüÁ¶: smtproutes )

  • ¹öÆÛº° ŸÀӾƿô

  • SLIP/PPP¿¡ ¾Ë¸ÂÀº (serialmailÀ» ÅëÇÑ) ¼öµ¿Àû SMTP Å¥

  • (serialmailÀ» ÅëÇÑ) autoTURN


1.5.9. Æ÷¿öµù°ú ¸ÞÀϸµ¸®½ºÆ®

  • sendmailÀÇ .forward¸¦ (dot-forward¸¦ ÀÌ¿ëÇؼ­) µû¸§

  • (fastforward¸¦ ÅëÇÑ) hashed forwarding µ¥ÀÌÅͺ£À̽º

  • sendmailÀÇ /etc/aliases¸¦ (fastforward¸¦ ÀÌ¿ëÇؼ­) µû¸§

  • ¾îµå·¹½º ¿ÍÀϵåÄ«µå (.qmail-default¸¦ º¸¼¼¿ä.)

  • ¹Ù¿î½º¿Í ÈÞ°¡¸Þ¼¼Áö¸¦ ÀÚµ¿ÀüȯÇÏ´Â ¸ÞÀϸµ¸®½ºÆ®¼ÒÀ¯ÀÚ

  • ¸ÞÀϸµ¸®½ºÆ®¹Ù¿î½º¸¦ À§ÇÑ ÀÚµ¿ ¼ö½ÅÀÚ ÀνÄÀÎ VERP

  • Delivered-ToÀÇ ·ìÀ» ÀÚµ¿Â÷´ÜÀ» È£½ºÆ®°£¿¡µµ Áö¿ø


1.5.10. ·ÎÄÃÀü´Þ

  • ¾îµå·¹½º°èÃþÀ» »ç¿ëÀÚ°¡ ÅëÁ¦ÇϹǷΠfred´Â fred-anything mbox Àü´ÞÀ» ÅëÁ¦ÇÔ

  • ¹ÏÀ»¼öÀÖ´Â NFS Àü´Þ (maildir¸¦ º¸¼¼¿ä.)

  • procmail µî »ç¿ëÀÚ°¡ ÅëÁ¦ÇÏ´Â ÇÁ·Î±×·¥ Àü´Þ (qmail-command¸¦ º¸¼¼¿ä)

  • »õ¸ÞÀÏÅëÁö ¼±Åà (qbiff)

  • NRUDT ¹Ý¼Û ÁõÇ¥ÀÇ ¼±Åà (qreceipt)

  • Á¶°Ç ÇÊÅ͸µ (condredirect¿Í bouncesaying)


1.5.11. POP3 ¼­ºñ½º

  • RFC 1939¸¦ µû¸§

  • UIDL Áö¿ø

  • TOP Áö¿ø

  • APOP hook

  • (checkpassword¸¦ ÀÌ¿ëÇؼ­) Æнº¿öµå°Ë»çÀÇ ¸ðµâÈ­


1.6. °ü·Ã ÆÑÅ°Áö

Å¥¸ÞÀÏÀº ÇÑ °³ÀÇ ÅøÀº Àß Á¤ÀÇµÈ ´ÜÀÏ ±â´ÉÀ» ¿Ï¼öÇϸç, º¹ÀâÇÑ ±â´ÉÀº ¿©·¯ °³ÀÇ ´ÜÀÏ ÅøµéÀÌ ÆÄÀÌÇÁ ¶óÀÎÀ¸·Î ¿¬°áÇÏ¿© ¸¸µé¾î Áø´Ù´Â ÀüÅëÀûÀÎ À¯´Ð½º öÇÐÀ» µû¸¨´Ï´Ù. ´Ù¸¥ ¹æ¹ý¿¡¼­´Â º¹ÀâÇÏ°í º¹ÀâÇÑ ÅøµéÀ» ¸¸µé¾î¼­ °£´ÜÇÑ ÅøµéÀÇ ¸¹Àº ±â´ÉÀ» À籸¼ºÇÕ´Ï´Ù.

ÀÌ°ÍÀ» ÀÌÇØÇß´Ù¸é, Å¥¸ÞÀÏÀÌ ÀÚü·Î´Â ¿ì¸®°¡ ¿øÇÏ´Â ¸ðµç ±â´ÉÀ» ÇÒ ¼ö ¾ø´Ù´Â °ÍÀº ³î¶ó¿î ÀÏÀÌ ¾Æ´Ò °ÍÀÔ´Ï´Ù. ¿©±â Å¥¸ÞÀÏ¿¡ ºÙ¾î µ¿ÀÛÇÏ´Â ´ÙÀ½°ú °°Àº ÀαâÀÖ´Â add-onµéÀÌ ÀÖ½À´Ï´Ù. ¹°·Ð Å¥¸ÞÀÏ¿¡´Â ´Ù¸¥ Ç¥ÁØ À¯´Ð½º À¯Æ¿¸®Æ¼µéµµ ºÙ¿©¼­ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.

  • dot-forward: sendmail .forward ÆÄÀÏ È£È¯ ¾Öµå¿Â

  • fastforward: sendmail alias µ¥ÀÌÅͺ£À̽º ȣȯ ¾Ü¿Â

  • ucspi-tcp : inetd ´ëü

  • daemontools: µ¥¸ó°ú ±× ·Î±×¸¦ °ü¸®ÇÏ´Â ÅøÁýÇÕ

  • qmailanalog: Å¥¸ÞÀÏ ·Î±×ÆÄÀÏ ºÐ¼®ÅøÁýÇÕ

  • rblsmtpd : anti-spam Åø

  • serialmail : Àú¼Ó³Ý¿÷»óÀÇ mailingÀ» À§ÇÑ Åø

  • mess822 : ÀÎÅÍ³Ý ¸ÞÀÏ ¸Þ¼¼ÁöÀÇ Çؼ®±â Åø

  • ezmlm : Å¥¸ÞÀÏÀ» À§ÇÑ ¸ÞÀϸµ¸®½ºÆ® °ü¸®ÀÚ


1.7. ±¸¼º

±¸Á¶ºÎ·Ï¿¡ Å¥¸ÞÀÏÀÇ ±â´É±¸Á¶¿Í ½ÇÁ¦±¸Á¶¸¦ ´Ù·ç¾ú½À´Ï´Ù. ÇѸ¶µð·Î, Å¥¸ÞÀÏÀº ¼­·Î´Ù¸¥ÀÏÀ» ÇÏ´Â ÇÁ·Î±×·¥(¸ðµâ)µé·Î À̾îÁ® ÀÖ½À´Ï´Ù.


1.8. »ç¿ëÇã°¡¼­

Å¥¸ÞÀÏÀÇ ÀúÀÛ±ÇÀº ÀúÀÚÀÎ Dan Bernstein¿¡ ÀÖ°í, »ç¿ëÀڱǸ®Áø¼ú·Î ¹èÆ÷ÇÏÁö ¾Ê½À´Ï´Ù. http://cr.yp.to/softwarelaw.html¿¡ º¸½Ã¸é, ¹Ì±¹ ÀúÀ۱ǹý¿¡¼­ ´ç½ÅÀÇ ±Ç¸®¶ó°í ÀúÀÚ°¡ »ý°¢Çϴ°ÍÀ» Àû¾î³õ¾Ò½À´Ï´Ù. http://cr.yp.to/qmail/dist.html ¿¡¼­ ±×´Â Å¥¸ÞÀÏÀÇ ¼Ò½ºÄÚµåÀÇ ¹èÆ÷±Ç¸®¸¦ Çã°¡Çß½À´Ï´Ù. ¹ÙÀ̳ʸ® ¹èÆ÷´Â ±×°÷°ú http://cr.yp.to/qmail/var-qmail.html.¿¡ ¼³¸íµÈ´ë·Î ÇÏ¸é ¿ëÀε˴ϴÙ.

½±°Ô À̾߱âÇؼ­ ´ç½ÅÀº ¾î¶² ¸ñÀûÀ̵çÁö Å¥¸ÞÀÏÀ» »ç¿ëÇÒ ¼ö ÀÖ°í, °íÄ¡Áö ¾ÊÀº Å¥¸ÞÀÏ ¼Ò½ºÄÚµå ¹èÆ÷ÆÇ°ú var-qmail ¹ÙÀ̳ʸ® ¹èÆ÷ÆÇÀ» ´Ù½Ã ¹èÆ÷ÇÒ ¼ö ÀÖ°í, Å¥¸ÞÀÏ¿¡ ´ëÇÑ ÆÐÄ¡¸¦ ¹èÆ÷ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·¯³ª, ¼öÁ¤µÈ Å¥¸ÞÀÏ ¼Ò½ºÄڵ峪 ºñ var-qmail¹ÙÀ̳ʸ® ¹èÆ÷ÆÇÀº ¹èÆ÷ÇÒ ¼ö ¾ø½À´Ï´Ù.


1.9. ¿©Å¸ MTA¿Í ºñ±³

ÀÌ ÁÖÁ¦·Î Ã¥À» ¾µ ¼öµµ ÀÖ°ÚÁö¸¸, Àб⿣ ³Ê¹« Áö·çÇÒ °ÍÀÔ´Ï´Ù. °¡Àå ¸¹ÀÌ ¾²´Â À¯´Ð½º MTAµé ¸î °³¸¦ Å¥¸ÞÀÏ°ú °£´ÜÈ÷ ºñ±³Çß½À´Ï´Ù.

표 1. MTAµé ºñ±³

MTA ¼º¼÷ ¾ÈÀü Ư¡ ¼º´É Sendmail¼º ¸ðµâÈ­
qmail Áß°£ ³ôÀ½ ³ôÀ½ ³ôÀ½ add-on µÇ¾îÀÖÀ½
Sendmail ³ôÀ½ ³·À½ ³ôÀ½ ³·À½ ¾øÀ½ ¾ÈµÊ
Postfix ³·À½ ³ôÀ½ Áß°£ ³ôÀ½ ¸ÂÀ½ µÇ¾îÀÖÀ½
exim Áß°£ ³·À½ ³ôÀ½ Áß°£ ¸ÂÀ½ ¾ÈµÊ

Sendmail¼ºÀ̶õ ÇØ´ç MTA°¡ ¿©·¯¸é¿¡¼­ Sendmail°°¾Æ¼­, .forward ÆÄÀÏÀ̳ª /etc/aliases³ª /var/spool/mail µîÀÇ »ç¿ëÀ» Sendmail¿¡¼­ ´Ù¸¥ MTA·Î ÀüȯÇÒ ¶§ »ç¿ëÀÚµéÀÌ °í·ÁÇÒ Á¡ÀÌ ¾øµµ·Ï ÇÏ´Â °ÍÀÔ´Ï´Ù.

Cameron Laird°¡ http://starbase.neosoft.com/~claird/comp.mail.misc/MTA_comparison.html¿¡ À̰͵é°ú ´Ù¸¥ ¹«·á, À¯·á MTA¸¦ ºñ±³ÇÑ À¥ÆäÁö¸¦ ¸¸µé¾ú½À´Ï´Ù.


1.10. ¹®¼­

1.10.1. man page

Å¥¸ÞÀϹèÆ÷ÆÇÀº man page¸¦ ¿ÏºñÇß½À´Ï´Ù. ¼³Ä¡Çϸé /var/qmail/man¿¡ ³õÀÔ´Ï´Ù. MANPATH ȯ°æº¯¼ö¿¡ ±× µð·ºÅ丮¸¦ Ãß°¡ÇØ¾ß ÇÒÁöµµ ¸ð¸¨´Ï´Ù.

표 2. Å¥¸ÞÀÏ ¸ÇÆäÀÌÁö

Shell Command
Bourne (/bin/sh) MANPATH=$MANPATH:/var/qmail/man; export MANPATH
bash, Korn export MANPATH=$MANPATH:/var/qmail/man
C Shell setenv MANPATH $MANPATH:/var/qmail/man

±×·¯¸é, "man qmailÇ׸ñ"À̶ó°í Çϸé ÇØ´ç man page¸¦ º¸¿©ÁÝ´Ï´Ù.

http://www.qmail.org/man/index.html¿¡¼­ HTMLÇü½ÄÀ¸·Î ¿Â¶óÀλ󿡼­µµ man page¸¦ Âü°íÇÒ ¼ö ÀÖ½À´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: Å¥¸ÞÀÏÀÇ man page¿¡´Â ºÐ¸í Á¤º¸°¡ ´ã°Ü ÀÖÁö¸¸, ÇÔÃàµÇ°í µüµüÇÑ Çü½ÄÀ¸·Î ¾²¿© ÀÖÀ¸¹Ç·Î ²Ä²ÄÇÏ°Ô ÀÐÀ¸¼Å¾ß ÇÕ´Ï´Ù. ÇÑ ºÎ¸¦ ÀμâÇÏ¿© Âß ÀÐ°í ¹«¾ùÀÌ ¾îµð¿¡ ÀÖ´ÂÁö ¹Ì¸® ÆľÇÇسõ¾Æ¾ß ÆíÇÕ´Ï´Ù. ¿©·¯ ÀåÀ̳ª µÇÁö¸¸ °°Àº ³»¿ëÀº °ÅÀÇ µÇÇ®À̵ÇÁö ¾ÊÀ¸¹Ç·Î, ¾îµð¿¡ ¹«¾ùÀÌ ÀÖ´ÂÁö ¾ËÁö ¸øÇÏ¸é ¿øÇÏ´Â °ÍÀ» ã±â Èûµì´Ï´Ù.

-------------------------------------------------------------


1.10.2. Docs

Å¥¸ÞÀÏ ¹èÆ÷ÆÇÀº /var/qmail/doc¿¡ ´ÙÀ½ ¹®¼­µéÀ» ¼³Ä¡ÇÏ¿© Á¦°øÇÕ´Ï´Ù.

  • FAQ : Frequently Asked Questions (´ä°ú ÇÔ²²)

  • INSTALL*: ¼³Ä¡¹®¼­

  • PIC.* : Å¥¸ÞÀÏÀÇ Çٽɱâ´É¹æ¹ýÀ» ¼³¸í. ´õ ÀÌ»óÀÇ ¼³¸íÀº ±¸Á¶ºÎ·ÏÀÇ »çÁøÇ׸ñÀ» º¸½Ê½Ã¿À.

  • ¼³Ä¡°ü·ÃÇÑ ±âŸ ´Ù¾çÇÑ ¹®¼­

ÀÌ ¹®¼­µéÀ» ¾Æ·¡ ÁÖ¼Ò¿¡¼­ ¿Â¶óÀÎÀ¸·Îµµ º¸½Ç ¼ö ÀÖ½À´Ï´Ù.


1.10.3. FAQ

´ÙÀ½¿¡ °ø½Ä FAQ°¡ µÎ°³ ÀÖ½À´Ï´Ù.

  • /var/qmail/doc/FAQ: ÀÏ¹Ý ÅؽºÆ®ÆÇ,

  • web FAQ

web FAQ°¡ ´õ Ãæ½ÇÇÕ´Ï´Ù.


1.10.4. å

1.10.4.1. The qmail Handbook

Å¥¸ÞÀÏ°ú»îÀÇ ÀúÀÚÀÎ Dave SillÀÌ ApressÃâÆǻ翡¼­ Å¥¸ÞÀÏ¿¡ ´ëÇÑ Ã¥À» ³Â´Âµ¥ 2001³â 10¿ù 21ÀÏ¿¡ ±¸ÀÔ°¡´ÉÇÕ´Ï´Ù. ÀÌ qmail HandbookÀ̶õ Ã¥Àº º» °¡À̵忡 ÀÖ´Â ³»¿ë ¸ðµÎ¸¦ ´Ù·ç°í, ´õ ±í°í »õ·Î¿î ³»¿ëµµ ´ã°í ÀÖ½À´Ï´Ù.

´õ ¾Ë°í ½ÍÀ¸½Ã¸é ¿ä±â¸¦ º¸½Ã°í, ¹Ì¸®ÁÖ¹®ÇϽ÷Á¸é ¿ä±â³ª ¿©±â¸¦ º¸½Ê½Ã¿À.


1.10.4.2. qmail

John Levine ²²¼­ O'Reilly & AssociatesÃâÆǻ翡¼­ qmailÀ̶õ Ã¥À» ¾²°í °è½Ã°í ¿ÃÇظ»Âë¿¡ ±¸ÀÔ°¡´ÉÇÕ´Ï´Ù. O'Reilly´Â ÄÄÇ»ÅÍ°ü·ÃÃâÆÇ¿¡¼­´Â Ź¿ùÇÑ ¸í¼ºÀ» °®°í ÀÖ½À´Ï´Ù.


1.10.4.3. Running qmail

Richard Blum²²¼­ Running qmailÀ» ¾²¼Ì°í, SamsÃâÆǻ翡¼­ Ãâ°£µÇ¾ú½À´Ï´Ù. ÀÌ Ã¥Àº Å¥¸ÞÀϸÞÀϸµ¸®½ºÆ®¿¡¼­ ´Ù¾çÇÑ Æò°¡¸¦ ¹Þ¾Ò½À´Ï´Ù.

´õ ¾Ë°í ½ÍÀ¸½Ã°Å³ª ÁÖ¹®ÇϽ÷Á¸é ¿ä±â¸¦ º¸½Ê½Ã¿À.


1.10.5. ¸ÞÀϸµ¸®½ºÆ® ¾ÆÄ«À̺ê

Dan BernsteinÀÌ À¯ÁöÇϴ ť¸ÞÀÏÀÇ À̸ÞÀÏ ¸ÞÀϸµ¸®½ºÆ®´Â ±ÍÁßÇÑ Á¤º¸¼Ò½ºÀÔ´Ï´Ù. ¸ÞÀϸµ¸®½ºÆ® ¸Þ¼¼ÁöÀÇ ¾ÆÄ«À̺ê´Â http://www.ornl.gov/its/archives/mailing-lists/qmail/¿¡ º¸°üµË´Ï´Ù.

±× ¾ÆÄ«À̺꿡 ´ëÇÑ ¼­Ä¡¿£ÁøÀº http://www-archive.ornl.gov:8000/¿¡ ÀÖ½À´Ï´Ù.

±âŸ web ¾ÆÄ«À̺ê´Â ´ÙÀ½¿¡¼­ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù.

Å¥¸ÞÀÏ¿¡ °üÇÑ ´ëºÎºÐÀÇ Áú¹®Àº ¸ÕÀú ¸ÞÀϸµ¸®½ºÆ® ¾ÆÄ«À̺긦 µÚÁö¸é ´äÀ» ¾òÀ» ¼ö ÀÖ½À´Ï´Ù.


1.10.6. ±âŸ À¥»çÀÌÆ®


1.11. Áö¿ø

1.11.1. ¸ÞÀϸµ¸®½ºÆ®

´ÙÀ½ ¸ÞÀϸµ¸®½ºÆ®´Â cr.yp.to¿¡ ÀÖ½À´Ï´Ù. ½ºÆиӰ¡ À̸ÞÀÏÁÖ¼Ò¸¦ °ÅµÎÁö ¸øÇÏ°Ô ÇÏ·Á°í ¿ÏÀüÇÏ°í À¯È¿ÇÑ ÁÖ¼Ò¿Í "mailto" URLÀ» ¾²Áö ¾Ê½À´Ï´Ù.

¸ÞÀϸµ¸®½ºÆ®´Â ezmlmÀ¸·Î °ü¸®Çϴµ¥, ÁÖ¼Òº°·Î °¢°¢ÀÇ ±â´ÉÀ» ´ã´çÇÕ´Ï´Ù.

  • listname(at)list.cr.yp.to: ¸Þ¼¼Áö¼ÛºÎÁּҷμ­ ¿©±â·Î ¸Þ¼¼Áö¸¦ º¸³»½Ã¸é ¸ðµç °¡ÀÔÀÚ¿¡°Ô º¸³»Áý´Ï´Ù. °¡ÀÔ/°¡ÀÔÇØÁ¦ ½ÅûÀ» À̸®·Î ÇÏ¸é ¾ÈµÇ´Âµ¥, ±×·¯¸é °¡ÀÔ(ÇØÁ¦)°¡ µÇÁöµµ ¾ÊÀ» »Ó¸¸ ¾Æ´Ï¶ó, °¡ÀÔÀÚµéÀ» ¼º°¡½Ã°Ô Çϱ⠶§¹®ÀÔ´Ï´Ù.

  • listname-help(at)list.cr.yp.to: "help"ÁÖ¼ÒÀÔ´Ï´Ù. ¸í·ÉÁÖ¼Ò¿Í ÀϹݻç¿ëÁ¤º¸¸¦ º¸³»µå¸³´Ï´Ù.

  • listname-subscribe(at)list.cr.yp.to: ºó ¸Þ¼¼Áö¸¦ À̸®·Î º¸³»¸é °¡ÀԵ˴ϴÙ.

  • listname-unsubscribe(at)list.cr.yp.to: ºó ¸Þ¼¼Áö¸¦ À̸®·Î º¸³»¸é °¡ÀÔÇØÁ¦µË´Ï´Ù.

¿¹·Î¼­ joe@example.com¿Í °°ÀÌ °¡ÀÔ(ÇØÁ¦)ÁÖ¼Ò¸¦ ÀûÀ¸½Ã·Á¸é ´ÙÀ½°ú °°ÀÌ ÁÖ¼Ò¸¦ ¸¸µé¾î º¸³À´Ï´Ù.

listname-subscribe-joe=example.com@list.cr.yp.to


1.11.1.1. Å¥¸ÞÀÏ

ÁÖ¿ä Å¥¸ÞÀÏ ¸ÞÀϸµ¸®½ºÆ®. serialmailÀ» »©°í´Â Å¥¸ÞÀÏ¿¡ °ü·ÃµÈ ¸ðµç°Í¿¡ °üÇÑ Åä·Ð°ú Áú¹®°ú ´ë´ä. Áú¹®À» º¸³»½Ã±â Àü¿¡ FAQ¸¦ ÀÐÀ¸½Ã°í, ¸ÞÀϸµ¸®½ºÆ®¾ÆÄ«À̺긦 µÚÁö½Ã±â ¹Ù¶ø´Ï´Ù. Áú¹®À» ÇϽǶ§¿¡´Â ´Ù¸¥ »ç¶÷ÀÌ ´äÇØÁÙ ¼ö ÀÖµµ·Ï ´ÙÀ½°ú °°Àº ÃæºÐÇÑ ³»¿ªÀ» Æ÷ÇÔÇϽñ⠹ٶø´Ï´Ù.

  • ¹«¾ùÀ» Çϼ̽À´Ï±î? ¼³Á¤À» ¾î¶»°Ô Çϼ̽À´Ï±î? ¹«¾ùÀÌ Áß¿äÇÑ Áö ¸ð¸£½Ã¸é qmail-showctl¸í·ÉÀÇ °á°ú¹°À» Æ÷ÇÔÇϽʽÿÀ. ¹«½¼ ÇൿÀ» Çϼ̽À´Ï±î?

  • ¹«¾ùÀÌ ÀϾ±æ ¹Ù¶ó¼Ì½À´Ï±î? ¹«½¼ °á°ú¸¦ ¾òÀ¸·Á°í Çϼ̽À´Ï±î? Àд ºÐÀÌ ÃßÃøÇؼ­ ¾Ë¾Æ³»¸®¶ó°í´Â »ý°¢Áö ¸¶½Ê½Ã¿À.

  • ¹«½¼ÀÏÀÌ ÀϾ½À´Ï±î? ½ÇÁ¦ °á°ú¸¦ ¼³¸íÇϽʽÿÀ. ·Î±×ÆÄÀÏÀ» Àß¶ó¼­ Æ÷ÇÔÇϽðí, ¸Þ¼¼Áö»çº»À» Çì´õ¿Í ÇÔ²² Æ÷ÇÔÇϽʽÿÀ.


1.11.1.2. qmailannounce

»õ·Î¿î °øÁö»çÇ×Àº ¿©±â¿¡ °øÇ¥µË´Ï´Ù. °¡ÀÔ½ÅûÁÖ¼Ò´Â ¾ø°í, ÀбâÀü¿ëÀÔ´Ï´Ù.


1.11.1.3. serialmail

serialmail ÆÐÄÉÁö°ü·Ã Åä·ÐÀÔ´Ï´Ù.


1.11.1.4. ezmlm

ezmlm ¸ÞÀϸµ¸®½ºÆ® °ü¸®¿¡ ´ëÇÑ Åä·ÐÀÔ´Ï´Ù.


1.11.2. »ó´ã¿ª

http://www.qmail.org/top.html#paidsup¸¦ º¸½Ã¸é »ó¿ë Áö¿ø Á¦°øÀÚ¸í´ÜÀÌ ÀÖ½À´Ï´Ù.


1.12. FAQTS Áö½Ä±âÁö

Å¥¸ÞÀÏ°ü·Ã ÁúÀÇÀÀ´äÀº http://qmail.faqts.com¿¡ ÀÖ½À´Ï´Ù. FAQ¿¡¼­µµ ´äÇØÁÖÁö ¾Ê´Â Áú¹®Àº ÀÌ Áö½Ä±âÁö¸¦ °Ë»öÇغ¸¼¼¿ä. "how to" ·ù Áú¹®ÀÇ ´äÀ» ã´Â µ¥ ƯÈ÷ ÁÁ½À´Ï´Ù.


2. ¼³Ä¡

Å¥¸ÞÀÏÀÇ ¼³Ä¡¸¦ ¼³¸íÇÕ´Ï´Ù. °æÇèÀÌ ÀÖ´Â ½Ã½ºÅÛ ¾îµå¹ÎÀº ¼Ò½º¹èÆ÷ÆÇ¿¡ ÀÖ´Â INSTALLÀÇ Áö½Ã»çÇ×À» µû¶ó¼­ Å¥¸ÞÀÏÀ» ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. INSTALL¿¡ ¾²ÀÎ Áö½Ã»çÇ×Àº °ø½Ä ¼³Ä¡Áö½Ã»çÇ×ÀÔ´Ï´Ù. ±×°ÍÀº º»¹®¼­ÀÎ lwqÀÇ Áö½Ã»çÇ׺¸´Ù º¹ÀâÇÏ°í, Àд »ç¶÷ÀÌ °æÇèÀÖ´Â ½Ã½ºÅÛ¾Öµå¹Î°ú ¸ÞÀϾֵå¹ÎÀ̶ó°í ¿©±é´Ï´Ù. ¶ÇÇÑ ±×°ÍÀº ¿¾³¯ °ÍÀ̶ó BernsteinÀÌ ÇöÀç ±ÇÀåÇÏ´Â ¹æ¹ýµéÀ» ¹Ý¿µÇÏÁö ¾Ê±âµµ ÇÕ´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: ´ÙÀ½ÀÇ Áö½Ã»çÇ×À» ÀÐÀ¸½Ç¶§ Çϳªµµ »©Áö¸»°í Àо Àüü°úÁ¤À» ÀÍÈ÷½Ã±â ¹Ù¶ø´Ï´Ù.

-------------------------------------------------------------


2.1. ¼³Ä¡ ³íÀÇ

2.1.1. ¹ÙÀ̳ʸ® ´ë ¼Ò½ºÄÚµå

¹Ì¸®ÄÄÆÄÀÏµÈ ¹èÆ÷ÆÇ°ü·Ã »ç¿ëÇã°¡ÀÇ Á¦¾à¶§¹®¿¡, Å¥¸ÞÀÏÀº º¸Åë ¼Ò½ºÄÚµå ¹èÆ÷ÆÇÀ¸·Î ¼³Ä¡ÇÕ´Ï´Ù.

¼Ò½ºÄÚµå¿Í ¹ÙÀ̳ʸ®¸¦ ±¸ºÐÇϱ⠾î·Æ´Ù¸é, ÁýÀ¸·Î ÇÇÀÚ¸¦ ¹è´ÞÇÑ´Ù°í °¡Á¤ÇϽʽÿÀ. ¹ÙÀ̳ʸ® ¹öÀü ÇÇÀÚ´Â Áï½Ã ¸ÔÀ» ¼ö ÀÖ°Ô ¹è´ÞµË´Ï´Ù. ¼Ò½ºÄÚµåÇÇÀÚ´Â ¹Ð°¡·ç, È¿¸ð, Ä¡Áî, ÅäÇÎ, ±×¸®°í ¿ä¸®¹æ¹ý µîÀ» Æ÷ÇÔÇÑ ÀåºñÀÏü·Î ¹è´ÞµË´Ï´Ù. ¼Ò½ºÄڵ弳ġ´Â ÀÏÀ» Á»´õ ¸¹ÀÌ ÇØ¾ß ÇÏÁö¸¸, Áö½Ã»çÇ×À» öÀúÇÏ°Ô µû¸£¸é, ±× °á°ú´Â °°°Å³ª ´õ ÁÁ½À´Ï´Ù. Á÷Á¢ ¸¸µé¾î ¸Ô´Â ÇÇÀÚ´Â ´õ ½Å¼±ÇÏ°í, ÁÁ¾ÆÇÏ´Â ÅäÇÎÀ» ¸ÂÃç¸ÔÀ» ¼ö ÀÖÀ¸¸ç, ÀÚ½ÅÀÌ ¸¸µç ÇÇÀÚ¿¡ ´ëÇØ, ±×°ÍÀÌ ¾î¶»°Ô ¸¸µé¾î Á³´ÂÁö¿¡ ´ëÇØ ´õ ¸¹ÀÌ ¾Ë ¼ö ÀÖ½À´Ï´Ù.


2.1.2. Tarball°ú ¿î¿µÃ¼Á¦º° ÆÐÅ°Áö

¼Ò½ºÄڵ弳ġ¸¦ ÀÚµ¿À¸·Î ÇÏ´Â ¹æ¹ýÀ» Á¦°øÇÏ´Â ¿î¿µÃ¼Á¦µµ ÀÖ½À´Ï´Ù. ÇÇÀÚ·Î ´Ù½Ã ºñÀ¯ÇÏÀÚ¸é, ´ÜÃ߸¸ ´©¸£¸é ÇÇÀÚ°¡ ÀúÀý·Î ±¸¿öÁöµµ·Ï Àç·á¿Í Áö½Ã»çÇ×À» ÆÐÅ°ÁöÇÏ´Â °ÍÀÔ´Ï´Ù.

ÈǸ¢ÇÏÁö ¾Ê½À´Ï±î?

½ÇÁ¦·Î´Â ±×·¸°Ô ÁÁÁö¸¸Àº ¾ÊÀº ¹æ¹ýÀÔ´Ï´Ù. ÆÐÅ°Áö·Î ¹­±â°¡ ¸Å¿ì Èûµé°í, »ý°¢´ë·Î ¿òÁ÷ÀÌÁö ¾ÊÀ» ¼ö°¡ ÀÖ½À´Ï´Ù. ¶ÇÇÑ ±×°Íµµ ¼ÒÇÁÆ®¿þ¾îÀ̹ǷÎ, ´Ù¸¥ ¼ÒÇÁÆ®¿þ¾î¿Í ¸¶Âù°¡Áö·Î ¹ö±×°¡ ÀÖÀ» ¼öµµ ÀÖ½À´Ï´Ù. ¹ö±×°¡ ¾ø´õ¶óµµ, ±× Æí¸®ÇÔÀº ±×¸¸ÇÑ ´ë°¡¸¦ Ä¡·ç°Ô µË´Ï´Ù. ½º½º·Î ¸¸µé¾îº¸´Â ÇÇÀÚÀÇ ÀÌÁ¡ÀÎ ÀÚ½ÅÀÇ ±âÈ£¿¡ ¸ÂÃç¼­ ÅäÇÎÀ» Á¶Á¤ÇÏ°í, ÇÇÀÚ°¡ ¾î¶»°Ô ¸¸µé¾îÁö°í, ¾î¶»°Ô ÀÛ¿ëÇÏ´ÂÁö µîÀ» ÀÒ°Ô µË´Ï´Ù.

Å¥¸ÞÀÏÀÌ ÇÇÀÚ¶ó¸é, ÀÚµ¿ÄÄÆÄÀÏÀÌ ¿ÇÀº ¹æ¹ýÀÏ ¼öµµ ÀÖ½À´Ï´Ù. ±×·¯³ª, Å¥¸ÞÀÏÀº ÇÇÀÚ°¡ ¾Æ´Ï°í, ¸Å¿ì º¹ÀâÇÑ ½Ã½ºÅÛÀÔ´Ï´Ù. Å¥¸ÞÀÏÀ» Àß ¿î¿µÇÏ·Á¸é ¼³Ä¡ÀÚ¿Í °ü¸®ÀÚ´Â ÀÌ ¼ÒÇÁÆ®¿þ¾î¸¦ Àß ÀÌÇØÇØ¾ß ÇÕ´Ï´Ù. ÀÚµ¿¼³Ä¡ Å¥¸ÞÀÏÀÌ ¼öµ¿¼³Ä¡ÆǺ¸´Ù ¼³Ä¡Çϱ⿡ ½±½À´Ï´Ù¸¸, ¼öµ¿¼³Ä¡ÆÇÀÌ ¼³Á¤ÇÏ°í ¹®Á¦Á¡À» ÇØ°áÇÏ´Â µ¥ ½±½À´Ï´Ù. ½Ã½ºÅÛ¿¡ Å¥¸ÞÀÏÀ» ¼³Ä¡ÇÏ´Â °ÍÀº Çѹø¸¸ ÇÏ´Â ÀÛ¾÷ÀÌÁö¸¸, Å¥¸ÞÀÏÀ» Àç¼³Á¤Çϰųª, »ý°¢´ë·Î µÇÁö ¾Ê´Â ÀÌÀ¯¸¦ ÆľÇÇØ¾ß ÇÏ´Â °æ¿ì´Â ¿©·¯ Â÷·ÊÀÏ °ÍÀÔ´Ï´Ù.

ÀÌ·± ÀÌÀ¯·Î Àú´Â Å¥¸ÞÀÏÀ» RedHat RPMÀ̳ª ±âŸ ÀÚµ¿¼³Ä¡¹øµéÀÌ ¾Æ´Ñ ¼Ò½ºÅ©µå tarball·Î ¼³Ä¡ÇϽø¦ ±ÇÇÕ´Ï´Ù.


2.2. Áغñ

Å¥¸ÞÀÏÀ» ½Ã½ºÅÛ¿¡ ¼³Ä¡Çϱâ Àü¿¡, ƯÈ÷ Å¥¸ÞÀÏ ¼³Ä¡°¡ óÀ½À̶ó¸é, ¸î°¡Áö °í·ÁÇÒ »çÇ×ÀÌ ÀÖ½À´Ï´Ù.

  • °¡´ÉÇϸé Å¥¸ÞÀÏÀ» ¿¬½À½Ã½ºÅÛ¿¡ ¼³Ä¡ÇϽʽÿÀ. ÀÌ·¡¾ß Áß¿ä¸ÞÀÏÀ» ÀÒÁö ¾Ê°í, ¶Ç´Â »ç¿ëÀڵ鿡°Ô ¸ÞÀϼ­ºñ½º¸¦ ´ÜÀýÇÏÁö ¾Ê°íµµ ½Ç¼öÇغ¼ ±âȸ°¡ »ý±é´Ï´Ù.

  • ¿©ºÐ½Ã½ºÅÛÀÌ ¾ø°Å³ª ½Ã½ºÅÛ¿¡ ÀÌ¹Ì sendmail, smailÀ̳ª ±âŸ MTA µîÀ» ¿î¿µÇÏ¿© ¸ÞÀÏÀÌ Ã³¸®µÇ°í ÀÖ´Ù°í Çصµ, ±âÁ¸¼­ºñ½º¿Í Ãæµ¹ÇÏÁö ¾ÊÀ¸¸é¼­ Å¥¸ÞÀÏÀÇ ´ëºÎºÐÀ» ½ÃÇèÇÒ ¼ö ÀÖ½À´Ï´Ù.

  • ´Ù¸¥ MTA¸¦ Å¥¸ÞÀÏ·Î ´ëüÇÒ ¶§, Å¥¸ÞÀÏÀÇ °æÇèÀÌ ¸¹´õ¶óµµ, °èȹÀ» ¼¼¿ö¾ß ÁÁ½À´Ï´Ù.


2.3. ½Ã½ºÅÛ ¿ä±¸»çÇ×

Å¥¸ÞÀÏÀº ´ëºÎºÐÀÇ À¯´Ð½º¿Í À¯´Ð½º·ù ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ°í ¿î¿µµË´Ï´Ù¸¸ ¸î°¡Áö ¿ä±¸»çÇ×ÀÌ ÀÖ½À´Ï´Ù.

  • ÄÄÆÄÀϵ¿¾È ÄÄÆÄÀÏÇÏ´Â °ø°£¿¡ ¾à 10¸Þ°¡ ¹ÙÀÌÆ®ÀÇ ¿©À¯°ø°£. ÄÄÆÄÀÏÈÄ ¿ÉÁ§Æ®ÆÄÀÏÀ» Á¦°ÅÇϸé 4¸Þ°¡¸¸ ³²½À´Ï´Ù.

  • ÄÄÆÄÀÏ·¯, ½Ã½ºÅÛÇì´õÆÄÀÏ, ±×¸®°í ¶óÀ̺귯¸® µîÀ» Æ÷ÇÔÇÏ´Â ¿ÏÀüÇÑ C °³¹ß½Ã½ºÅÛ. ÄÄÆÄÀÏÁö½Ã»çÇ×Àº ÇÊ¿äÇÑ ºÎºÐÀÌ ÀÖÀ¸¸é ¾Ë·ÁÁÝ´Ï´Ù.

  • ¹ÙÀ̳ʸ®, ¹®¼­, ±×¸®°í ¼³Á¤ µîÀÇ ÆÄÀÏ¿¡ ´ëÇØ 2-3¸Þ°¡ ¹ÙÀÌÆ® °ø°£.

  • Å¥¸¦ À§ÇÑ ÃæºÐÇÑ µð½ºÅ©°ø°£. ¼Ò±Ô¸ð ´ÜÀÏ»ç¿ëÀÚ ½Ã½ºÅÛÀº 2-3¸Þ°¡ ¹ÙÀÌÆ®¸¸ ÀÖÀ¸¸é µË´Ï´Ù. ´ë¿ë·® ¼­¹ö´Â 2-3 ±â°¡ ¹ÙÀÌÆ®°¡ ÀÖ¾î¾ß µÉÁöµµ ¸ð¸¨´Ï´Ù.

  • ȣȯ ¿î¿µ ½Ã½ºÅÛ. ´ëºÎºÐÀÇ À¯´Ð½ºÁ¾Àº µË´Ï´Ù. ¼Ò½ºÆ®¸®ÀÇ README¸¦ º¸¸é ȣȯÆÇÀÇ ¸®½ºÆ®°¡ ÀÖ½À´Ï´Ù.

  • DNS·ÎÀÇ Á¢±ÙÀ» °­·ÂÈ÷ ±ÇÀåÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é Å¥¸ÞÀÏÀº smtproutesÀÇ config ÆÄÀÏ¿¡ ¼³Á¤µÈ ¿ø°Ý½Ã½ºÅÛÀ¸·Î¸¸ º¸³À´Ï´Ù.

  • ÀûÀýÇÑ ³Ý¿÷ ¿¬°á. Å¥¸ÞÀÏÀº Àß ¿¬°áµÈ ½Ã½ºÅÛ¿¡ ´ëÇØ ¼³°èµÇ¾î¼­ 28.8k ´ÙÀ̾ó¾÷¿¡¼­ ¸ÞÀϸµ¸®½ºÆ®¸¦ »ç¿ëÇÏ°í ½ÍÁö ¾ÊÀ»Áöµµ ¸ð¸¨´Ï´Ù. Å¥¸ÞÀÏÀ» ¿¬°áÀÌ ³ª»Û ½Ã½ºÅÛ¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ÇÏ·Á°í serialmail ÆÐÅ°Áö°¡ ¼³°èµÇ¾ú½À´Ï´Ù. ´õ ¸¹Àº Á¤º¸´Â °ü·ÃÆÐÅ°Áö ºÎ·ÏÀÇ ½Ã¸®¾ó¸ÞÀÏÇ׸ñ À» º¸½Ã¸é µË´Ï´Ù.


2.4. ¼Ò½º¸¦ ¹ÞÀ¸½Ê½Ã¿À.

¿À¿ìÄÉÀÌ, ÀÌÁ¦ Å¥¸ÞÀÏÀ» ¼³Ä¡ÇÒ ¼ö ÀÖµµ·Ï ÇÊ¿ä»çÇ׿¡ ¸Â´Â ½Ã½ºÅÛÀ» ÁغñÇϼ̱º¿ä. ù¹ø° ´Ü°è´Â Å¥¸ÞÀÏ°ú ´Ù¸¥ ¾Ü¿ÂÀÇ ¼Ò½ºÄڵ带 ´Ù¿î·ÎµåÇÏ´Â °ÍÀÔ´Ï´Ù. Å¥¸ÞÀÏÀº ´ç¿¬È÷ ÇÊ¿äÇÏ°í¿ä, ucspi-tcp¿Í daemontoolsµµ ÇÊ¿äÇÒ °ÍÀÔ´Ï´Ù.

À¥ºê¶ó¿ìÀú³ª FTP Ŭ¶óÀ̾ðÆ®¸¦ ÀÌ¿ëÇؼ­ ÀÌ ÆÄÀϵéÀ» °¡Á®¿À¼¼¿ä.

-------------------------------------------------------------

À¯ÀÇÁ¡: À§ÀÇ ¿¬°áÀÌ À¯È¿ÇÏÁö ¾Ê´Ù¸é, ÇØ´ç ÆÐÅ°Áö°¡ ¾÷µ¥ÀյǾúÀ» ¼öµµ ÀÖ½À´Ï´Ù. http://cr.yp.to/software.html¿¡ °¡¼Å¼­ ÇöÀçÆÇÀ» ¹ÞÀ¸¼¼¿ä. ¾÷±×·¹À̵åÆÇÀº ´ÙÀ½ÀÇ ¼³Ä¡¼³¸í°ú Ʋ¸± ¼öµµ ÀÖÀ¸´Ï±î, "Upgrading from previous versions..."ÀÇ release notes¸¦ ÂüÁ¶Çϼ¼¿ä.

-------------------------------------------------------------


2.5. ¼Ò½º¸¦ ÄÄÆÄÀÏÇϼ¼¿ä.

2.5.1. ÄÄÆÄÀÏȯ°æÀ» °ËÁõÇϼ¼¿ä.

ù¹ø° ÇÒÀÏÀº ÇÁ·Î±×·¥À» ÄÄÆÄÀÏÇϱ⿡ ÇÊ¿äÇÑ ÅøÀ» °®Ãß¾ú´Â Áö È®ÀÎÇÕ´Ï´Ù. ÀÌ°ÍÀº »ç¿ëÇÏ´Â À¯´Ð½ºÁ¾·ù¿¡ µû¸¨´Ï´Ù. ¸»¾¸µå¸± ¼ö ÀÖ´Â °¡Àå ½¬¿î ¹æ¹ýÀº, º¸ÀåµÇÁö´Â ¾ÊÁö¸¸, Çغ¸´Â °Ì´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: À̰͵éÁß Çϳª¶óµµ Åë°úÇϸé, ´ÙÀ½ Ç׸ñÀ¸·Î ³Ñ¾î°¡¼Åµµ µË´Ï´Ù.

-------------------------------------------------------------

¸í·ÉÇàÇÁ·ÒÆ®¿¡¼­, cc¶ó ¾²°í, ¿£Å͸¦ ´©¸£¼¼¿ä: 

$ cc 
cc: No input files specified
$

´äÀÌ ºñ½ÁÇÏ°Ô ³ª¿À¸é, C ÄÄÆÄÀÏ·¯°¡ °æ·Î¿¡ ÀÖ´Â °ÍÀÔ´Ï´Ù. ±×·¸Áö ¾Ê´õ¶óµµ, ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê´Ù´Â °ÍÀº ¾Æ´Õ´Ï´Ù. ¼³Ä¡µÇ¾î ÀÖÀ» Áö ¸ð¸£Áö¸¸, °æ·Î¿¡ Æ÷ÇԵǾî ÀÖÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù. ¹°·Ð, ¼³Ä¡µÇ¾î ÀÖÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù. ÀÌ·¸°Ô Çغ¸¼¼¿ä.

  • /usr/bin/cc

  • /usr/bin/gcc

  • /usr/local/bin/cc

  • /usr/local/bin/gcc

  • /usr/ccs/bin/cc

¼Ò¿ëÀÌ ¾øÀ¸¸é, Ç÷§Æû Ư¼º¿¡ ¸Â´Â ¹æ¹ýÀ¸·Î ÇÏ¼Å¾ß ÇÕ´Ï´Ù. ÇÁ·ÒÇÁÆ®¿¡¼­ ´ÙÀ½ Áß Çϳª¸¦ ÇϽôµ¥, »ç¿ëÁßÀÎ OS¿¡ µû¸£¼Å¾ß ÇÕ´Ï´Ù.

  • Red Hat Linux: rpm -qa | grep gcc ¶Ç´Â rpm -qa | grep egcs

  • FreeBSD: GCC°¡ µðÆúÆ®·Î Æ÷ÇԵ˴ϴÙ.

À̹ø Ç׸ñ¿¡¼­´Â Å¥¸ÞÀÏÀ» ½ÇÁ¦·Î ÄÄÆÄÀÏÇÏ´Â ´Ü°è¸¦ °ÅĨ´Ï´Ù. ¿À·ÁºÙÀ̱Ⱑ °£ÆíÇÏÁö¸¸, ±×·¸°Ô ÇÊ¿äÇÏÁö´Â ¾Ê½À´Ï´Ù.


2.5.2. ¹èÆ÷ÆÇÀ» DZ´Ï´Ù.

¿©±â±îÁö ¿À¼ÌÀ¸¸é, ÀÌ¹Ì C ÄÄÆÄÀÏ·¯¿Í tarballÀ» ÁغñÇϽŠ°Ì´Ï´Ù. Ÿº¼À» ÀÛ¾÷ÇÏ½Ç µð·ºÅ丮·Î º¹»çÇϰųª ¿Å±â¼¼¿ä. qmail°ú ucspi-tcp´Â /usr/local/src°¡ ÁÁ°í, daemontools´Â /package·Î ÇÏ¼Å¾ß ÇÕ´Ï´Ù.

¾ÆÁ÷ ·çÆ®°¡ µÇÁö ¾ÊÀ¸¼ÌÀ¸¸é, ÀÌÁ¦ ·çÆ®°¡ µÇ¼Å¾ß ÇÕ´Ï´Ù.

su
umask 022
mkdir -p /usr/local/src
mv qmail-1.03.tar.gz ucspi-tcp-0.88.tar.gz /uar/local/src
mkdir -p /package
chmod 1755 /package
mv daemontools-0.76.tar.gz /package

ÀÌÁ¦ ÆÐÄÉÁöµéÀ» DZ´Ï´Ù.

cd /usr/local/src
gunzip qmail-1.03.tar.gz
tar xpf qmail-1.03.tar
gunzip ucspi-tcp-0.88.tar.gz
tar xpf ucspi-tcp-0.88.tar
rm *.tar	 # ¿©À¯°ø°£ÀÌ ¾øÀ» ¶§ ÇÏ´Â ¼±ÅûçÇ×
cd /package
gunzip daemontools-0.76.tar.gz
tar xpf daemontools-0.76.tar
rm *.tar         # ¼±ÅûçÇ×

/usr/local/src/qmail-1.03, /usr/local/src/ucspi-tcp-0.88, /package/admin/daemontools-0.76 µîÀÇ µð·ºÅ丮°¡ »ý±é´Ï´Ù. qmail-1.03 µð·ºÅ丮·Î °¡½Ã¸é ½ÃÀÛÇÏ°Ú½À´Ï´Ù.

cd /usr/local/src/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. ÄÄÆÄÀÏÀ» Çϼ¼¿ä.

ÀÌÁ¦ Å¥¸ÞÀÏÀ» ÄÄÆÄÀÏÀ» ½ÃÀÛÇϼŵµ µË´Ï´Ù.

ÄÄÆÄÀÏȯ°æÀ» °ËÁõÇÑ´ÙÇ׸ñ¿¡¼­, C ÄÄÆÄÀÏ·¯¸¦ ÁöÁ¤Çϼ̽À´Ï´Ù. ±×°ÍÀÌ cc°¡ ¾Æ´Ï°Å³ª µð·ºÅ丮°¡ 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

-------------------------------------------------------------

¿ªÀÚÁÖ: °øÀξÆÀÌÇÇÁÖ¼Ò°¡ ÀÖ´Â ºÐµéÀº À§ÀÇ config¸¸À¸·Î µÇ°ÚÁö¸¸, ÀüÈ­¼±À» ÀÌ¿ëÇÑ ´ÙÀ̾ó¾÷»ç¿ëÀÚ³ª ¿äÁò È°¹ßÇÑ ÄÉÀ̺í¸ðµ©À̳ª ADSL¸ðµ© µîÀ» ÀÌ¿ëÇÏ¿© À¯µ¿¾ÆÀÌÇǸ¦ ÀÌ¿ëÇϽô ºÐµéÀº config-fast¸¦ ÀÌ¿ëÇÏ½Ã¸é µË´Ï´Ù. ¿ì¼± config-fast localhost.localdomain À¸·Î ¼³Ä¡ÇϽŠ´ÙÀ½¿¡ ³ªÁß¿¡ ¼³¸íÇÏ´Â /var/qmail/control¿¡ ÀÖ´Â locals, me, rcpthost, virtualdomains µî¿¡ ¿øÇϽô ÀûÀýÇÑ µµ¸ÞÀγ×ÀÓÀ» ÀûÀ¸¸é À¯µ¿¾ÆÀÌÇÇ»ç¿ëÀÚ°¡ µ¿Àûµð¿£¿¡½º¸¦ ÀÌ¿ëÇؼ­ ¿ÜºÎ¿¡ ¿¬°áµÇ´Â À̸ÞÀϼ­¹ö¸¦ ¸¸µé ¼ö ÀÖ½À´Ï´Ù.

-------------------------------------------------------------

Å¥¸ÞÀÏÀÌ ½Ã½ºÅÛ¿¡ ¼³Ä¡µÇ¾î¼­ °¡µ¿µÉ Áغñ°¡ µÇ¾ú½À´Ï´Ù! ´ÙÀ½Ç׸ñÀº Å¥¸ÞÀÏÀ» °¡µ¿ÇÏ°í ½ÃÇèÇÏ´Â ´Ü°è¸¦ ¾È³»ÇÕ´Ï´Ù.


2.6. ucspi-tcp¸¦ ¼³Ä¡ÇÕ´Ï´Ù.

¸ÕÀú¹ø¿¡ qmail, ucspi-tcp, daemontools Ÿº¼À» Ç®¾ú½À´Ï´Ù. ¿¹Á¦¿¡¼­ ±×°ÍµéÀ» /usr/local/src/qmail¿¡ Ç®¾ú½À´Ï´Ù. ÀÚ ucpsi-tcpµð·ºÅ丮·Î ¿Å±é½Ã´Ù.

cd /usr/local/src/qmail/ucspi-tcp-0.88

'ÄÄÆÄÀÏÀ» Çϼ¼¿ä'Ç׸ñ¿¡¼­, conf-cc¿Í conf-ld¸¦ °íÄ¡¼ÌÀ¸¸é, ÀÌ µð·ºÅ丮¿¡¼­µµ ¶È°°ÀÌ ÇØÁÝ´Ï´Ù.

±×·±µÚ¿¡ ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ.

make
make setup check
ÀÌ°Í»ÓÀÔ´Ï´Ù. ucspi-tcp°¡ ¼³Ä¡µÇ¾ú½À´Ï´Ù.


2.7. daemontools¸¦ ¼³Ä¡ÇÕ´Ï´Ù.

daemontools ÄÄÆÄÀϵð·ºÅ丮·Î ÀÌÅëÇÕ´Ï´Ù.

cd /usr/local/src/qmail/daemontools-0.76

¶Ç Çѹø, conf-cc¿Í conf-ld¸¦ qmail°ú ucspi-tcp ÄÄÆÄÀϽà °íÃÆÀ¸¸é, ÀÌ µð·ºÅ丮¿¡¼­µµ ¶È°°ÀÌ ÇÕ´Ï´Ù.

±×¸®°í ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

package/install

(/etc/inittabÀÌ ¾ø´Â) BSD½Ã½ºÅ۵鿡¼­´Â ¿©±â¼­ ¸®º×À» Çؼ­ ÁÖ¼­ºñ½ºÅëÁ¦µ¥¸óÀÎ svscanÀ» ½Ãµ¿ÇØ¾ß ÇÕ´Ï´Ù.

"ps -ef | grep svscan" ¶Ç´Â "ps waux |grep svscan" À» Çϼż­ svscanÀÌ ÀÛµ¿ÇÏ´Â Áö »ìÆ캸¼¼¿ä.


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ÆÄÀÏÀÌ Àü´ÞÇÏÁö ¸øÇÏ´Â ¸Þ¼¼Áöµé¿¡ ´ëÇÑ ±âº»Àü´Þ¸ðµå¸¦ °áÁ¤ÇØ¾ß ÇÕ´Ï´Ù. ´ÙÀ½ÀÇ Å×ÀÌºí¿¡ ¸î°¡Áö °øÅë¼±ÅÃÀÌ °£·«È÷ ¿¹½ÃµÇ¾î ÀÖ½À´Ï´Ù.

표 3. °øÅë¼±ÅûçÇ×

Mailbox format Name Location defaultdelivery Comments
mbox Mailbox $HOME ./Mailbox °¡À帹À̾²ÀÌ°í, ´ëºÎºÐÀÇ MUA°¡ Áö¿øÇÔ
maildir Maildir $HOME ./Maildir/ ½Å·Úµµ°¡ ³ôÁö¸¸, Áö¿øÇÏ´Â MUA°¡ ÀûÀ½
mbox username /var/spool/mail See INSTALL.vsm ÀüÅëÀ¯´Ð½º¸ÞÀϺ¹½º

Á¤º¸¸¦ ´õ ¿øÇϽøé INSTALL.mbox, INSTALL.maildir, INSTALL.vsm µîÀ» º¸½Ê½Ã¿À.

±âº» ¸ÞÀϺ¹½º ÇüŸ¦ °í¸£½Ã·Á¸é, À§ÀÇ Å×À̺íÀÇ defaultdelivery °ªÀ» /var/qmail/control/defaultdelivery¿¡ Àû¾î³ÖÀ¸½Ê½Ã¿À.

¿¹) Ç¥ÁØ Å¥¸ÞÀÏ Mailbox Àü´ÞÀ» ¼±ÅÃÇϽ÷Á¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

echo ./Mailbox >/var/qmail/control/defaultdelivery

-------------------------------------------------------------

À¯ÀÇÁ¡: defaultdelivery´Â Ç¥ÁØ Å¥¸ÞÀÏ ÅëÁ¦ ÆÄÀÏÀÌ ¾Æ´Õ´Ï´Ù. À§ÀÇ /var/qmail/rcÆÄÀÏÀÇ Æ¯Â¡ÀÔ´Ï´Ù.

-------------------------------------------------------------

-------------------------------------------------------------

¿ªÀÚÁÖ: À§¿¡¼­ Ç¥ÁØ Å¥¸ÞÀÏ Mailbox¶ó ÇÔÀº, Å¥¸ÞÀϹèÆ÷ÆÇ¿¡ ÀÖ´Â ¼³Á¤ÆÄÀÏ¿¡´Â Mailbox°¡ ±âº»»çÇ×À¸·Î µÇÀֱ⠶§¹®ÀÔ´Ï´Ù. maildir¸¦ »ç¿ëÇϽ÷Á¸é ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ.

echo ./Maildir/ >/var/qmail/control/defaultdelivery

±×¸®°í »ç¿ëÀÚ¸¶´Ù, ¶Ç´Â ½Ã½ºÅÛ¾Öµå¹ÎÀÌ ´ë½Å, ´ÙÀ½°ú °°ÀÌÇؼ­ »ç¿ëÀÚȨµð·ºÅ丮¿¡ Maildir¸¦ ¸¸µì´Ï´Ù.

/var/qmail/bin/maildirmake $HOME/Maildir
echo ./Maildir/ > ~/.qmail

Å¥¸ÞÀÏ ¼³Ä¡°¡ ´Ù ³¡³ª°í, ½Ã½ºÅÛÀÌ ¸¾¿¡ µé¸é, ´ÙÀ½°ú °°ÀÌ Çؼ­ »ç¿ëÀÚ¸¦ »õ·Î µî·ÏÇÒ ¶§¸¶´Ù ÀÚµ¿À¸·Î ±× »ç¿ëÀÚ È¨¿¡ Maildir°¡ ¸¸µé¾îÁö°Ô ÇÕ´Ï´Ù.

/var/qmail/bin/maildirmake /etc/skel/Maildir
echo ./Maildir/ > /etc/skel/.qmail

-------------------------------------------------------------


2.8.2. ½Ã½ºÅÛ ±âµ¿ ÆÄÀÏ

2.8.2.1. qmailctl ½ºÅ©¸³Æ®

-------------------------------------------------------------

¿ªÀÚÁÖ: ¼³Ä¡°úÁ¤ÀÌ Á» Çê°¥¸±±îºÁ ¶Ç´Â º¹ÀâÇغ¸ÀÌ´Â ºÐµéÀ» À§Çؼ­ ¼³¸íÇÏ°Ú½À´Ï´Ù. Áö±Ý±îÁö Çؼ­ Å¥¸ÞÀÏ ±âº»¼³Ä¡´Â ´Ù µÇ¾ú½À´Ï´Ù. ÀÌÁ¦ºÎÅʹ ť¸ÞÀÏÀ» ±âµ¿, À¯Áö, ¿î¿µÇÏ´Â ¼³Á¤À» Çϴµ¥, ±× Áß½ÉÆÄÀÏÀÌ ¹Ù·Î´ÙÀ½ÀÇ qmailctl ÆÄÀÏÀÔ´Ï´Ù. qmailctl¿¡¼­ ´Ù·ç´Â tcpserver, svc, tcprules µîÀÇ ¸í·É¾î »ç¿ë¹ýÀ» ´«¿©°Ü º¸½Ã¸é µµ¿òÀÌ ¸¹ÀÌ µÇ°Ú½À´Ï´Ù.

-------------------------------------------------------------

/var/qmail/rc ½ºÅ©¸³Æ®¸¦ ¼öµ¿À¸·Î ½ÇÇàÇÏ¼Å¾ß Çϸé, Å¥¸ÞÀÏÀº ºÎºÐ°¡µ¿ÇÕ´Ï´Ù. ±×·¯³ª, ¿ì¸®´Â Å¥¸ÞÀÏÀÌ ½Ã½ºÅÛÀÌ ºÎÆÃÇÒ¶§¸¶´Ù ÀÚµ¿À¸·Î °¡µ¿Çϱ⸦ ¿øÇÏ°í, ½Ã½ºÅÛÀÌ Á¤ÁöÇÒ ¶§´Â ±ú²ýÇÏ°Ô ²¨Áö±â¸¦ ¿øÇÕ´Ï´Ù.

ÀÌ°ÍÀº startup/shutdown½ºÅ©¸³Æ®¸¦ ´ÙÀ½°ú °°ÀÌ ÀÛ¼ºÇÏ¸é µË´Ï´Ù.

#!/bin/sh
# For Red Hat chkconfig
# chkconfig: - 30 80
# description: the qmail MTA

PATH=/var/qmail/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
export PATH


QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`

case "$1" in
start)
echo "Starting qmail"
if svok /service/qmail-send ; then
svc -u /service/qmail-send
else
echo qmail-send service not running
fi
if svok /service/qmail-smtpd ; then
svc -u /service/qmail-smtpd
else
echo qmail-smtpd service not running
fi
if [ -d /var/lock/subsys ]; then
touch /var/lock/subsys/qmail
fi
;;
stop)
echo "Stopping qmail..."
echo "	qmail-smtpd"
svc -d /service/qmail-smtpd
echo "	qmail-send"
svc -d /service/qmail-send
if [ -f /var/lock/subsys/qmail ]; then
rm /var/lock/subsys/qmail
fi
;;
stat)
svstat /service/qmail-send
svstat /service/qmail-send/log
svstat /service/qmail-smtpd
svstat /service/qmail-smtpd/log
qmail-qstat
;;
doqueue|alrm|flush)
echo "Sending ALRM signal to qmail-send."
svc -a /service/qmail-send
;;
queue)
qmail-qstat
qmail-qread
;;
reload|hup)
echo "Sending HUP signal to qmail-send."
svc -h /service/qmail-send
;;
pause)
echo "Pausing qmail-send"
svc -p /service/qmail-send
echo "Pausing qmail-smtpd"
svc -p /service/qmail-smtpd
;;
cont)
echo "Continuing qmail-send"
svc -c /service/qmail-send
echo "Continuing qmail-smtpd"
svc -c /service/qmail-smtpd
;;
restart)
echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d /service/qmail-smtpd
echo "* Sending qmail-send SIGTERM and restarting."
svc -t /service/qmail-send
echo "* Restarting qmail-smtpd."
svc -u /service/qmail-smtpd
;;
cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp.cdb
echo "Reloaded /etc/tcp.smtp."
;;
help)
cat << HELP
stop -- stops mail service (smtp connections refused, nothing goes out)
start -- starts mail service (smtp connection accepted, mail can go out)
pause -- temporarily stops mail service (connections accepted, nothing leaves)
cont -- continues paused mail service
stat -- displays status of mail service
cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM & restarts it
doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery
reload -- sends qmail-send HUP, rereading locals and virtualdomains
queue -- shows status of queue
alrm -- same as doqueue
flush -- same as doqueue
hup -- same as reload
HELP
;;
*)
echo "Usage: $0 {start|stop|restart|doqueue|flush|reload|stat|pause|cont|cdb|queue|help}"
exit 1
;;
esac

exit 0

ÀÌ ½ºÅ©¸³Æ®´Â http://www.lifewithqmail.org/qmailctl-script-dt70¿¡¼­µµ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

¿¡µðÅÍ·Î ½ºÅ©¸³Æ®¸¦ ¸¸µé°Å³ª À¥ºê¶ó¿ìÀú·Î ´Ù¿î·Îµå (±ÇÀå»çÇ×)Çؼ­ ½Ã½ºÅÛÀÇ init.d µð·ºÅ丮¿¡ ¼³Ä¡ÇÏ´Â °úÁ¤À» ¼³¸íÇÏ°Ú½À´Ï´Ù.

¿ì¼±, ´ÙÀ½°°ÀÌ Çؼ­ /var/qmail/bin/qmailctl ·Î ¸¸µì´Ï´Ù.

¿¡µðÅ͸¦ ÀÌ¿ëÇؼ­ Á÷Á¢ ½ºÅ©¸³Æ®¸¦ ¸¸µé ¶§:

 
 vi /var/qmail/bin/qmailctl 
´Ù¿î·Îµå¹Þ¾Æ¼­ ¿Å±æ ¶§:
 
 cp ~/qmailctl-script-dt70 /var/qmail/bin/qmailctl 

´ÙÀ½À¸·Ð, ½Ã½ºÅÛÀÇ init.dµð·ºÅ丮¿¡ ¼³Ä¡ÇϽôµ¥, ´ÙÀ½°ú °°Àº Àå¼Ò°¡ µË´Ï´Ù.

  • /etc/init.d

  • /sbin/init.d

  • /etc/rc.d/init.d

ÇØ´ç rc µð·ºÅ丮°¡ /etc/init.d¶ó°í ÇÏ¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

ln -s /var/qmail/bin/qmailctl /etc/init.d/qmail

¸ðµç ½Ã½ºÅÛÀÌ ´ÙÀ½À» ÇàÇÏ¿© qmailctl ½ºÅ©¸³Æ®¸¦ ½ÇÇà°¡´ÉÇÏ°Ô ÇÏ°í, path¿¡ ¿¬°áÇÕ´Ï´Ù.

chmod 755 /var/qmail/bin/qmailctl
ln -s /var/qmail/bin/qmailctl /usr/bin

´ÙÀ½¿¡´Â ½ºÅ©¸³Æ®¸¦ ¸î°³ÀÇ rcµð·ºÅ丮¿¡ ¸µÅ©½ÃÅ°¼Å¾ß ÇÕ´Ï´Ù. ÀÌ µ¥·ºÅ丮µéÀº rcN.d°°ÀÌ µÇ¾îÀִµ¥, NÀº Àû¿ë runlevelÀÔ´Ï´Ù. ±âµ¿µð·ºÅ丮 ±¸Á¶°¡ º¹ÀâÇؼ­ º» ¹®¼­¿¡´Â ´Ù·çÁö ¾Ê½À´Ï´Ù. ±×·¯´Ï °£´ÜÇÑ Áö½Ã»çÇ×ÀÌ ¸¾¿¡ Â÷Áö ¾ÊÀ¸½Ã¸é ½Ã½ºÅÛ¹®¼­¸¦ ÂüÁ¶ÇϽʽÿÀ. rc µð·ºÅ丮´Â ´ÙÀ½Áß ÇϳªÀÏ °Ì´Ï´Ù.

  • /etc

  • /sbin

  • /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

-------------------------------------------------------------

¿ªÀÚÁÖ: µ¥ºñ¾È»ç¿ëÀÚµéÀº À§¿Í °°ÀÌ ÀÏÀÏÈ÷ ¸µÅ©¸¦ Á÷Á¢ ¸¸µé Áö ¾Ê°í, ´ÙÀ½ÀÇ ¸í·ÉÀ¸·Î Çѹø¿¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù.

update-rc.d qmail defaults
±×¸®°í, µ¥ºñ¾È»ç¿ëÀÚµéÁß¿¡¼­ eximÀ» »ç¿ëÇϽô ºÐÀÌ °è½Å´Ù¸é, ´ÙÀ½°ú °°ÀÌ eximÀÇ ¸µÅ©¸¦ ¾ø¾Ö°í, eximµµ Áö¿ó´Ï´Ù.
update-rc.d -f exim remove
rm /etc/init.d/exim
ÀÌ°ÍÀ¸·Î exim°ú´Â À̺°ÀÔ´Ï´Ù.

-------------------------------------------------------------

-------------------------------------------------------------

À¯ÀÇÁ¡: Àü´Ü°èÀÇ ¼ýÀÚ´Â ¸Å¿ì ½Ã½ºÅÛ¿¡ ÀÇÁ¸ÇÕ´Ï´Ù. ±×·¸Áö¸¸ ´Ù¼Ò À¯¿¬ÇÕ´Ï´Ù. SendmailÀÌ ÇöÀç ¼³Ä¡µÇ¾î ÀÖÀ¸¸é, "find RCDIR -name "*sendmail" -print" ¸í·ÉÀ» ½ÇÇàÇÏ¸é ½Ã½ºÅÛ¿¡ Àû¿ëÇÒ ¼ö ÀÖ´Â ¼ýÀÚ¸¦ ¾Ë·ÁÁÝ´Ï´Ù.

-------------------------------------------------------------

-------------------------------------------------------------

¿ªÀÚÁÖ: ¿ø¹®ÀÇ qmailctl ¼³Ä¡¼ø¼­°¡ Á» Çê°¥·Á¼­ Á¦°¡ Á¶Á¤ÇÏ¿´½À´Ï´Ù. ¿ø¹®´ëÁ¶ÈÄ ¶Ç´Â ¼³Ä¡ÈÄ¿¡ ´Ù¸¥ ÀÇ°ßÀÌ ÀÖÀ¸½Ã¸é ¾Ë·ÁÁֽʽÿÀ.

-------------------------------------------------------------


2.8.2.2. °¨µ¶ ½ºÅ©¸³Æ®µé

ÀÌÁ¦ Å¥¸ÞÀϼ­ºñ½º¸¦ À§ÇØ °¨µ¶µð·ºÅ丮¸¦ ¸¸µå½Ê½Ã¿À.

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`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
   -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

-------------------------------------------------------------

À¯ÀÇÁ¡: concurrencyincomingÀº Ç¥ÁØÅ¥¸ÞÀÏÅëÁ¦ÆÄÀÏÀÌ ¾Æ´Ï°í, À§ÀÇ ½ºÅ©¸³Æ®ÀÇ Æ¯Â¡ÀÔ´Ï´Ù.

-------------------------------------------------------------

-------------------------------------------------------------

À¯ÀÇÁ¡: Solaris¿¡¼­´Â id ÇÁ·Î±×·¥ÀÌ ÀÌ ½ºÅ©¸³Æ®ÇÏ°í ´Ù¸£¹Ç·Î, /usr/xpg4/bin/id ¸¸ ½á¼­ ´ÙÀ½°ú °°ÀÌ Àû¾î ³Ö½À´Ï´Ù.

QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild` 

-------------------------------------------------------------

-------------------------------------------------------------

À¯ÀÇÁ¡: softlimit ¸í·É¿¡¼­ Á¤ÇÑ ¸Þ¸ð¸®ÇÑ°è´Â ¿î¿µÃ¼Á¦¿Í Çϵå¿þ¾î Ç÷§Æû¿¡ µû¶ó¼­ ´õ ³ô¿©¾ß¸¸ ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. 25¹ø Æ÷Æ®¿¡ Á¢±ÙÇÏÁö ¸øÇϰųª, ¿ø°Ý½Ã½ºÅÛÀ¸·ÎºÎÅÍ À̸ÞÀÏÀ» ¸ø¹ÞÀ¸¸é 3000000 À̳ª 4000000 À¸·Î ³ô¿© º¸¼¼¿ä.

-------------------------------------------------------------

concurrencyincoming ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ ¸¸µì´Ï´Ù.

echo 20 > /var/qmail/control/concurrencyincoming
chmod 644 /var/qmail/control/concurrencyincoming

/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

³¡À¸·Î, °¨µ¶µð·ºÅ丮µéÀ» /service·Î ¿¬°áÇÕ´Ï´Ù.

ln -s /var/qmail/supervise/qmail-send /var/qmail/supervise/qmail-smtpd /service

-------------------------------------------------------------

À¯ÀÇÁ¡: ÀÌ·¸°Ô ¿¬°áµéÀ» ÇÏ°í ³ª¸é Å¥¸ÞÀϽýºÅÛÀÌ ÀÚµ¿½ÇÇàµË´Ï´Ù. ¾ÆÁ÷ °¡µ¿ÇÏ°í ½ÍÁö ¾ÊÀ¸¸é, ´ÙÀ½°ú °°ÀÌ Çϼ¼¿ä.

qmailctl stop

-------------------------------------------------------------


2.8.2.3. SMTP Á¢±Ù ÇÁ·ÎÅäÄÝ

·ÎÄÃÈ£½ºÆ®°¡ SMTP¸¦ ÅëÇؼ­ ¸ÞÀÏÀ» »ðÀÔ (inject)Çϵµ·Ï ÇÕ´Ï´Ù.

echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp	
qmailctl 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ÀÌ ¾Æ´Ï¸é, ÇØ´ç¹®¼­¿¡¼­ ¹Ù¸¥ ¸ØÃã ÀýÂ÷¸¦ Âü°íÇϽʽÿÀ.

-------------------------------------------------------------

¿ªÀÚÁÖ: µ¥ºñ¾È»ç¿ëÀÚ, ±×Áß¿¡¼­µµ eximÀ» »ç¿ëÇϽŴٸé, /etc/inetd.conf¿¡¼­ eximÀ» ã¾Æ¼­ ±× ÁÙÀÇ ¸Ç¾Õ¿¡ #Ç¥½Ã¸¦ ÇÏ¿© ÁÖ¼®Ã³¸®ÇÏ°í, /etc/init.d/ÀÇ eximÀ» ¾ø¾Ö¾ß ÇÕ´Ï´Ù.

-------------------------------------------------------------

½Ã½ºÅÛ¿¡¼­ ±âÁ¸ÀÇ 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 

-------------------------------------------------------------

À¯ÀÇÁ¡: ±âÁ¸ÇÏ´Â sendmailÀÌ ÀÖ´ø ¾ø´ø sendmail ¿¬°áÀ» ¸¸µé¾î¾ß ÇÕ´Ï´Ù. ¸¹Àº ÀÀ¿ëÇÁ·Î±×·¥µéÀÌ sendmailÀ» ÀÌ¿ëÇؼ­ À̸ÞÀÏÀ» º¸³»·Á°í Çϱ⠶§¹®ÀÔ´Ï´Ù.

-------------------------------------------------------------

³¡´Ü°è´Â ½Ã½ºÅÛ¾Ù¸®¾î½º¸¦ µÎ¾î°³ ¸¸µå´Â °ÍÀÔ´Ï´Ù.


2.8.4. ½Ã½ºÅÛ¾Ù¸®¾î½º¸¦ ¸¸µì´Ï´Ù.

¸ðµç Å¥¸ÞÀϼ³Ä¡¿¡¼­´Â ½Ã½ºÅÛ¾Ù¸®¾î½º¸¦ ¼¼°³ ¸¸µé¾î¾ß ÇÕ´Ï´Ù.

표 4. ¾Ù¸®¾î½ºµé

¾Ù¸®¾î½º ¸ñÀû
postmaster RFC2821 ¿ä±¸»çÇ×À̸ç, ¸ÞÀϾֵå¹Î (´ç½Å)À» °¡¸®Åµ´Ï´Ù.
mailer-daemon ¹Ù¿î½º¸ÞÀÏ¿¡ ´ëÇÑ »ç½Ç»óÀÇ Ç¥ÁؼöÃëÀÎ
root Ư±Ç°èÁ¤¿¡¼­ ¿Â ¸ÞÀÏÀ» ½Ã½ºÅÛ¾Öµå¹Î¿¡°Ô º¸³½´Ù.

ÀÌ ¾Ù¸®¾î½ºµéÀ» ¸¸µé·Á¸é, ±×°Íµé ÇϳªÇϳª°¡ ¾îµð¿¡ ³õ¿©Á®¾ß ÇÏ´Â Áö (·ÎÄûç¿ëÀÚ, ¶Ç´Â ¿ø°ÝÁÖ¼Ò) °áÁ¤ÇÏ°í, .qmailÆÄÀÏÀ» ¸¸µé¾î¼­ °®´Ù³õÀ¸¸é µË´Ï´Ù. ¿¹¸¦ µé¾î, ·ÎÄûç¿ëÀÚ dave´Â ½Ã½ºÅÛ°ú ¸ÞÀÏÀÇ ¾Öµå¹ÎÀ̶ó°í ÇÏ¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

echo dave > /var/qmail/alias/.qmail-root 
echo dave > /var/qmail/alias/.qmail-postmaster 
ln -s /var/qmail/alias/.qmail-postmaster
/var/qmail/alias/.qmail-mailer-daemon 
chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster

INSTALL.alias¿¡¼­ ´õ ÀÚ¼¼ÇÏ°Ô º¸¼¼¿ä.


2.8.5. Å¥¸ÞÀÏÀ» °¡µ¿ÇÕ´Ï´Ù.

/service¿¡ ¸µÅ©µéÀ» ¸¸µç ´ÙÀ½¿¡ Å¥¸ÞÀÏÀÇ °¡µ¿À» ÁßÁö½ÃÄ×´Ù¸é, Áö±Ý ´Ù½Ã °¡µ¿½ÃÄÑ¾ß ÇÕ´Ï´Ù.

qmailctl start


2.9. ¼³Ä¡¸¦ ½ÃÇèÇÕ´Ï´Ù.

Å¥¸ÞÀÏÀÌ Áö±ÝÂë ¿îÇàÇÏ°í ÀÖÀ»°Ì´Ï´Ù. TEST.deliver, TEST.receive¿¡ ÀÖ´Â Áö½Ã»çÇ×À» µû¸£¸é Á¦´ë·Î ÀÛµ¿ÇÏ°í ÀÖ´Â Áö °Ë»çÇÒ ¼ö ÀÖ½À´Ï´Ù. À̵é Áö½Ã»çÇ×À» ÀÌ¿ëÇϸé, ·Î±×´Â splogger°¡ ¾Æ´Ñ multilog°¡ ¸¸µç´Ù´Â °ÍÀ» ¾Ë¾ÆµÎ½Ê½Ã¿À.

-------------------------------------------------------------

¿ªÀÚÁÖ: óÀ½ ¼³Ä¡Çغ¸´Â ºÐµéÀ» À§ÇØ daemontoolsÀÇ µ¿ÀÛ¹æ¹ýÀ» °£´ÜÈ÷ ¼³¸íµå·Á¼­ Å¥¸ÞÀÏÀÇ ¿î¿ë»óȲÀ» ÆľÇÇϴµ¥ µµ¿òÀÌ µÇµµ·Ï ÇÏ°Ú½À´Ï´Ù.

daemontools°¡ µ¿ÀÛÇÏ´Â È帧À» ÇÑÁÙ·Î ÀûÀ¸¸é ´ÙÀ½°ú °°½À´Ï´Ù. /etc/inittab -> /command/svscanboot -> svscan -> supervise -> /service

daemontools¸¦ ¼³Ä¡Çϸé, /etc/inittab¿¡ /command/svscanboot¸¦ Àû¾î ³Ö½À´Ï´Ù. svscanboot ½ºÅ©¸³Æ®¸¦ º¸¸é svscanÀ» ºÎ¸£°Ô µÇ¾î ÀÖ°í, ÀÌ´Â supervise¸¦ ºÒ·¯¼­ /service µð·ºÅ丮¿¡ ÀÛ¿ëÇÏ°Ô ÇÕ´Ï´Ù. supervise´Â /service³»ÀÇ ¸ðµç µð·ºÅ丮¿Í °¢ µð·ºÅ丮 ¾ÈÀÇ log µð·ºÅ丮¿¡ ÀÖ´Â run ÆÄÀÏÀ» ½ÇÇàÇÕ´Ï´Ù. ±×¸®°í ½ÇÇàÇÏ´Â µð·ºÅ丮¸¶´Ù supervise¸¦ ¸¸µé¾î¼­ ¿©·¯ µ¥ÀÌÅ͸¦ Àû¾î³õ°í svstatÀÌ ÀÌ¿ëÇϵµ·Ï ÇÕ´Ï´Ù.

-------------------------------------------------------------


3. ¼³Á¤

±ÇÀå ¼Ò½ºÅ¸º¼ ¹æ¹ýÀ̳ª, ÀÚµ¿ÄÄÆÄÀÏ ÆÐÄÉÁö·ÎºÎÅÍ Å¥¸ÞÀÏÀ» ¼³Ä¡Çϼ̽À´Ï´Ù. À̹ø Ç׸ñ¿¡´Â ¸ÞÀϾֵå¹ÎÀ̳ª ½Ã½ºÅÛ¾Öµå¹ÎÀÌ ÀڱⰡ ¿øÇÏ´Â ´ë·Î Å¥¸ÞÀÏÀ» ¿î¿µÇϱâ À§ÇØ Å¥¸ÞÀÏÀ» ¼³Á¤ÇÏ´Â µ¥ ÇÊ¿äÇÑ Á¤º¸°¡ ÀÖ½À´Ï´Ù.


3.1. ¼³Á¤ÆÄÀÏ

¸ðµç Å¥¸ÞÀÏ ½Ã½ºÅÛ¼³Á¤ÆÄÀÏÀº ~alias¿¡ ÀÖ´Â .qmailÆÄÀÏÀ» »©°í´Â ¸ðµÎ /var/qmail/control¿¡ ³õ¿©Á® ÀÖ½À´Ï´Ù. qmail-control ¸ÇÆäÁö¿¡´Â ´ÙÀ½°ú °°Àº Å×À̺íÀÌ ÀÖ½À´Ï´Ù.

표 5. ¼³Á¤ÆÄÀÏ

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´Â ´ë°³ ¸±·¹À̸¦ ±ÝÁöÇϰųª, ÀÏÁ¤ÇÑ ¹ÏÀ»¸¸ÇÑ »ç¿ëÀÚ³ª ½Ã½ºÅÛ¿¡°Ô¸¸ ¸±·¹À̸¦ Çã¿ëÇÏ°í ÀÖ½À´Ï´Ù.

Chris Johnson²²¼­ Å¥¸ÞÀÏ»ç¿ëÀÚµéÀ» À§ÇØ °ü·Ã»çÇ׿¡ ´ëÇÑ ¸Å¿ì ÁÁÀº ¹®¼­¸¦ ÀÛ¼ºÇϼÌÀ¸´Ï±î ²À º¸½Ê½Ã¿ä.


3.2.2. ¸±·¹ÀÌ ±ÝÁö

°ø½Ä Å¥¸ÞÀϼ³Ä¡Áö½Ã»çÇ×À» µû¸£¸é ¸±·¹ÀÌ´Â ±âº»ÀÌ ¾ÈµÇ°Ô µÇ¾îÀÖ½À´Ï´Ù. locals¿Í virtualdomains¿¡ ÀÖ´Â µµ¸ÞÀÎ ³×Àӵ鿡 ÀÖ´Â ¿ÏÀü µµ¸ÞÀγ×ÀÓµéÀ» /var/qmail/control/rcpthostsÆÄÀÏ¿¡ Àû±â ¶§¹®ÀÔ´Ï´Ù. rcpthostsÅëÁ¦ÆÄÀÏÀ̸§Àº SMTP RCPT (¼ö½ÅÀÚ) ¸í·É¾î¿¡¼­ À¯·¡ÇÕ´Ï´Ù. SMTP ¼¼¼Ç¿¡¼­ RCPT´Â ¸Þ¼¼Áö¼ö½ÅÀÎÀÇ ÁÖ¼Ò¸¦ ¹àÈ÷´Â µ¥ ¾¹´Ï´Ù. ±×·¡¼­ rcpthosts¿¡´Â RCPT ÁÖ¼Ò¿¡ ³ªÅ¸³ª´Â À¯È¿ÇÑ È£½ºÆ®³×ÀÓÀ» ¿­°ÅÇÕ´Ï´Ù.


3.2.3. ¸±·¹ÀÌÇã¿ëÀÚ¸¦ °í¸£±â

´ëºÎºÐÀÇ ´ÜÀÏ»ç¿ëÀÚ¿Í ¼Ò±Ô¸ð ¼­¹ö´Â ¸±·¹À̸¦ ¿ÏÀüÈ÷ ±ÝÁöÇÒ ¼ö ÀÖÁö¸¸, ºÐ»êµÈ »ç¿ëÀÚ °øµ¿Ã¼¸¦ Áö¿øÇÏ·Á¸é ±× »ç¿ëÀÚ¿¡°Ô¸¸Àº ¸±·¹ÀÌ¿ëÀ¸·Î ¼­¹ö¸¦ ÀÌ¿ëÇÏ°Ô ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀÌ ÇÊ¿äÇÕ´Ï´Ù. ÀÌ°ÍÀº tcpserver·Î RELAYCLIENTȯ°æº¯¼ö¸¦ Á¤Çؼ­ qmail-smtpd¿¡°Ô rcpthosts ÆÄÀÏÀ» ¹«½ÃÇϵµ·Ï ÇÏ¸é µË´Ï´Ù.

º»¹®¼­ÀÇ ¼³Ä¡Áö½Ã»çÇ×À» µû¸£¸é, ¼±Åø±·¹À̸¦ ±âº»¹æħÀ¸·Î ÇÏ°Ú½À´Ï´Ù. Ŭ¶óÀ̾ðÆ®¿¡°Ô ¸±·¹ÀÌÁ¢±Ù±ÇÇÑÀ» ÁÖ·Á¸é /etc/tcp.smtp¿¡ ´ÙÀ½À» ÷°¡ÇϽʽÿÀ.

 IP address of client:allow,RELAYCLIENT=""

±×¸®°í³ª¼­ SMTP Á¢±Ù±ÇÇÑ µ¥ÀÌÅͺ£À̽º¸¦ ÀçÄÄÆÄÀÏÇϽʽÿÀ.

qmailctl cdb

¶Ç´Â 

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp	
chmod 644 /etc/tcp.smtp*

°ø½Ä¼³Ä¡Áö½Ã»çÇ×À» µû¶ú´Ù¸é, Chris JohnsonÀÌ Å¥¸ÞÀÏÀÌ Æ¯Á¤È£½ºÆ®¿¡°Ô¸¸ ¸±·¹À̸¦ Çã¿ëÇϵµ·Ï ¼³Á¤ÇÏ´Â ¹æ¹ýÀ» ÀûÀ¸¼ÌÀ¸´Ï http://www.palomine.net/qmail/selectiverelay.html¸¦ Âü°íÇϵµ·Ï ÇϽʽÿÀ.


3.3. ´ÙÁß È£½ºÆ®³×ÀÓ

ÇÑ È£½ºÆ®ÀÇ À̸§ÀÌ µÑ ÀÌ»óÀ̸é, ¿¹¸¦ µé¾î¼­ user@host1.exampleÀ» user@example.comÀ̳ª user@mail.example.com µîÀ¸·Î ÀûÀ» ¼ö ÀÖ´Ù¸é, Å¥¸ÞÀÏ¿¡ ÀÌ·± ³»¿ëÀ» ¾Ë·Á¼­ ¾î¶² ÁÖ¼Ò¸¦ ³»ºÎ·Î Àü´ÞÇÒ Áö, ¿ø°Ý½Ã½ºÅÛ¿¡¼­ ¾î¶² ¸Þ¼¼Áö¸¦ ¹ÞÀ» Áö µîÀ» ¾Ë°Ô ÇÕ´Ï´Ù.

±×·¸°Ô ÇÏ·Á¸é, ÅëÁ¦ÆÄÀÏ µÎ °³¿¡ ¸ðµç À̸§À» ÷°¡Çϱ⸸ ÇÏ¸é µË´Ï´Ù.

  • rcpthosts: qmail-smtpd¿¡°Ô À̵é È£½ºÆ®·Î ÁÖ¼Ò¸¦ °¡Áø ¸ÞÀÏÀ» ¹Þ¾ÆµéÀÌ°Ô ÇÕ´Ï´Ù.

  • locals: qmail-send¿¡°Ô À̵é È£½ºÆ®ÀÇ ÁÖ¼Ò´Â ³»ºÎ·Î Àü´ÞµÇ°Ô ÇÕ´Ï´Ù.


3.4. ¹öÃò¾óµµ¸ÞÀÎ

¹öÃò¾óµµ¸ÞÀÎÀº ÀüÇ׸ñ¿¡¼­ ¸»¾¸µå¸° ´ÙÁßÈ£½ºÆ®³×ÀÓ°ú ºñ½ÁÇÕ´Ï´Ù¸¸, Áß¿äÇÑ Â÷ÀÌÁ¡ÀÌ ¸î °³ ÀÖ½À´Ï´Ù. ù°·Î, example.net¿¡ virtual.example.comÀ̶ó´Â ¹öÃò¾óµµ¸ÞÀÎÀÌ ÀÖ´Ù¸é, joe@example.net¿¡°Ô º¸³½ ¸Þ¼¼Áö´Â joe@virturl.example.comÀ¸·Î º¸³½ ¸ÞÁ¦Áö¿Í °°Àº ¸ÞÀϺ¹½º¿¡¼­ ³¡³ªÁö ¾Ê¾Æ¾ß ÇÕ´Ï´Ù. ¹öÃ߾󵵸ÞÀο¡ ´ëÇÑ À̸§¿µ¿ª(namespace)Àº ´Ù¸¨´Ï´Ù.

Å¥¸ÞÀÏ¿¡¼­ ¹öÃò¾óµµ¸ÞÀÎÀº virtualdomainsÆÄÀÏ¿¡ ¼³Á¤µÇ´Âµ¥, ´ÙÀ½Çü½ÄÀ¸·Î Çϳª ¶Ç´Â ±× ÀÌ»óÀ» Àû½À´Ï´Ù.

user@domain:prepend 

-------------------------------------------------------------

¿ªÀÚÁÖ: ¿©±â¼­ prepend´Â virtual domainÀ¸·Î ¿À´Â À̸ÞÀÏÀ» °ü¸®ÇÏ´Â ·ÎÄøӽÅÀÇ »ç¿ëÀÚ ¾ÆÀ̵𸦠¸»ÇÕ´Ï´Ù.

-------------------------------------------------------------

Å¥¸ÞÀÏÀº user@domainÀ» prepend-user@domainÀ¸·Î ¹Ù²Ù°í, 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Ç׸ñÀÇ ÁÖ¼Ò¿¬Àå ºÎÇ׸ñÀ» º¸½Ã±â ¹Ù¶ø´Ï´Ù.

-------------------------------------------------------------

¿ªÀÚÁÖ: .qmailÆÄÀÏÀ» ¸¸µé¾îº¸°Ú½À´Ï´Ù.

# /var/qmail/bin/maildirmake /home/john/JOEMAILDIR 
# echo "/home/john/JOEMAILDIR/" > /home/john/.qmail-joe

-------------------------------------------------------------

´ÙÁßÈ£½ºÆ®³×ÀÓ°ú °°ÀÌ ¸ðµç ¹öÃò¾óµµ¸ÞÀÎÀº rcpthosts¿¡ ¸®½ºÆ®µÇ¾î¼­ qmail-smtpd°¡ ±× ÁÖ¼Ò·Î µÈ ¸Þ¼¼ÁöµéÀ» ¹Þ¾ÆµéÀÌ°Ô ÇÕ´Ï´Ù. ±×·¸Áö¸¸, ´ÙÁßÈ£½ºÆ®³×ÀÓ°ú Ʋ¸°Á¡Àº ¹öÃò¾óµµ¸ÞÀÎÀ» locals¿¡ ÷°¡Çؼ­´Â ¾ÈµË´Ï´Ù

-------------------------------------------------------------

¿ªÀÚÁÖ: ¹öÃò¾óµµ¸ÞÀÎÀ» virtualdomains¿¡ ³Ö¾î¾ß¸¸ joe@virtual.example.comÀ̶ó´Â ÁÖ¼Ò¿¡¼­ joe¸¸À» ¾µ ¼ö ÀÖ½À´Ï´Ù. ¸¸¾à, locals¿¡ ¹öÃò¾óµµ¸ÞÀÎÀ» ³ÖÀ¸¸é, ±× ÁÖ¼Ò´Â john-joe@virtual.example.com ó·³ john-joe¶ó´Â ÁÖ¼Ò¸¦ ½á¾ß¸¸ À̸ÞÀÏÁÖ¼Ò·Î À¯È¿ÇϰԵ˴ϴÙ.

-------------------------------------------------------------

-------------------------------------------------------------

À¯ÀÇÁ¡: DNSÀÇ MX±â·ÏÀº ¹öÃò¾óµµ¸ÞÀÎÀ¸·Î °¡´Â ¸Þ¼¼Áö¸¦ ÀûÀýÇÑ ¸ÞÀϼ­¹ö·Î µ¹¸®µµ·Ï ¼³Ä¡µÇ¾î¾ß ÇÕ´Ï´Ù. ÀÌ°ÍÀº ³×ÀÓ¼­¹ö¾Öµå¹ÎÀÌ ÇÒÀÏÀÌ°í, º» °¡À̵åÀÇ ¹üÀ§¸¦ ¹þ¾î³³´Ï´Ù.

-------------------------------------------------------------

-------------------------------------------------------------

¿ªÀÚÁÖ: °íÁ¤¿¬°á¸ðµ©(Äɺí¸ðµ©, ADSL, ¶Ç´Â ÀÏ¹Ý ¸ðµ© µî)À¸·Î ÀÎÅͳݿ¡ ¿¬°áÇÏ°í, dynamic dns ¼­ºñ½º¸¦ ÀÌ¿ëÇÏ¿©, À¯µ¿¾ÆÀÌÇÇÀÌÁö¸¸ °øÀεµ¸ÞÀο¡ ¿¬°áÇÏ¿© »ç¿ëÇÏ´Â °æ¿ì, ¼­¹öÀÇ È£½ºÆ®³×ÀÓÀ» °øÀεµ¸ÞÀγ×ÀÓÀ¸·Î Á¤Çϸé À̸ÞÀÏÀÌ ¼­¹ö·Î Á÷Á¢µé¾î¿É´Ï´Ù. È£½ºÆ®³×ÀÓ°ú µµ¸ÞÀγ×ÀÓÀÌ ´Ù¸£¸é ´ÙÁßÈ£½ºÆ®³×ÀÓÀ̳ª ¹öÃò¾óµµ¸ÞÀÎÀÇ ¼³¸í´ë·Î ÇÏ¸é µË´Ï´Ù. Äɺí¸ðµ©À̳ª ADSL¸ðµ©À» ÀÌ¿ëÇϽô ºÐµéÀÌ ¿äÁò ¸¹½À´Ï´Ù. ÀÌ ¹æ¹ý´ë·Î ÇÏ¸é ¿ÜºÎ À̸ÞÀϼ­¹ö¿¡ ÀÇÁ¸ÇÏÁö ¾Ê¾Æµµ µÇ°í, ¶ÇÇÑ ÀÚ½ÅÀÌ ³²¿¡°Ô À̸ÞÀÏ°èÁ¤À» ¸¸µé¾îÁְųª ¸ÞÀϸµ¸®½ºÆ®¸¦ ¿î¿µÇÒ ¼öµµ ÀÖ½À´Ï´Ù.

-------------------------------------------------------------


3.5. ¾Ù¸®¾î½º

Å¥¸ÞÀÏ¿¡¼­ ·ÎÄÃÀü´Þ±â¼úÀÌ Ç¥Áؾٸ®¾î½º±â¼ú·Î ÀÚ¿¬È÷ ¹ßÀüÇß½À´Ï´Ù. qmail-localÀº localpart@hostÀ» ÁÖ¼Ò·Î ÇÏ´Â ¸Þ¼¼Áö¸¦ localpart¶ó´Â À̸§ÀÇ ·ÎÄûç¿ëÀÚ¿¡°Ô Àü´ÞÇÏ·Á°í ÇÕ´Ï´Ù. ¸Â´Â »ç¿ëÀÚ°¡ ¾øÀ¸¸é ¸Þ¼¼Áö´Â Àüü Å¥¸ÞÀϽýºÅÛ¿¡¼­ /var/qmail/alias°¡ Ȩµð·ºÅ丮ÀÌ°í »çÀ̺ñ»ç¿ëÀÚÀÎ ¾Ù¸®¾î½º »ç¿ëÀÚ¿¡°Ô Àü´ÞµË´Ï´Ù.

¿¹¸¦ µé¾î ¸Þ¼¼Áö¸¦ tom¿¡°Ô ȸ¼ÛÇÏ´Â info@example.com ¾Ù¸®¾î½º¸¦ ¸¸µé°íÀÚ ÇÑ´Ù°í ÇսôÙ. example.com¿¡¼­ ·í»ç¿ëÀڷμ­ ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

 echo tom > /var/qmail/alias/.qmail-info

.qmailÇ׸ñ°ú ÁÖ¼Ò¿¬ÀåºÎÇ׸ñ¿¡¼­ ¾Ù¸®¾î½º¸¦ ÁöÁ¤ÇÏ´Â .qmailÆÄÀÏÀ» ¾î¶»°Ô ¸¸µé°í, Àü´ÞµÇ´Â ¸Þ¼¼Áö·Î ¹«¾ùÀ» ÇØ¾ß ÇÏ´Â Áö ¼³¸íÇÕ´Ï´Ù.

Å¥¸ÞÀÏ¿¡¼­ ¾Ù¸®¾î½º°¡ ½ÇÇàµÇ´Â ¹æ½Ä¶§¹®¿¡ ¾Ù¸®¾î½º°¡ Á¤´çÇÑ »ç¿ëÀÚ Àü´ÞÀ» ¹«½ÃÇÒ ¼ö´Â ¾ø´Ù´Â °ÍÀ» À¯ÀÇÇϽʽÿÀ. ¿¹) rachelÀÌ Á¤»ó »ç¿ëÀÚ¶ó¸é ~alias/.qmail-rachel Àº ¾ÈµË´Ï´Ù.

fastforwardÆÐÄÉÁö´Â SendmailÀÇ ¾Ù¸®¾î½º µ¥ÀÌÅͺ£À̽º¿Í ȣȯÇÏ´Â, ´ÜÀÏÆÄÀÏ¿¡ ´Ù¼ö¾Ù¸®¾î½º¸¦ Àû´Â ´ëü°¡´É ¾Ù¸®¾î½º±â¼úÀ» Á¦°øÇÕ´Ï´Ù.

´ÙÀ½ÀÇ qmail-usersÇ׸ñ¿¡¼­ ¾Ù¸®¾î½º¸¦ ½ÇÇàÇÒ ¼ö ÀÖ´Â ´Ù¸¥ ±â¼úÀ» ¼³¸íÇÕ´Ï´Ù.


3.6. qmail-users

qmail-users´Â »ç¿ëÀÚ¿¡°Ô ÁÖ¼Ò¸¦ ¹èÁ¤ÇÏ´Â(³ª´²ÁÖ´Â, ºÎ¿©ÇÏ´Â) ½Ã½ºÅÛÀÔ´Ï´Ù. ¼³Á¤ÆÄÀϵéÀÌ /var/qmail/users/¿¡ ³õÀÔ´Ï´Ù. assignÀº °ð ÇÒ´çÅ×À̺íÀÔ´Ï´Ù. ´Ü¼ø¹èÁ¤°ú wildcard ¹æ¹ý µî µÎ Á¾·ùÀÇ ÇÒ´çÀÌ ÀÖ½À´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: ÇÑ ÁÙ¿¡ Çϳª¾¿ Àû°í, ¸¶Áö¸·ÁÙ¿¡´Â ¸¶Ä§Ç¥¸¦ ÇÑ°³¸¸ Àû½À´Ï´Ù. ÀÌ ÆÄÀÏÀ» ¼öµ¿À¸·Î ¸¸µå½Ã¸é ¸¶Ä§Ç¥ÁÙÀ» ÀØÁö ¸¶½Ê½Ã¿À.

-------------------------------------------------------------


3.6.1. ´Ü¼ø¹èÁ¤

´Ü¼ø¹èÁ¤Àº ´ÙÀ½°ú °°½À´Ï´Ù.

 =address:user:uid:gid:directory:dash:extension:

address·Î ¹ÞÀº ¸Þ¼¼Áö´Â ÁöÁ¤ uid¿Í gid¸¦ Áö´Ï°í user»ç¿ëÀÚ·Î ÀÛµ¿Çϴµ¥, directory/.qmaildashextensionÆÄÀÏ¿¡ ¸Þ¼¼Áö¸¦ ¾î¶»°Ô Àü´ÞÇØ¾ß ÇÏ´Â Áö¸¦ ±ÔÁ¤ÇÑ´Ù´Â ¶æÀÔ´Ï´Ù.


3.6.2. ¿ÍÀϵåÄ«µå ¹èÁ¤

¿ÍÀϵåÄ«µå ¹èÁ¤Àº ´ÙÀ½°ú °°½À´Ï´Ù.

 +prefix:user:uid:gid:directory:dash:prepend:

prefixÇü½ÄÀÇ ÁÖ¼Ò·Î ¼ö½ÅµÈ ¸Þ¼¼Áö´Â ÁöÁ¤ Uid¿Í gid¸¦ Áö´Ï°í user»ç¿ëÀÚ·Î ÀÛµ¿Çϴµ¥, 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´Â º¯È¯±ÔÄ¢À» °íÄ¡´Âµ¥ ÆÄÀÏ ¸î°³¸¦ »ç¿ëÇÕ´Ï´Ù.

  • include: Æ÷ÇÔÇÒ »ç¿ëÀÚ

  • exclude: Á¦¿ÜÇÒ »ç¿ëÀÚ

  • mailnames: »ç¿ëÀÚ¿¡ ´ëÇÑ ´ëü mailnames

  • subusers: »ç¿ëÀÚ°¡ ó¸®ÇÏ´Â °¡¿ÜÁּҷμ­ .qmailÈ®ÀåÀº ¼±ÅûçÇ×ÀÔ´Ï´Ù.

  • append: ¿©·¯°¡Áö ÇÒ´ç

-------------------------------------------------------------

À¯ÀÇÁ¡: qmail-pw2u¸¦ »ç¿ëÇϸé, »ç¿ëÀÚ¸¦ Ãß°¡, »èÁ¦Çϰųª UID³ª GID¸¦ ¹Ù²Ü ¶§¸¶´Ù qmail-pw2u¿Í qmail-newu¸¦ Àç°¡µ¿ÇÏ¼Å¾ß ÇÕ´Ï´Ù. º¸Åë ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

 qmail-pw2u < /etc/passwd > /var/qmail/users/assign
 qmail-newu

-------------------------------------------------------------


3.7. ½ºÆÔÅëÁ¦

Chris Hardie²²¼­ ÈǸ¢ÇÑ Å¥¸ÞÀϹݽºÆÔHOWTOÀ» ¾²¼Ì½À´Ï´Ù.


4. »ç¿ë¹ý

ÀÌ Ç׸ñ¿¡¼­´Â º¸Åë»ç¿ëÀÚ°¡ Å¥¸ÞÀÏÀ» »ç¿ëÇÏ´Â ¹ýÀ» ´Ù·ì´Ï´Ù. Å¥¸ÞÀϽýºÅÛ¿¡¼­ ¸ÞÀÏÀ» Àаųª º¸³½´Ù¸é, ¾î¶»°Ô Å¥¸ÞÀÏÀ» ÀÌ¿ëÇÏ´Â Áö¸¦ ¿©±â¼­ ¾Ë°Ô µË´Ï´Ù.


4.1. .qmailÆÄÀϵé

»ç¿ëÀÚ¸ÞÀÏÀÇ Àü´ÞÀº ´ë°³ Çϳª ÀÌ»óÀÇ (dot kyoo mail ·Î ¹ßÀ½ÇÏ´Â) .qmailÆÄÀϵéÀÌ ÅëÁ¦Çϴµ¥, À̰͵éÀº »ç¿ëÀÚ È¨µð·ºÅ丮¿¡ .qmail·Î ½ÃÀÛÇÏ´Â À̸§À¸·Î µÇ¾îÀÖ½À´Ï´Ù. dot-qmail¸ÇÆäÁö¿¡ .qmailÆÄÀÏ »ç¿ë¹ýÀ» ¼³¸íÇØ ³õ¾Ò½À´Ï´Ù.

.qmailÆÄÀÏ¿¡´Â Àü´ÞÁö½Ã»çÇ×ÀÌ ÇÑ ÁÙ¿¡ Çϳª¾¿ µé¾îÀÖ½À´Ï´Ù. ÁÙÀÇ Ã³À½¹®ÀÚ´Â Àü´Þ¹æ¹ýÀ» °áÁ¤ÇÕ´Ï´Ù.

표 6. Àü´ÞÁö½Ã»çÇ×

¹®ÀÚ Àü´ÞÇüÅ °ª
# ¾øÀ½ (ÄÚ¸àÆ®) ¹«½Ã
| ÇÁ·Î±×·¥ ¼ÐÀÌ ½ÇÇàÇÒ ¸í·É¾î
/ ¶Ç´Â . mbox (¸¶Áö¸·±ÛÀÚ°¡ /ÀÌ ¾Æ´Ï¸é) mbox °æ·Î (/³ª .¸¦ Æ÷ÇÔ)
/ ¶Ç´Â . maildir (¸¶Áö¸· ±ÛÀÚ°¡ /À̸é) maildir °æ·Î (/³ª .¸¦ Æ÷ÇÔ)
& Æ÷¿öµå ¸Þ¼¼Áö¸¦ Æ÷¿öµåÇÒ ÁÖ¼Ò
±ÛÀÚ ¶Ç´Â ¼ýÀÚ Æ÷¿öµå ¸Þ¼¼Áö¸¦ Æ÷¿öµåÇÒ ÁÖ¼Ò (ù±ÛÀÚ¸¦ Æ÷ÇÔ)

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¿¡ ÀúÀåÇÕ´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: qmial-localÀº maildir¸ÞÀϺ¹½º·Î ¸ÞÀÏÀ» Àü´ÞÇÏÁö¸¸ ¸ÞÀϺ¹½º¸¦ ¸¸µéÁö´Â ¸øÇÕ´Ï´Ù. maildir¸ÞÀϺ¹½º´Â Å¥¸ÞÀÏ°ú °°ÀÌ Á¦°øÇÏ´Â maildirmakeÇÁ·Î±×·¥À¸·Î ¸¸µì´Ï´Ù.

 
maildirmake ~/Maildir
maildirmake´Â maildirÀÇ ¼ÒÀ¯ÀÚ°¡ ½ÇÇàÇؾßÁö ·íÀÌ ÇÏÁö ¾Ê½À´Ï´Ù. useradd ¶Ç´Â adduser ¸í·ÉÀÌ "skeleton"µð·ºÅ丮¸¦ Áö¿øÇÑ´Ù¸é (´ë°³ /etc/skel), °Å±â¿¡ maildir¸¦ ¸¸µé¸é »õ »ç¿ëÀڵ鿡°Ô ÀÚµ¿À¸·Î ¸¸µé¾îÁý´Ï´Ù.

-------------------------------------------------------------


4.1.4. Æ÷¿öµå Àü´Þ

Æ÷¿öµåÀü´ÞÀº ¸í½ÃÁÖ¼Ò·Î ¸Þ¼¼Áö¸¦ ´Ù½Ãº¸³À´Ï´Ù. .qmailÆÄÀÏ¿¡ ¸í½ÃÇÑ ÁÖ¼Ò´Â ¿ÏÀüÀÚ°ÝÀ̾î¾ß Çϸç, Ä¿¸àÆ®Çʵå¿Í ¿©¹éÀÌ ¾ø¾î¾ß ÇÕ´Ï´Ù.

´ÙÀ½Àº Ʋ·È½À´Ï´Ù.

&<user@example.com>			  
& user@example.com 			
&Joe User <user@example.com>   

´ÙÀ½°ú °°ÀÌ ÇؾßÇÕ´Ï´Ù.

& user@example.com 	 
user@example.com		
&user							

óÀ½ µÎ°³´Â user@example.comÀÌ ¸Þ¼¼Áö»çº»À» ¹Þµµ·Ï ÇÏ°í, ³²Àº ÇÑ°³´Â ·ÎÄÃÀ¯ÀúÀÎ user¿¡°Ô »çº»À» º¸³À´Ï´Ù.


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ÀÇ ÁÖ¼Ò·Î ¸Þ¼¼Áö°¡ ¿Ô´Ù¸é, ´ÙÀ½°ú °°ÀÌ Ã£Àº °ÍÁß¿¡¼­ ù¹ø°°ÍÀ» ¾¹´Ï´Ù.

  • .qmail-list-qmail

  • .qmail-list-default

  • .qmail-default

ÀÏÄ¡ÇÏ´Â .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´Â ´ÙÀ½°ú °°ÀÌ ³¡³ª´Â ´ëÈ­Áß Çϳª¸¦ ÇÕ´Ï´Ù.

  • the message being transfered to the MTA, ¶Ç´Â

  • 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ÇÁ·Î±×·¥Àº ´ÙÀ½¿¡ ÀÖ½À´Ï´Ù.

  • /usr/lib/sendmail

  • /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

Å¥¸ÞÀÏ°ú °°ÀÌ Á¦°øµÇ´Â 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. ȯ°æº¯¼ö

Å¥¸ÞÀÏÇÁ·Î±×·¥ÀÌ È¯°æº¯¼ö¸¦ Á¤Çϰųª »ç¿ëÇϱ⵵ ÇÕ´Ï´Ù. ´ÙÀ½ÀÇ Å×ÀÌºí¿¡ º¯¼ö¸¦ ¿­°ÅÇÏ°í »ç¿ë¹ýÀ» Àû¾ú½À´Ï´Ù.

표 7. ȯ°æº¯¼ö

º¯¼ö¸í ÇØ´ç ¸ÇÆäÁö ¼³Á¤ »ç¿ë¸ñÀû
DATABYTES qmail-smtpd used Overrides control/databytes Portion of address maching
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)
QMAILMFTFILE qmail-inject used File containing list of mailing 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
RELAYCLIENT qmail-smtpd used Ignore control/rcpthosts and append value torecipient 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)

표 8. 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´Â Å¥¸ÞÀϸÞÀϸµ¸®½ºÆ®¿¡ ºÎóÁ³°í, ´ÙÀ½ÁÖ¼ÒÀÇ ¹®¼­º¸°ü¿¡¼­ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù. 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ÆÄÀÏÀº ´ÙÀ½°ú °°½À´Ï´Ù.

|/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¼­¹ö·Î¼­ ¿©·¯ Å¥¸ÞÀÏ»çÀÌÆ®°¡ »ç¿ëÇÕ´Ï´Ù. ¸ðµâ±â´ÉÀÌ°í, ´ëüÀÎÁõ¸ðµâÀ» ÅëÇØ º¹ÇÕÀÎÁõ±¸¼ºÀ» Áö¿øÇÕ´Ï´Ù.

-------------------------------------------------------------

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

-------------------------------------------------------------


5.2.1.1. qmail-pop3dÀÇ ±¸Á¶

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

  • qmail-popup : »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ ¹Þ½À´Ï´Ù.

  • checkpassword : »ç¿ëÀÚ¸í°ú ¾ÏÈ£¸¦ ÀÎÁõÇÕ´Ï´Ù.

  • 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. http://www.qmail.org/top.html#checkpassword¿¡¼­ checkpassword ÇÁ·Î±×·¥À» ¹ÞÀ¸½Ê½Ã¿À. ÀÌ·¯Àú·¯ÇÏ°Ô ²Ù¹Î °ÍÀÌ ÇÊ¿ä¾øÀ¸¸é http://cr.yp.to/checkpwd.html¿¡ Àִ ǥÁØ checkpassword°¡ ÁÁ½À´Ï´Ù.

  3. Áö½Ã»çÇ×À» µû¶ó¼­ checkpassword¸¦ ÄÄÆÄÀÏÇÏ°í ¼³Ä¡ÇϽʽÿÀ. /bin/checkpassword·Î ¼³Ä¡ÇÏ¼Å¾ß ÇÕ´Ï´Ù.

  4. /var/qmail/supervise/qmail-pop3d/run ½ºÅ©¸³Æ®¸¦ ´ÙÀ½ÀÇ ³»¿ëÀ¸·Î ¸¸µå¼¼¿ä.

    #!/bin/sh
    exec /usr/local/bin/softlimit -m 2000000 \
    	 /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
    	 FQDN /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1
    ¿©±â¿¡¼­ FQDNÀº Áö±Ý ¼³Ä¡ÇÏ´Â POP¼­¹öÀÇ ¿ÏÀüµµ¸ÞÀγ×ÀÓ(Fully Qualified Domain Name)ÀÔ´Ï´Ù. (¿¹: pop.example.net)

  5. /var/qmail/supervise/qmail-pop3d/log/run ½ºÅ©¸³Æ®¸¦ ´ÙÀ½ÀÇ ³»¿ëÀ¸·Î ¸¸µì´Ï´Ù.

    #!/bin/sh
    exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
    	 /var/log/qmail/pop3d

  6. ·Î±×µð·ºÅ丮¸¦ ¸¸µé°í, run½ºÅ©¸³Æ®¿¡ ½ÇÇà±ÇÇÑÀ» ¼³Á¤ÇÏ°í, ±×¿¡ ´ëÇÑ ¼­ºñ½º¸¦ /service·Î ¸µÅ©ÇÕ´Ï´Ù.

    chmod +t /var/qmail/supervise/qmail-pop3d
    mkdir /var/log/qmail/pop3d
    chown qmaill /var/log/qmail/pop3d
    chmod 755 /var/qmail/supervise/qmail-pop3d/run
    chmod 755 /var/qmail/supervise/qmail-pop3d/log/run
    ln -s /var/qmail/supervise/qmail-pop3d /service

  7. qmailctlÀÇ "start" Ç׿¡ ´ÙÀ½ÀÇ ³»¿ëÀ» ´õÇÕ´Ï´Ù.

    if svok /service/qmail-pop3d ; then
       svc -u /service/qmail-pop3d
    else
       echo qmail-pop3d service not running
    fi

  8. qmailctlÀÇ "stop"Ç׿¡ ´ÙÀ½ÀÇ ³»¿ëÀ» ´õÇÕ´Ï´Ù.

    echo "  qmail-pop3d"
    svc -d /service/qmail-pop3d		   

  9. qmailctlÀÇ "stat"Ç׿¡ ´ÙÀ½ÀÇ ³»¿ëÀ» ´õÇÕ´Ï´Ù.

    svstat /service/qmail-pop3d
    svstat /service/qmail-pop3d/log

  10. qmailctlÀÇ "pause"Ç׿¡ ´ÙÀ½ÀÇ ³»¿ëÀ» ´õÇÕ´Ï´Ù.

    echo "Pausing qmail-pop3d"
    svc -p /service/qmail-pop3d

  11. qmailctlÀÇ "cont"Ç׿¡ ´ÙÀ½ÀÇ ³»¿ëÀ» ´õÇÕ´Ï´Ù.

    echo "Continuing qmail-pop3d"
    svc -c /service/qmail-pop3d

  12. qmailctlÀÇ "restart"Ç׿¡ ´ÙÀ½ÀÇ ³»¿ëÀ» ´õÇÕ´Ï´Ù.

    echo "* Restarting qmail-pop3d."
    svc -t /service/qmail-pop3d


5.2.2. qpopper

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


5.2.3. Solid

Solid POP3 ¼­¹ö´Â maildir¿Í mbox ¸ÞÀϺ¹½º¸¦ Áö¿øÇÕ´Ï´Ù.


5.2.4. imap-maildir

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


5.2.5. Courier-IMAP

Sam Varshavchik²²¼­ maildir¸¸ Áö¿øÇÏ´Â Courierimap¼­¹ö¸¦ ¾²¼Ì½À´Ï´Ù.


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¸¦ ÅëÇؼ­ »ðÀÔÇϴµ¥, Å¥¸ÞÀÏ¿¡ ÇÊ¿äÇÕ´Ï´Ù.


5.3.2. getmail

getmailÀº POP¼­¹ö¿¡¼­ ¸ÞÀÏÀ» ²¨³»¼­ maildir¸ÞÀϺ¹½º·Î Àü´ÞÇÏ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù. ÆÄÀ̽㽺ũ¸³Æ®À̱⠶§¹®¿¡ ÀÌ ÇÁ·Î±×·¥À» »ç¿ëÇÏ·Á¸é ÆÄÀ̽ãÀ» ¸ÕÀú ¼³Ä¡ÇØ¾ß ÇÕ´Ï´Ù.

Charles Cazabon²²¼­ ¸¸µå¼Ì°í, À¥ÆäÁö¸¦ ¿î¿µÇÏ°í ÀÖ½À´Ï´Ù.


5.4. ´ÙÁß RCPT ´ë ´ÜÀÏ RCPT Àü´Þ

¿¹¸¦ µé¾î¼­, ´ç½ÅÀÌ MTAÀÌ°í, ÇÑ »ç¿ëÀÚ°¡ hostx.example.comÀÇ ¼¼»ç¶÷¿¡°Ô ¸Þ¼¼Áö¸¦ º¸³½´Ù°í ÇսôÙ. ÀÌ°ÍÀ» Çϴµ¥ ¸î°¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

  • hostx¿¡ SMTPÁ¢¼ÓÀ» ¿­°í, ù¹ø° »ç¿ëÀÚ¿¡°Ô ¸Þ¼¼Áö»çº»À» º¸³»°í, µÎ¹ø° »ç¿ëÀÚ¿¡°Ô »çº»À» º¸³»°í, ¼¼¹ø° »ç¿ëÀÚ¿¡°Ô »çº»À» º¸³½ ´ÙÀ½¿¡ Á¢¼ÓÀ» ´Ý½À´Ï´Ù.

  • ÇÁ·Î¼¼½º¸¦ ¼¼°³ ½ÃÀÛÇؼ­ ¸Å ÇÁ·Î¼¼½º°¡ hostx¿¡ SMTPÁ¢¼ÓÀ» ¿­°í ÇÑ »ç¿ëÀÚ¿¡°Ô ¸Þ¼¼Áö»çº»À» º¸³½ ´ÙÀ½¿¡ Á¢¼ÓÀ» ´Ý½À´Ï´Ù.

  • hostx¿¡ SMTPÁ¢¼ÓÀ» ¿­°í ¼¼»ç¿ëÀÚ ¸ðµÎÀÇ ÁÖ¼Ò¸¦ ´Ü ¸Þ¼¼Áö»çº» ÇÑ°³¸¦ º¸³½ ´ÙÀ½¿¡ Á¢¼ÓÀ» ´Ý½À´Ï´Ù.

ù¹ø° ¹æ¹ýÀº ¼¼¹ø° ¹æ¹ýº¸´Ù ºÐ¸íÈ÷ µÚÁý´Ï´Ù. ¸Þ¼¼Áö°¡ ÀÛ´õ¶óµµ ÃÖ¼ÒÇÑ ±×¸¸Å­ ½Ã°£ÀÌ °É¸³´Ï´Ù. ±×¸®°í ¸Þ¼¼Áö°¡ Å©´Ù¸é ´õ ¿À·¡ °É¸®°í, °Ô´Ù°¡ ³Ý¿÷´ë¿ªÀ» ¾µ°ÍÀÔ´Ï´Ù.

Çã´Ï, ±×°ÍÀº »©°Ú½À´Ï´Ù.

µÎ¹ø°¿Í ¼¼¹ø° ¹æ¹ýÀº Á»´õ Àç¹ÌÀÖ½À´Ï´Ù.

¼¼¹ø° ¹æ¹ýÀº hostx¿¡ Á¢¼ÓÀ» ´Ü Çѹø ¿­°í¼­ ¸Þ¼¼Áö »çº»À» ´Ü Çϳª¸¸ º¸³À´Ï´Ù. ³Ý¿÷´ë¿ªÀ» È¿À²»ç¿ëÇÏ´Â µ¥ µµ¿òÀÌ µË´Ï´Ù.

µÎ¹ø° ¹æ¹ýÀº ¿©·¯¹ø Á¢¼ÓÇؼ­ ¸Þ¼¼Áö»çº»À» ¿©·¯°³ º¸³À´Ï´Ù. ³Ý¿÷´ë¿ªÀ» "³¶ºñ"ÇÏÁö¸¸ SMTPÇÁ·ÎÅäÄÝÀÇ ¼ºÁú¶§¹®¿¡ ¼¼¹ø° ¹æ¹ýº¸´Ù ¿Õº¹Áö¿¬ÀÌ ´õ Àû°í, ´õ ºü¸¨´Ï´Ù. °Ô´Ù°¡ ¼¼¹ø° ¹æ¹ýº¸´Ù ´õ °£´ÜÇϹǷΠMTA¸¦ ´õ ¼ö¿ùÇÏ°Ô ÀÛ¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×¸®°í ³¡À¸·Î, °¢ ¼ö½ÅÀÎÀÌ ±×¸¸ÀÇ ¸Þ¼¼Áö»çº»À» ¹ÞÀ¸¹Ç·Î MTA°¡ VERP¸¦ ±¸ÇöÇÒ ¼ö ÀÖ½À´Ï´Ù. (´ÙÀ½Ç׸ñÀ» º¸½Ê½Ã¿À.)

Å¥¸ÞÀÏÀº ¾ðÁ¦³ª µÎ¹ø° ¹æ¹ý (´ÜÀÏ RCPT)À» »ç¿ëÇÕ´Ï´Ù. ¼¼¹ø°¹æ¹ý (º¹¼ö RCPT)¸¦ ±¸ÇöÇÏ´Â ÆÐÄ¡´Â ¾ø½À´Ï´Ù. ±×°ÍÀº ¸¹Àº ÀÛ¾÷À» ÇÏ¿©¾ß ÇÕ´Ï´Ù.

º¹¼ö RCPT Àü´Þº¸´Ù ´ÊÀ»¼ö ÀÖ´Â °æ¿ì°¡ ¿¬±¸ÇØ º¸¸é ÀÖ°ÚÁö¸¸, °£´ÜÇÔ°ú VERPÀÇ ÀÌÁ¡ÀÌ ´õ Å®´Ï´Ù.

´ÜÀÏ 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.shar¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.


5.6. ¹®Á¦ÇØ°á

5.6.1. ÇÁ·Î¼¼½º

Á¦´ë·Î ÀÛµ¿ÇÏ°í ¿ÏÀüÇϸ鼭µµ ÃÖ¼ÒÇÑÀΠť¸ÞÀϼ³Ä¡´Â ´ÙÀ½ ³×°³ÀÇ ÇÁ·Î¼¼½º¸¦ °®½À´Ï´Ù.

  • qmail-sned : qmails»ç¿ëÀڷμ­ ¿îÇà

  • qmail-clean : qmailq»ç¿ëÀڷμ­ ¿îÇà

  • qmail-rspawn: qmailr»ç¿ëÀڷμ­ ¿îÇà

  • 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 (¶Ç´Â multilog ¶Ç´Â cyclog)À» »ç¿ëÇϸé, qmaill»ç¿ëÀڷμ­ ¿îÇàÇÏ´Â splogger (¶Ç´Â multilog ¶Ç´Â cyclog)ÇÁ·Î¼¼½º¸¦ °®½À´Ï´Ù.

°Ô´Ù°¡ Å¥¸ÞÀÏÀÌ ·ÎÄÃÀ̳ª ¿ø°Ý ¸Þ¼¼ÁöÀü´Þ·Î ¹Ù»Ú¸é °ü°èµÇ´Â ·ÎÄüö¸¸Å­ÀÇ qmail-local°úÁ¤°ú °ü°èµÇ´Â ¿ø°Ý¼ö¸¸Å­ÀÇ qmail-remote°úÁ¤À» º¼ ¼ö ÀÖ½À´Ï´Ù.


5.6.2. ·Î±×

5.6.2.1. splogger

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

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

  • /var/log/syslog

  • /var/adm/SYSLOG

  • /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. multilog

daemontools ÆÐÄÉÁöÀÇ ÀϺÎÀÎ multilog´Â ƯÁ¤ÇÑ µð·ºÅ丮ÀÇ ÀÏ·ÃÀÇ ÆÄÀÏ¿¡ ¸Þ¼¼Áö¸¦ ·Î±×ÇÕ´Ï´Ù.

·Î±×µð·ºÅ丮´Â multilog¸í·ÉÇà¿¡ ¸í½ÃÇϹǷΠť¸ÞÀϱ⵿½ºÅ©¸³Æ®¸¦ »ìÆ캸½Ã¸é ãÀ» ¼ö ÀÖ½À´Ï´Ù.

·Î±×µð·ºÅ丮³»ÀÇ ÆÄÀϼö¿Í °¢ÆÄÀÏÀÇ ÃÖ´ëÅ©±â´Â multilog ¿É¼ÇÀ¸·Î Á¤ÇÕ´Ï´Ù. ·Î±×ÆÄÀϸíÀº ÆÄÀÏÀ» ½ÃÀÛÇÑ ½Ã°£ÀÇ TAI (Temps Atomique International) ½Ã°£Âï±âÀÔ´Ï´Ù. daemontoolsÀÇ tai64nlocal¸í·ÉÀº TAI ½Ã°£Âï±â¸¦ »ç¶÷ÀÌ ÀÐÀ» ¼ö ÀÖ´Â ·ÎÄà ½Ã°£Âï±â·Î º¯È¯ÇÕ´Ï´Ù.

º¸ÅëÀÇ multilog ·Ï±âÀç»çÇ×Àº ´ÙÀ½°ú °°½À´Ï´Ù.

@4000000038c3eeb104a6ecf4 delivery 153: success: did_1+0+0/
"@4000000038c3eeb104a6ecf4"Àº ¼±ÅûçÇ×ÀÔ´Ï´Ù¸¸, ±ÇÀåµË´Ï´Ù. TAI ½Ã°£Âï±âÀÎ "delivery 153: success: did_1+0+0/"ÀÌ ¸Þ¼¼ÁöÀÔ´Ï´Ù.


5.6.2.3. ·Ï¸Þ¼¼Áö

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

1 @4000000038c3eeb027f41c7c new msg 93869
2 @4000000038c3eeb027f6b0a4 info msg 93869: bytes 2343 from <dave@sill.org> qp 18695 uid 49491
3 @4000000038c3eeb02877ee94 starting delivery 2392: msg 93869 to remote lwq@w3.to
4 @4000000038c3eeb0287b55ac status: local 0/10 remote 1/20
5 @4000000038c3eeb104a13804 delivery 2392: success: 209.85.127.177_accepted_message.
	/Remote_host_said:_250_CAA01516_Message_accepted_for_delivery/
6 @4000000038c3eeb104a4492c status: local 0/10 remote 0/20
7 @4000000038c3eeb104a6ecf4 end msg 93869

Á¦1¹øÁÙÀº Å¥¸ÞÀÏÀÌ »õ¸ÞÁ¦Áö¸¦ ¹Þ¾ÒÀ½À» ³ªÅ¸³»°í, Å¥¾ÆÀ̵ð´Â 93869ÀÔ´Ï´Ù. Å¥¾ÆÀ̵ð´Â ¸Þ¼¼Áö¸¦ ´ã´Â Å¥ÆÄÀÏÀÎ /var/qmail/queue/mess/NN/ÆÄÀÏÀÇ ¾ÆÀ̳ëµå¹øÈ£ÀÔ´Ï´Ù. Å¥¾ÆÀ̵ð´Â ¸Þ¼¼Áö°¡ Å¥¿¡ ÀÖ´Â µ¿¾ÈÀº °íÀ¯ÇÕ´Ï´Ù.

Á¦2¹øÁÙÀº ¸Þ¼¼Áö°¡ dave@sill.org¿¡¼­ ¿Ô°í 189¹ÙÀÕÀ̶ó°í ¾Ë·ÁÁÝ´Ï´Ù.

Á¦3¹øÁÙÀº qmail-remote°¡ ¸Þ¼¼Áö¸¦ lwq@w3.to·Î Àü´ÞÇÏ·Á°í ±âµ¿ÇÑ´Ù°í ¾Ë·ÁÁÖ¸ç, ¾ÆÀ̵ð 2392¸¦ Àü´Þ¿¡ ºÎ¿©ÇÕ´Ï´Ù.

Á¦4¹øÁÙÀº ·ÎÄÃÀü´ÞÀº 0°³, ¸®¸øÀü´ÞÀº 1°³°¡ °è·ùÁßÀ̶ó°í ¾Ë·ÁÁÝ´Ï´Ù.

Á¦5¹øÁÙÀº 2392¹ø Àü´ÞÀÌ ¼º°øÀ¸·Î ³¡³µ°í, ¿ø°Ý¼­¹öÀÇ ¹ÝÀÀÀ» µÇµ¹¸®´Âµ¥, ¶§¶§·Î ¿ø°Ý¸ÞÀϾֵå¹ÎÀÌ Àü´ÞÀ» ÃßÀûÇϴµ¥ À¯¿ëÇÑ Á¤º¸¸¦ Æ÷ÇÔÇÕ´Ï´Ù. À̹ø°æ¿ì¿¡¼­ "CAA01516"Àº ¿ø°Ý½Ã½ºÅÛÀÇ Àü´Þ¾ÆÀ̵ö´Ï´Ù.

Á¦6¹øÁÙÀº ·ÎÄÃÀü´Þ 0°³, ¿ø°ÝÀü´Þ 0°³°¡ °è·ùÁßÀ̶ó°í, Áï Àü´ÞÀ» ³¡¸¶ÃÆ´Ù°í, ¾Ë·ÁÁÝ´Ï´Ù.

Á¦7¹øÁÙÀº ¸Þ¼¼Áö¸¦ ¿ÏÀüÈ÷ Àü´ÞÇÏ°í Å¥¿¡¼­ Áö¿ü´Ù°í ¾Ë·ÁÁÝ´Ï´Ù. ¿©±â¿¡¼­ Å¥¾ÆÀ̵ðÀÎ 93869Àº ´Ù¸¥ Àü´Þ¿¡ ¶Ç »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.


5.7. ´ëÇü ¼­¹ö

qmail-ldapµµ º¸½Ê½Ã¿À.


5.7.1. Scalable parallelism

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


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

Dan BersteinÀÇ Sendmail -> qmailÆäÁö¸¦ http://cr.yp.to/qmail/sendmail.html¿¡¼­ º¸½Ã±â ¹Ù¶ø´Ï´Ù.


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

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

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


5.10. ezmlm

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

´õ ¾Ë°í ½ÍÀ¸½Ã¸é ºñ°ø½ÄÀ¥»çÀÌÆ®À̸鼭, À¯¿ë¼ºÀÌ Å©°í ¾ÆÁÖ ÈǸ¢ÇÑ ¾Ü¿ÂÀÎ ezmlm-idxÀÇ °ø½ÄȨÆäÀÌÁöÀÎ http://www.ezmlm.org¸¦ º¸½Ê½Ã¿À.


5.11. ¸ÞÀÌÀúµµ¸ð

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


5.12. ÆÐÄ¡

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

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

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

qmailctl stop
±×¸®°í³ª¼­ ´Ù½Ã ÄÄÆÄÀÏÇÏ°í ¹ÙÀ̳ʸ®¸¦ ¼³Ä¡ÇÕ´Ï´Ù.
make setup check
±×´ÙÀ½¿¡ ´Ù½Ã Å¥¸ÞÀÏÀ» ±âµ¿ÇÕ´Ï´Ù.
qmailctl start
³¡À¸·Î, Å¥¸ÞÀÏ, ƯÈ÷ ÆÐÄ¡ÇÑ ºÎºÐ,À» ½ÃÇèÇϽʽÿÀ.


5.13. DNS

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


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

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


5.13.2. Christopher K. DavisÀÇ ÆÐÄ¡

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


5.13.3. qmail-ldap

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


5.14. QMTP (Quick Mail Transfer Protocol)

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

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

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

Russ Nelson¾¾ÀÇ qmail-remote¿¡ ´ëÇÑ ÆÐÄ¡°¡ Àִµ¥ QMTP¸¦ Áö¿øÇÕ´Ï´Ù. /service¿¡ ¾ÐÃàÀ» Ç®°í QMTP ¼­ºñ½º¸¦ Áö¿øÇϴ Ÿº¼µµ ÀÖ½À´Ï´Ù.


A. ºÎ·Ï

A.1. »ç·Ê

¸ÕÀú ÀÌ·± °­·ÂÇÏ°í ¸Úµé¾îÁø ½Ã½ºÅÛÀ» ¼³°èÇÏ°í ¾´ Dan Bernstein¿¡°Ô °¨»ç¸¦ Ç¥½ÃÇÕ´Ï´Ù. 3³â°£ÀÇ »ç¿ëÈÄ¿¡µµ Å¥¸ÞÀÏÀº Àú¸¦ °¨µ¿ÇÏ°Ô ÇÕ´Ï´Ù.

Å¥¸ÞÀϸÞÀϸµ¸®½ºÆ®ÀÇ È¸¿øµé²²µµ °¨»çÇÏ°íÀÚ ÇÕ´Ï´Ù. Russell Nelson¾¾´Â °¡Àå Å« µµ¿ò°ú Àγ»¿Í Áö½Ä°ú Àç¹Ì¸¦ °øÇåÇÑ ºÐµé Áß Çϳª·Î Ưº°È÷ ¾ð±ÞÇÒ ¸¸ ÇÕ´Ï´Ù. Å¥¸ÞÀÏ°øµ¿Ã¼¿¡ ´ëÇÑ ±×ÀÇ °øÇåÀº ¿ÀÁ÷ DJB¿¡°Ô¸¸ µÚÁú»ÓÀÔ´Ï´Ù.

º»¹®¼­¿¡ °ËÅä¿Í ±â¿©¸¦ ÇϽŠ¸ðµç ºÐµé²²µµ »ç·Ê¸¦ µå¸³´Ï´Ù.

  • Vince Vielhaber

  • Chris Green

  • Christopher K. Davis

  • Scott Schwartz

  • Fred Lindberg

  • Russell P. Sutherland

  • Alex Miller

  • Tim Hunter

  • Frank D. Cringle

  • Mahlon Smith

  • Rogerio Brito

  • Tony Hansmann

  • Matthias Andree

  • Tillman Hodgson

  • Stefan Witzel

  • ¿©±â ¿­°ÅÇϱâ Èûµç ¿©·¯ ºÐµé ...

Henning Brauer¾¾²² Ưº°È÷ °¨»çµå¸®´Âµ¥, lifewithqmail.org µµ¸ÞÀÎÀ» Áּ̰í, ¶Ç È£½ºÆñîÁö ÇØÁֽʴϴÙ.

'Å¥¸ÞÀÏ°ú »î'Àº Simple Document Format (SDF)·Î ½è´Âµ¥, ¸Å¿ì ½Å¼±ÇÑ Perl¿¡ ±âÃÊÇÑ ¸¶Äžð¾î·Î¼­ HTML, Æò¹üÇÑ ¹®¼­, Æ÷½ºÆ®½ºÅ©¸³Æ®, POD, ±âŸ Çü½Ä¹®¼­ µîÀ» ¸¸µé¾î ³À´Ï´Ù. ±×°ÍÀ¸·Î ÀÏÀÌ ¸¹ÀÌ ½¬¾ú½À´Ï´Ù. ´õ¾Ë°í ½ÍÀ¸½Ã¸é http://www.mincom.com/mtr/sdf/¸¦ º¸½Ê½Ã¿À.


A.2. °ü·Ã ÆÐÅ°Áö

A.2.1. dot-forward

SendmailÀº dot forward¶ó°í ¹ßÀ½ÇÏ´Â .forwardÆÄÀÏÀ» »ç¿ëÇؼ­ »ç¿ëÀÚ°¡ ¼ö½Å¸Þ¼¼ÁöÀÇ Àü´ÞÀ» ÅëÁ¦Çϵµ·Ï ÇÕ´Ï´Ù. Å¥¸ÞÀϵµ À¯»çÇÑ ÀåÄ¡¸¦ ¾²´Âµ¥, .qmailÆÄÀÏÀÔ´Ï´Ù. dot-forwardÆÐÅ°Áö´Â Å¥¸ÞÀÏÀÌ .forwardÆÄÀÏÀ» »ç¿ëÇÒ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù. .forwardÆÄÀÏÀ» »ç¿ëÇÏ´Â SendmailÀ̳ª ¿©Å¸ MTA¸¦ ¿î¿µÇÏ´Â ½Ã½ºÅÛÀº ±âÁ¸ÀÇ .forwardÆÄÀÏÀ» .qmail¿¡ »óÀÀÇϴ°ÍÀ¸·Î º¯È¯ÇÏÁö ¾Ê±â À§Çؼ­, ¶Ç´Â ´Ü¼øÈ÷ Å¥¸ÞÀÏ·ÎÀÇ ÀÌÇàÀ» »ç¿ëÀڵ鿡°Ô ´ú ´«¿¡ ¶ç°Ô Çϱâ À§Çؼ­ dot-forwardÀÇ »ç¿ëÀ» °í·ÁÇØ¾ß ÇÒ Áöµµ ¸ð¸¨´Ï´Ù.

ÀÛÀº ÆÐÄÉÁöÀ̹ǷΠ¼³Ä¡ÇÏ°í ¼³Á¤ÇÏ´Â µ¥ ½±½À´Ï´Ù. ÇØ´ç ¼Ò½º´Â ftp://cr.yp.to/software/dot-forward-0.71.tar.gz¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

Dan BernsteinÀÌ ½è°í, ±×´Â °ü·ÃȨÆäÀÌÁö¸¦ http://cr.yp.to/dot-forward.html¿¡ °ü¸®ÇÕ´Ï´Ù.


A.2.2. fastforward

¶Ç´Ù¸¥ Sendmailȣȯ ¾Ü¿ÂÀÔ´Ï´Ù. SendmailÀº Áß¾Ó¾Ù¸®¾î½ºµ¥ÀÌÅͺ£À̽º¸¦ ´ë°³ /etc/aliases¶ó´Â ´ÜÀÏÆÄÀÏ¿¡ º¸°üÇÕ´Ï´Ù. Å¥¸ÞÀÏÀº /var/qmail/alias¿¡ ÀÖ´Â ÀÏ·ÃÀÇ dot-qmailÆÄÀϵéÀ» »ç¿ëÇϴµ¥, ÇÑ ÆÄÀÏ¿¡ ÇÑ ¾Ù¸®¾î½ºÀÔ´Ï´Ù. Å¥¸ÞÀÏ·Î ¿Å±â½Ã´Âµ¥ º¯È¯ÇÏ°í ½ÍÁö ¾ÊÀº SendmailÇü½ÄÀÇ ¾Ù¸®¾î½ºÆÄÀÏÀÌ ÀÖÀ¸½Ã¸é, fastforward°¡ Å¥¸ÞÀÏ¿¡°Ô ¾Ù¸®¾î½ºÆÄÀÏÀ» ÀÖ´Â ±×´ë·Î ¾µ ¼ö ÀÖ°Ô ÇØÁÝ´Ï´Ù.

ÇØ´ç ¼Ò½º´Â ftp://cr.yp.to/software/fastforward-0.51.tar.gz¿¡¼­ ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

Dan BernsteinÀÌ ½è°í, ±×´Â http://cr.yp.to/fastforward.html¿¡ À¥ÆäÁö¸¦ °ü¸®ÇÕ´Ï´Ù.


A.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¸¦ ¼±È£ÇÏ´Â ÀÌÀ¯´Â ´ÙÀ½°ú °°½À´Ï´Ù.

  • ¼­ºñ½º·ÎÀÇ µ¿½ÃÁ¢¼Ó¼ö¸¦ Á¦ÇÑÇÒ ¼ö ÀÖ½À´Ï´Ù. inetd´Â Á¢¼Ó·üÁ¦ÇÑÀåÄ¡¸¦ ¾²¹Ç·Î ³Ê¹«¹Ù»Û ¼­ºñ½º¸¦ Àá½Ã ¹«·ÂÇÏ°Ô ÇÒ ¼ö ÀÖ½À´Ï´Ù.

  • ƯÁ¤ È£½ºÆ®¿¡°Ô Á¢±Ù°ÅºÎÇϵµ·Ï Çϰųª, "·ÎÄÃ"È£½ºÆ®¸¦ ÀνÄÇÏ°í ½ÅÈ£¸¦ ºÎ¿©Çؼ­ qmail-smtpd°¡ ´Ù¸£°Ô Ãë±ÞÇϵµ·Ï ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.

  • Å¥¸ÞÀÏÀÇ ÀúÀÚ°¡ Áö¿øÇÏ´Â À¯ÀÏÇÑ ¼­¹öÀÔ´Ï´Ù.

ÇØ´ç ¼Ò½º´Â ftp://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

Gerrit Pape¾¾²²¼­ ¸ÇÆäÁö½ÄÀ¸·Î ¹®¼­¸¦ Á¦°øÇÕ´Ï´Ù.

Dan BernsteinÀÌ ½è°í, http://cr.yp.to/ucspi-tcp.html¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù.


A.2.4. daemontools

¼­ºñ½º¸¦ ÅëÁ¦ÇÏ°í °¨½ÃÇÏ´Â À¯Æ¿¸®Æ¼±ºÀ» ´ã°í ÀÖ½À´Ï´Ù. Çʼö»çÇ×Àº ¾Æ´Õ´Ï´Ù¸¸, ƯÈ÷ ¹Ù»Û½Ã½ºÅÛ¿¡°Ô´Â °­·ÂÈ÷ ±ÇÀåÇÕ´Ï´Ù. Æ÷ÇÔÇÏ´Â À¯Æ¿¸®Æ¼µéÀº ´ÙÀ½°ú °°½À´Ï´Ù.

  • supervise: ¼­ºñ½º¸¦ °¨½ÃÇÏ°í, ³¡³ª¸é ´Ù½Ã ½ÃÀÛÇÕ´Ï´Ù.

  • svc: supervise¿Í Åë½ÅÇؼ­ ¼­ºñ½º¸¦ ¸ØÃß°í, ½¬°í, ´Ù½Ã½ÃÀÛÇÏ°Ô ÇÕ´Ï´Ù.

  • multilog: ¼­ºñ½º¿¡ ´ëÇÑ ·Î±×¸¦ À¯ÁöÇÏ°í, ¼³Á¤ÇÑ Å©±âÀÌÇÏ·Î À¯ÁöÇÒ ¼ö ÀÖ°Ô ÀÚµ¿À¸·Î ±³´ë½Ãŵ´Ï´Ù.

  • accustamp: ·Î±×±âÀç»çÇ×À» Á¤È®ÇÏ°Ô ½Ã°£Âï±âÇÕ´Ï´Ù.

  • setuidgid: ÀϹݻç¿ëÀÚÀÇ UID¿Í GID·Î ¼öÆÛÀ¯ÀúÀÇ ÇÁ·Î±×·¥À» µ¹¸³´Ï´Ù.

ÇØ´ç¼Ò½º´Â http://cr.yp.to/daemontools/daemontools-0.70.tar.gz¿¡¼­ ±¸ÇϽǼö ÀÖ½À´Ï´Ù.

Gerrit Pape¾¾²²¼­ ucspi-tcpdaemontools ¿¡ ´ëÇÑ ¸ÇÆäÁö½ÄÀ¸·Î ¹®¼­¸¦ Á¦°øÇÕ´Ï´Ù.

Dan BernsteinÀÌ ½è°í, http://cr.yp.to/daemontools.html¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù.


A.2.5. qmailanalog

Å¥¸ÞÀÏÀÇ ·Î±×ÆÄÀÏÀ» ó¸®ÇÏ°í ÇØ´ç ½Ã½ºÅÛÀÌ ¾ó¸¶³ª ±×¸®°í ¾î¶² ÀÏÀ» ÇÏ°í ÀÖ´Â Áö ¾Ë¸®´Â ÀÏ·ÃÀÇ º¸°í¼­¸¦ ¸¸µì´Ï´Ù. ¾ó¸¶³ª ¸¹Àº ¸Þ¼¼Áö¸¦ ÁÖ°í ¹Þ¾Ò´Â Áö, ¾ó¸¶³ª Å« Áö, ¾ó¸¶³ª »¡¸® 󸮵Ǵ Áö µî¿¡ ´ëÇÑ Åë°è°¡ ÇÊ¿äÇϸé, qmailanalog°¡ ¹Ù·Î ±×°ÍÀÔ´Ï´Ù.

º¸³Ê½º·Î matchupÇÁ·Î±×·¥Àº Å¥¸ÞÀÏÀÇ ¸Å Àü´Þ´ç º¹¼ö·Î±×ÇàÀ» Çϳª·Î ¸¸µå´Âµ¥, ÀÌ¹Ì Àͼ÷ÇÑ Sendmail·Î±×¿Í ´Ù¸£Áö ¾Ê½À´Ï´Ù.

ÇØ´ç¼Ò½º´Â http://cr.yp.to/software/qmailanalog-0.70.tar.gz.¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

Dan BernsteinÀÌ ½è°í, http://cr.yp.to/qmailanalog.html¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: qmailanalog´Â accustamp°¡ »ç¿ëÇÏ´Â ÃÊ°¡ ³ª´©¾îÁö´Â ¸Å¿ì ±ä ÀÔ·Â ½Ã°£Âï±â¿¡ ÀÇÁ¸ÇÕ´Ï´Ù. TAI64NÇü½ÄÀÇ multilogÀÌ ¸¸µå´Â ·Î±×¿Í °°ÀÌ ¾²·Á¸é ±¸Çü½ÄÀ¸·Î º¯È¯ÇØ¾ß ÇÕ´Ï´Ù. http://www.qmail.org/tai64nfrac¿¡¼­ ±×·± ÇÁ·Î±×·¥À» ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

-------------------------------------------------------------


A.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) µîÀÌ ±×°ÍÀÔ´Ï´Ù.

rblsmtpd´Â RBL SMTP µ¥¸óÀÔ´Ï´Ù. tcpserver¿Í qmail-smtpdÀÇ »çÀÌ¿¡ ÀÖÀ¸¸é¼­ ÀÌ ¸®½ºÆ®»ó¿¡¼­ È®ÀÎµÈ ½Ã½ºÅÛÀ¸·ÎºÎÅÍÀÇ Á¢¼ÓÀ» °ÅºÎÇÕ´Ï´Ù.

tcpserver¿¡¼­ rblsmtpd¸¦ ¿î¿µÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ Çϼ¼¿ä.

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
	 -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/rblsmtpd\
	 -r blackholes.mail-abuse.org /var/qmail/bin/qmail-smtpd 2>&1

rblsmtpd´Â Àü¿¡´Â º°°³ÇÁ·Î±×·¥À̾úÁö¸¸, Áö±ÝÀº ucspi-tcp¿¡ °°ÀÌ Á¦°øµË´Ï´Ù.

Dan BernsteinÀÌ ½è°í, http://cr.yp.to/ucspi-tcp/rblsmtpd.html¿¡ À¥ÆäÁö¸¦ À¯ÁöÇÕ´Ï´Ù.


A.2.7. serialmail

Å¥¸ÞÀÏÀº Àü½Ã°£, °í¼ÓÁ¢¼ÓÀÇ ½Ã½ºÅÛÀ» À§ÇØ ¼³°èµÇ¾ú½À´Ï´Ù. serialmailÀº Å¥¸ÞÀÏÀ» °£ÇæÀûÀÌ°í Àú¼Óµµ Á¢¼Ó¿¡ ´õ Àß ¸Â°Ô ÇÏ´Â Åø±ºÀÔ´Ï´Ù. ±×·± ½Ã½ºÅÛ»óÀÇ serialmail·Î Å¥¸ÞÀÏÀº ¸ðµç ¿ø°Ý¸ÞÀÏÀ» ´ÜÀÏ maildir·Î Àü´ÞÇϵµ·Ï ¼³Á¤µË´Ï´Ù. serialmailÀÇ maildir2smtp¸í·ÉÀº Á¢¼ÓÀÌ µÇ¾úÀ» ¶§ ISPÀÇ ¸ÞÀÏÇãºê·Î maildir¸¦ ¿Ã¸®´Â µ¥ »ç¿ëµË´Ï´Ù. ISP°¡ QMTP (°í±ÞÁÖÁ¦ÀÇ QMTP ¸¦ º¸½Ê½Ã¿À.)¸¦ Áö¿øÇϸé, maildirqmtpµµ ¾µ ¼ö ÀÖ½À´Ï´Ù.

serialmailÀº Á¢¼ÓÀÇ ISPÃø¿¡¼­ AutoTURNÀ» ±¸ÇöÇϴµ¥ »ç¿ëµÉ ¼ö Àִµ¥, Ŭ¶óÀ̾ðÆ®°¡ ÇÏ´Â SMTPÁ¢¼ÓÀº ¼­¹ö°¡ Á¢¼ÓÀ» Ŭ¶óÀ̾ðÆ®·Î µ¹·Á¼­ ¼­¹ö¿¡ Å¥µÈ ¸Þ¼¼Áö¸¦ Ŭ¶óÀ̾ðÆ®·Î º¸³»µµ·Ï ÇÕ´Ï´Ù. ÀÌ°ÍÀº ETRN SMTP±â´É°ú À¯»çÇÕ´Ï´Ù.

ÇØ´ç¼Ò½º´Â http://cr.yp.to/software/serialmail-0.75.tar.gz¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

Dan BernsteinÀÌ ½è°í, http://cr.yp.to/serialmail.html¿¡ À¥ÆäÁö¸¦ À¯ÁöÇÕ´Ï´Ù.


A.2.8. mess822

RFC 822¸¦ µû¸£´Â ¸Þ¼¼Áö¸¦ Çؼ®ÇÏ´Â ÀÀ¿ëÁ¦Ç°±º°ú ¶óÀÔ·¯¸®ÀÔ´Ï´Ù. ÀÀ¿ëÁ¦Ç°Àº ´ÙÀ½°ú °°½À´Ï´Ù.

  • ofmipd: Ŭ¶óÀ̾ðÆ®·ÎºÎÅÍ ¸Þ¼¼Áö¸¦ ¹Þ¾Æ¼­ FromÇʵ带 µ¥ÀÌÅͺ£À̽º¿¡ ±âÃÊÇؼ­ ÀçÀÛ¼ºÇÏ´Â µ¥¸ó

  • new-inject: »ç¿ëÀÚÅëÁ¦ÇÏ¿¡ È£½ºÆ®³×ÀÓÀ» ÀçÀÛ¼ºÇÏ´Â °ÍÀ» Áö¿øÇÏ´Â qmail-inject´ëÁ¦Ç°

  • iftocc: ¸Þ¼¼Áö°¡ ƯÁ¤ÁÖ¼Ò·Î º¸³»Á³´Â Áö¸¦ °Ë»çÇÏ´Â .qmail À¯Æ¿¸®Æ¼

  • 822header, 822field, 822date, 822received: ¸Þ¼¼Áö¿¡¼­ Á¤º¸¸¦ ÃßÃâ

  • 822print: ¸Þ¼¼Áö¸¦ ¿¹»Ú°Ô ÇÁ¸°Æ®

ÇØ´ç ¼Ò½º´Â http://cr.yp.to/software/mess822-0.58.tar.gz¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

Dan BernsteinÀÌ ½èÀ¸¸ç http://cr.yp.to/mess822.html¿¡ À¥ÆäÁö¸¦ À¯ÁöÇÕ´Ï´Ù.


A.2.9. ezmlm

¼º´ÉÀÌ ¿ì¼öÇÏ°í »ç¿ëÇϱ⠽¬¿î Å¥¸ÞÀÏ¿ë ¸ÞÀϸµ¸®½ºÆ®¸Å´ÏÀúÀÔ´Ï´Ù. LISTSERV³ª Majordomo¿¡ Àͼ÷ÇÏ½Ã´Ù¸é ¸ÞÀϸµ¸®½ºÆ®¸Å´ÏÀú°¡ ¹«¾ùÀ» ÇÏ´Â Áö ¾Æ½Ç°Ì´Ï´Ù. Å¥¸ÞÀÏ¿¡¼­ÀÇ ¸ÞÀϸµ¸®½ºÆ®¿¡ ´ëÇØ ´õ ¾Ë°í ½ÍÀ¸½Ã¸é °í±ÞÁÖÁ¦ÀÇ ¸ÞÀϸµ¸®½ºÆ®¸Å´ÏÀúÇ׸ñÀ» º¸½Ê½Ã¿À.

ÇØ´ç¼Ò½º´Â http://cr.yp.to/software/ezmlm-0.53.tar.gz¿¡¼­ ±¸ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.

Dan BernsteinÀÌ ½è°í, http://cr.yp.to/ezmlm.html¿¡ °ü·ÃÀ¥ÆäÁö°¡ ÀÖ½À´Ï´Ù.

Fred Lindberg¾¾¿Í Fred B. Ringel¾¾²²¼­ ezmlm-idx¶ó´Â ezmlmÀÇ È®ÀåÆÐÅ°Áö¸¦ ¸¸µå¼Ì´Âµ¥, ±â´ÉÀÌ ¸¹À¸´Ï±î Çѹø ½áº¸¼¼¿ä.


A.2.10. safecat

ÆÄÀÏÀ» maildir¸ÞÀϺ¹½º¿¡ È®½ÇÈ÷ ¾¹´Ï´Ù. Ưº°È÷ procmail ¹æ¹ýÀ¸·Î ¸Þ¼¼Áö¸¦ º¸°üÇÏ´Â µ¥ À¯¿ëÇÕ´Ï´Ù. ¿¹¸¦ µé¸é, ´ÙÀ½¹æ¹ýÀº ¸Þ¼¼Áö¸¦ ¸ðµÎ Maildir¿¡ º¸°üÇÕ´Ï´Ù.

:0w							 
|safecat Maildir/tmp Maildir/new

Len Budney°¡ ½è°í, http://www.pobox.com/~lbudney/linux/software/safecat.html¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÏ°í ÀÖ½À´Ï´Ù.


A.2.11. maildrop

procmail°ú À¯»çÇÑ ¸ÞÀÏÇÊÅÍÀÔ´Ï´Ù. (ÆÐÄ¡¸¦ ÇÏÁö¾ÊÀº) procmailÀÌ °®Áö ¾ÊÀº Ư¡ Çϳª´Â maildir¸ÞÀϺ¹½º¸¦ Áö¿øÇÑ´Ù´Â °ÍÀÔ´Ï´Ù.

Sam VarshavchikÀÌ ½è°í, http://www.flounder.net/~mrsam/maildrop¿¡ À¥ÆäÁö¸¦ ¿î¿µÇÕ´Ï´Ù.


A.3. ÀÎÅͳݸÞÀÏÀÇ µ¿ÀÛ¹æ¹ý

A.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 <bob@beta.example.com>"·Î ¹Ù²ã¼­) 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°¡ ±× ¸Þ¼¼Áö¸¦ Àо º¸¿©ÁÙ ¶§±îÁö ±×ÀÇ ¸ÞÀϺ¹½º¿¡ ´ë±âÇÕ´Ï´Ù.


A.3.2. ´õ¸¹ÀºÁ¤º¸

ÀÎÅͳݸÞÀÏÀÌ ¾î¶»°Ô ÀÛµ¿ÇÏ´Â Áö¿¡ ´ëÇÑ Á¤º¸´Â ´ÙÀ½Áß ÇϳªÀÌ»óÀ» º¸½Ê½Ã¿À.


A.3.3. ÀÎÅÍ³Ý RFCµé

ÀÎÅͳÝÀÇ Requests for Comment (RFC's)´Â ÀÎÅͳÝÀÇ °ø½Ä¹®¼­ÀÔ´Ï´Ù. ÀÌ°Íµé ´ëºÎºÐÀº ºñÆò´Ü°è¸¦ ÈξÀ ³Ñ¾î¼­ TCP, FTP, Telnet µîÀÇ ÀÎÅͳÝÇÁ·ÎÅäÄÝ°ú ¿©·¯ ´Ù¾çÇÑ ¸ÞÀÏÇ¥ÁØ°ú ÇÁ·ÎÅäÄÝÀ» Á¤ÀÇÇÕ´Ï´Ù.

¸ÞÀÏ°ü·Ã RFCµéÀÇ Àüü¸®½ºÆ®¸¦ Internet Mail Consortium ¿¡¼­ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù.


A.4. ±¸Á¶

A.4.1. ¸ðµâ½Ã½ºÅÛ±¸Á¶

ÀÎÅÍ³Ý MTA´Â ´Ù¾çÇÑ ÀÏÀ» ÇÕ´Ï´Ù. Sendmail°ú smail µîÀÇ Ãʱ⠵ðÀÚÀÎÀº ´ÜÀϱ¸¼ºÃ¼ÀÔ´Ï´Ù. ´Ù¸¥ ¸»·Î, ÇϳªÀÇ Ä¿´Ù¶õ º¹ÇÕÀ¸·Î¼­ '¸ðÀÚ¸¦ ¹Ù²ã¾²´Â' ½ÄÀε¥, SMTP¼­¹ö°¡ µÇ·Á°í ÇÑ ¸ðÀÚ¸¦ ¾²°í, SMTPŬ¶óÀ̾ðÆ®°¡ µÇ·Á°í ´Ù¸¥ ¸ðÀÚ¸¦ ¾²°í, ¶Ç ¸Þ¼¼Áö¸¦ ·ÎÄ÷Π»ðÀÔÇÏ·Á°í ´Ù¸¥ ¸ðÀÚ¸¦ ¾²°í, Å¥¸¦ °ü¸®ÇÏ·Á°í ´Ù¸¥ ¸ðÀÚ¸¦ ¾¹´Ï´Ù.

Å¥¸ÞÀÏÀº ¸ðµâ¹æ½ÄÀÔ´Ï´Ù. À§ÀÇ °¢ ±â´ÉµéÀ» º°°³ÀÇ ÇÁ·Î±×·¥À¸·Î ¼öÇàÇÕ´Ï´Ù. µû¶ó¼­, ÇÁ·Î±×·¥µéÀº ÈξÀ ´õÀÛ°í, ´õ°£´ÜÇϸç, ±â´ÉÀ̳ª º¸¾ÈÀÇ ¹÷ÀÌ ´õ Àû½À´Ï´Ù. º¸¾ÈÀ» ´õ °­È­Çϱâ À§Çؼ­, Å¥¸ÞÀϸðµâÀº »óÀÌÇÑ Æ¯±ÇÀ¸·Î ¿îÇàÇÏ°í, ¼­·Î "±â´ë"ÇÏÁö ¾Ê±â ¶§¹®¿¡, ´Ù¸¥ ¸ðµâÀÌ ´Ã ÇÏ´ø´ë·Î Çϸ®¶ó°í ÃßÁ¤ÇÏÁö ¾Ê½À´Ï´Ù. < /para>

ÇٽɸðµâµéÀÔ´Ï´Ù.

표 A-1. Çٽɸðµâ

¸ðµâ ±â´É
qmail-smtpd SMTP¸¦ ÅëÇÑ ¸Þ¼¼ÁöÀÇ ¼ö¿ë°ú °ÅÀý
qmail-inject ¸Þ¼¼ÁöÀÇ ·ÎÄûðÀÔ
qmail-rspawn/qmail-remote ¿ø°ÝÀü´Þó¸®
qmail-lspawn/qmail-local ·ÎÄÃÀü´Þó¸®
qmail-send ťó¸®
qmail-clean ťû¼Ò

¸ðµâ¹æ½Ä¿¡´Â ´ÜÁ¡µµ ÀÖ½À´Ï´Ù. ´ÜÀϱ¸¼ºÃ¼ÀÇ MTA¿Í ´Þ¸®, ¸ðµâ°£ »óÈ£ÀÛ¿ëÀº ÀßÁ¤ÀǵǾîÀ־ ¸ðµâÀº ÃÖ¼ÒÇÑÀÇ ÇÊ¿äÁ¤º¸¸¸ ¼­·Î ±³È¯ÇÕ´Ï´Ù. ÀÌ´Â ´ë°³ 'ÁÁÀºÀÏ'ÀÌÁö¸¸, ¶§·Î´Â ÀÏÀ» ÇϱⰡ ¾î·Æ°Ô ÇÕ´Ï´Ù. ¿¹¸¦ µé¸é, sendmailÀÇ "-v"Ç÷¢Àº µð¹ö±ë¸ñÀûÀ¸·Î SendmailÀÌ µ¿ÀÛ±ËÀûÀ» Ç¥ÁØÃâ·ÂÀ¸·Î ³»º¸³À´Ï´Ù. ÇÑ sendmail¹ÙÀ̳ʸ®°¡ »ðÀÔ, Å¥, ¾ÙÀ̾ó¸®, .forwardÆÄÀÏó¸®, SMTP¸¦ ÅëÇÑ ¿ø°Ý¼ÛºÎ µîÀ» ´ÙÇϱ⶧¹®¿¡, ¸Þ¼¼Áö¸¦ Àü´ÞÇÒ¶§±îÁöÀÇ ÀüüÀü´ÞÀ» ½±°Ô ÃßÀûÇÒ ¼ö ÀÖ½À´Ï´Ù. Å¥¸ÞÀÏ¿¡ µ¿µîÇÑ ´É·ÂÀº ¾ø°í, ¸ðµâ¿¡¼­ ¸ðµâ·Î "µð¹÷"Ç÷¢À» °Ç³×ÁÖ´Â °ÍÀ» ±¸ÇöÇÏ·Á¸é ¾öû³ª°Ô Äڵ带 °íÃÄ¾ß ÇÏ°í, ´õ º¹ÀâÇØÁý´Ï´Ù.


A.4.2. ÆÄÀϱ¸Á¶

/var/qmailÀÌ Å¥¸ÞÀÏÆÄÀϱ¸Á¶ÀÇ ±Ùº»ÀÔ´Ï´Ù. Å¥¸ÞÀÏÀ» ÄÄÆÄÀÏÇÒ¶§ ¹Ù²Ü ¼ö´Â ÀÖÁö¸¸, ´Ù¸¥ ¾Öµå¹ÎÀÌ ¹«¾ùÀΰ¡¸¦ ¾îµð¿¡¼­ ã¾Æ¾ß ÇÒ Áö ¾Ë°Ô ±×´ë·Î µÎ¾î¾ß ÁÁ½À´Ï´Ù. Å¥¸ÞÀÏÆ®¸®ÀÇ ÀϺΠ¶Ç´Â ÀüºÎ¸¦ ´Ù¸¥°÷¿¡ ²À ³õ°í ½ÍÀ¸¸é, ½Éº¼¸¯¸µÅ©¸¦ ÀÌ¿ëÇÏ´Â °ÍÀÌ ³º½À´Ï´Ù. ÀÚ¼¼ÇÑ ³»¿ëÀº ¼³Ä¡Ç׸ñÀÇ µð·ºÅ丮¸¸µé±âÇ׸ñÀ» º¸½Ã±â ¹Ù¶ø´Ï´Ù.

Åé·¹º§ ¼·µð·ºÅ丮ÀÔ´Ï´Ù.

표 A-2. ¼·µð·ºÅ丮

µð·ºÅ丮 ³»¿ë
alias ½Ã½ºÅÛÀü¹ÝÀÇ ¾Ù¸®¾î½º¿¡ ´ëÇÑ .qmail ÆÄÀÏ
bin ÇÁ·Î±×·¥¹ÙÀ̳ʸ®¿Í ½ºÅ©¸³Æ®
boot ±âµ¿½ºÅ©¸³Æ®
control ¼³Á¤ÆÄÀÏ
doc ¹®¼­ (¸ÇÆäÁö Á¦¿Ü)
man ¸ÇÆäÁö
queue º¸³»±âÀü¸Þ¼¼ÁöÀÇ Å¥
users Å¥¸ÞÀÏ»ç¿ëÀÚ µ¥ÀÌÅͺ£À̽º ÆÄÀÏ

A.4.3. Å¥±¸Á¶

ÄÄÆÄÀϵð·ºÅ丮ÀÇ INTERNALSÆÄÀÏ¿¡ Å¥ÀÇ ÀÚ¼¼ÇÑ ³»¿ëÀ» ´õ Àß ¼³¸íÇسõ¾Ò½À´Ï´Ù. ´ÙÀ½Àº Å¥±¸Á¶ÀÇ Á»´õ ³ÐÀº °³¿äÀÔ´Ï´Ù.

표 A-3. Å¥±¸Á¶

¼·µð·ºÅ丮 ³»¿ë
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 µîÀ» ½á¼­ ¼öµ¿À¸·Î ±×°ÍµéÀ» ¿òÁ÷ÀÌÁö ¸øÇÕ´Ï´Ù. Å¥ÆÄÀÏÀ» Á¤È®ÇÏ°Ô À̸§¹Ù²Ù´Â »ç¿ëÀÚ°øÇå À¯Æ¿¸®Æ¼°¡ http://www.qmail.org¿¡ µÎ¾î°³ ÀÖ½À´Ï´Ù.

-------------------------------------------------------------

À¯ÀÇÁ¡: Å¥¸ÞÀÏÀÌ °¡µ¿Áß¿¡´Â Å¥¸ÞÀÏÆÄÀÏÀ» ¼öÁ¤ÇÏÁö ¾Ê¾Æ¾ß ÁÁ½À´Ï´Ù. Å¥¸¦ ¼öÁ¤ÇÏ·Á¸é, ¸ÕÀú Å¥¸ÞÀÏÀ» ¸ØÃß°í, Å¥¸¦ Á¶½ÉÇÏ¿© ´Ù·ç°í, ´Ù½Ã Å¥¸ÞÀÏÀ» °¡µ¿ÇϽʽÿÀ.

-------------------------------------------------------------


A.4.4. »çÁø

/var/qmail/doc¿¡ PIC·Î À̸§À» ½ÃÀÛÇÏ´Â ÆÄÀϵéÀÌ Á× ÀÖ½À´Ï´Ù. À̵éÀº Å¥¸ÞÀÏÀÌ °¨´çÇÏ´Â ´Ù¾çÇÑ »óÅÂÀÇ ¹®Àå"»çÁø"ÀÔ´Ï´Ù. ´Ù¾çÇÑ ¸ðµâÀ» ÅëÇÑ ÅëÁ¦È帧À» º¸¿©ÁÖ¸ç, º¹ÀâÇÑ ¼³Á¤À» ¸¸µé°í µð¹ö±ëÇÏ´Â µ¥ Å« µµ¿òÀÌ µË´Ï´Ù.

표 A-4. »çÁøµé

ÆÄÀÏÀ̸§ °³¿ä
PIC.local2alias ·ÎÄþٸ®¾î½º¿¡ Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö
PIC.local2ext È®ÀåÁÖ¼Ò·Î Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö
PIC.local2local ·ÎÄûç¿ëÀÚ¿¡°Ô Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö
PIC.local2rem ¿ø°ÝÁÖ¼Ò·Î Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö
PIC.local2virt ·ÎÄùöÃ߾󵵸ÞÀλóÀÇ ÁÖ¼Ò·Î Àü´ÞÇÑ ·ÎÄûðÀÔ¸Þ¼¼Áö
PIC.nullclient ³ÎŬ¶óÀ̾ðÆ®¿¡ »ðÀÔÇÑ ¸Þ¼¼Áö
PIC.relaybad ·ÎÄÃÈ£½ºÆ®¸¦ Áß°è·Î »ç¿ëÇÏ´Â ½ÃµµÀÇ ½ÇÆÐ
PIC.relaygood ·ÎÄÃÈ£½ºÆ®¸¦ Áß°è·Î »ç¿ëÇÏ´Â ½ÃµµÀÇ ¼º°ø
PIC.rem2local SMTP¸¦ ÅëÇØ ¹ÞÀº ·ÎÄûç¿ëÀÚ¿¡·ÎÀÇ ¸Þ¼¼Áö

ÀÌ ÆÄÀϵéÀº http://www.qmail.org/man/index.html¿¡¼­ ¿Â¶óÀÎÀ¸·Î ±¸ÇÒ ¼ö ÀÖ½À´Ï´Ù.

Å¥¸ÞÀÏÀÇ ÁøÂ¥»çÁøÀ» ¿øÇϽŴٸé, Andre OppermanÀÇ "´ëÇüÅ¥¸ÞÀÏ»çÁø"À» http://www.nrg4u.com/¿¡¼­ º¸½Ê½Ã¿À.


A.5. µå¹® (¾î¼´Ù Çѹø¾¿ ¹¯´Â) Áú¹®µé

À̰͵éÀº ÀÚÁÖ ¹¯Áö´Â ¾ÊÁö¸¸ Áß¿äÇÏ°í ´ë´äÇϱ⵵ ½±Áö ¾ÊÀº Áú¹®µéÀÔ´Ï´Ù.


A.5.1. Å¥¸ÞÀÏÀº Áö¿¬¸Þ¼¼Áö¸¦ ¾î´À Á¤µµ ÀÚÁÖ º¸³À´Ï±î?

¸Þ¼¼Áö¸¶´Ù Àç½Ãµµ½Ã°£Ç¥°¡ ÀÖ½À´Ï´Ù. ¸Þ¼¼Áö°¡ Àü´ÞºÒ´ÉÀ¸·Î ¿À·¡ ÀÖÀ»¼ö·Ï, Å¥¸ÞÀÏÀº ±×°ÍÀ» ´ú ÀÚÁÖ º¸³»·Á°í ÇÕ´Ï´Ù. Àç½Ãµµ½Ã°£Ç¥´Â ¼³Á¤ÇÒ ¼ö ¾ø½À´Ï´Ù. ´ÙÀ½ Å×À̺íÀº ¿ø°Ý¼ö½ÅÀÚ¿¡°Ô °¡´Â Àü´ÞºÒ´ÉÀÎ ¸Þ¼¼Áö°¡ ¹Ù¿î½ºµÉ¶§±îÁöÀÇ Àç½Ãµµ½Ã°£Ç¥¸¦ º¸¿©ÁÝ´Ï´Ù. ·ÎÄø޼¼Áö´Â ºñ½ÁÇÏÁö¸¸, ´õ ÀæÀº ½Ã°£Ç¥¸¦ »ç¿ëÇÕ´Ï´Ù.

표 A-5. Àü´Þ½Ãµµ½Ã°£Ç¥

Àü´Þ½ÃµµÃʳ¯-½Ã:ºÐ:ÃÊ
1 S00-00:00:00
24000-00:06:40
316000-00:26:40
436000-01:00:00
564000-01:46:40
6100000-02:46:40
7144000-04:00:00
8196000-05:26:40
9256000-07:06:40
10324000-09:00:00
11400000-11:06:40
12484000-13:26:40
13576000-16:00:00
14676000-18:46:40
15784000-21:46:40
16900001-01:00:00
171024001-04:26:40
181156001-08:06:40
191296001-12:00:00
201444001-16:06:40
211600001-20:26:40
221764002-01:00:00
231936002-05:46:40
242116002-10:46:40
252304002-16:00:00
262500002-21:26:40
272704003-03:06:40
282916003-09:00:00
293136003-15:06:40
303364003-21:26:40
313600004-04:00:00
323844004-10:46:40
334096004-17:46:40
344356005-01:00:00
354624005-08:26:40
364900005-16:06:40
375184006-00:00:00
385476006-08:06:40
395776006-16:26:40
406084007-01:00:00

A.5.2. Àú´Â MX°¡ ¸¹Àº ´ëÇü»çÀÌÆ®¿¡ ¸ÅÀÏÀ» º¸³»Áö ¸øÇϴµ¥ ¿Ö±×·¸ÁÒ?

´ÙÀ½ÀÇ ¸Þ¼¼Áö¸¦ ¹Þ´Â´Ù¸é,

deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/

¹®Á¦´Â Å¥¸ÞÀÏÀÌ ´ëÇü³×ÀÓ¼­¹öÁúÀÇÀÀ´äÀ» ó¸®ÇÏÁö ¸øÇؼ­ÀÔ´Ï´Ù. ÆÐÄ¡¸¦ ¼³Ä¡Çؼ­ °íĨ´Ï´Ù. °í±ÞÁÖÁ¦¿¡¼­ ÆÐÄ¡¸¦ º¸½Ã±â ¹Ù¶ø´Ï´Ù.

¾î¶²»ç¶÷Àº ÀÌ·±½Ã½ºÅÛ¿¡ ´ê´Âµ¥ ¹®Á¦°¡ ¾ø´Âµ¥ ¿Ö±×·¯³Ä°í Áú¹®ÇÒ ¼öµµ ÀÖ½À´Ï´Ù. ¿ø·¡, ŸÀְ̹ú ·ÎÄó×ÀÓ¼­¹ö¿¡ ÇÑ ÁúÀǼø¼­¿¡ ÀÇ°ÅÇÏ¿©, "aol.com"¿¡ ´ëÇÑ '¾Æ¹«·±' ÁúÀÇ¿¡ ´ëÇÑ ÀÀ´äÅ©±â°¡ UDPÆÐŶÇÑ°èÀÎ 512¹ÙÀÕº¸´Ù Ŭ ¼öµµ ÀÖ°í, ±×·¸Áö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù.

A¿Í MX·¹Äڵ尡 ½Ã°£ÃÊ°úÇϸé "±×·²¼öµµ" ÀÖÁö¸¸, NS·¹ÄÚµå´Â ±×·¸Áö ¾Ê½À´Ï´Ù. .COM¼­¹ö´Â 2ƲÀÇ ¼ö¸í½ÃÇÑ (TTL)À» ¼³Á¤ÇسõÁö¸¸, AOLÀº ·¹Äڵ忡 1½Ã°£ÀÇ ¼ö¸í½ÃÇÑÀ» ¼³Á¤ÇسõÀ¸¹Ç·Î, ´ú¹Ù»Û ³×ÀÓ¼­¹ö¿¡¼­ ÀÌ·¯ÇÑ ÀÏÀÌ Á¾Á¾ ÀϾ´Ï´Ù. ´õ¹Ù»Û ³×ÀÓ¼­¹ö´Â ƯÁ¤½Ã°£¿¡ ±× ·¹ÄÚµåµéÀº ij½¬¿¡ °®°í Àֱ⠶§¹®¿¡ ÆÐÄ¡ÇÏÁö ¾ÊÀº Å¥¸ÞÀÏÀÌ CNAMEÀ» Á¡°ËÇÏ·Á´Â ½Ãµµ¸¦ ¹«»öÇÏ°Ô ÇÕ´Ï´Ù.

´õÁÁÀº ½ÃÇèÀº nosuchuser@large-mx.ckdhr.comÀ¸·Î ¸ÞÀÏÀ» º¸³»´Â °Ì´Ï´Ù. ±× ¼­¹ö°¡ ´ç½ÅÀÇ Å¥¸¦ û¼ÒÇÏ°í, ckdhr.com¿¡¼­ ¹Ù¿î½ºÇÏ´Â °ÍÀ¸·Î ³¡³ª¸é, ´ç½ÅÀÇ MTA´Â 512¹ÙÀÕÀ» ³Ñ±â´Â MX ¸®½ºÆ®¸¦ °®´Â È£½ºÆ®·Î ¸ÞÀÏÀ» º¸³¾ ¼ö ÀÖ½À´Ï´Ù. (´ÜÀÏ ¼ö¸í½ÃÇÑÀ̸ç 512¹ÙÀÕÀ» ³Ñ±â´Â ´ÜÀÏ RRsetÀ» »ç¿ëÇؼ­, À̹®Á¦¸¦ ´Ù¸¥ ÁúÀÇÀÇ Å¸Àְ̹ú ¼ø¼­¿¡ ÀÇÁöÇÏÁö ¾Ê°í º¼ ¼ö ÀÖ½À´Ï´Ù.)


A.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	   

Å¥¸ÞÀÏÀÌ ¿îÇàÁßÀ̸é ÁßÁö½Ãŵ´Ï´Ù. ¼³Ä¡Ç׸ñÀÇ Å¥¸ÞÀϽºÅ©¸³Æ®¸¦ ¼³Ä¡ÇϼÌÀ¸¸é, ´ÙÀ½°ú °°ÀÌ ÇϽʽÿÀ.

qmailctl stop

Å¥¸ÞÀϽºÅ©¸³Æ®°¡ ¾øÀ¸½Ã¸é, ±âµ¿/ÁßÁö ½ºÅ©¸³Æ®¸¦ »ç¿ëÇϽõçÁö, TERM½ÅÈ£¸¦ qmail-send¿¡ º¸³»½Ê½Ã¿À.

±×´ÙÀ½¿¡ ´ÙÀ½°ú °°ÀÌ Çؼ­ Å¥¸ÞÀÏÀ» ÀçÄÄÆÄÀÏÇϽʽÿÀ.

make setup check

¿øÇϽô ´ë·Î ~alias/.qmail-logÀ» ä¿ì½Ê½Ã¿À. ¿¹¸¦ µé¾î, Message-ID¸¦ ·ÏÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.

| awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'

³¡À¸·Î, Å¥¸ÞÀÏÀ» Àç°¡µ¿ÇÕ´Ï´Ù.


A.6. ¿¡·¯¸Þ¼¼Áö

Å¥¸ÞÀÏ¿¡·¯¸Þ¼¼Áö¿Í ±× ÀǹӴϴÙ. °ýÈ£¾ÈÀÇ ¿¡·¯Äڵ忡 °üÇÑ ¼³¸íÀº RFC 1893À» º¸½Ê½Ã¿À. ÀÌ ºÎ·ÏÀº ¿ÏÀüÇÏÁö ¾Ê½À´Ï´Ù.

qmail-local

  • "Unable to fork: reason. (#4.3.0)"

  • "Unable to read message: reason. (#4.3.0)"

  • "Unable to open filename: reason. (#4.3.0)"

  • "Temporary error on maildir delivery. (#4.3.0)"

  • "Unable to open filename: reason. (#4.2.1)"

  • "Unable to write filename: reason. (#4.3.0)"

  • "Unable to run /bin/sh: reason. (#4.3.0)"

  • "Unable to stat home directory: reason. (#4.3.0)"

  • "Unable to switch to directory: reason. (#4.3.0)"

qmail-smtpd

  • "555 syntax error (#5.5.4)"

qmail.c

  • "Zqq write error or disk full (#4.3.0)"

  • "Zqq read error (#4.3.0)"

spawn.c

  • "Internal error: delnum negative. (#4.3.5)"

  • "Internal error: delnum too big. (#4.3.5)"

  • "Internal error: delnum in use. (#4.3.5)"

  • "Internal error: messid has nonnumerics. (#5.3.5)"

  • "Internal error: messid too long. (#5.3.5)"

  • "Internal error: messid too short. (#5.3.5)"


A.7. ÀÇ¿ÜÀÇ ½Ç¼ö

Å¥¸ÞÀϽÅÂüÀÚ´Â ´ÙÀ½°ú °°Àº ¹®Á¦µéÀ» ÀÚÁÖ ¸¸³³´Ï´Ù.


A.7.1. Å¥¸ÞÀÏÀº ¼öÆÛÀ¯Àú¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.

qmail-localÀÌ Æ¯±Ç»ç¿ëÀڷμ­ ¸í·ÉÀ» ½ÇÇàÇÏ´Â °¡´É¼ºÀ» ¸·±âÀ§Çؼ­, Å¥¸ÞÀÏÀº UID°¡ 0ÀÎ ¸ðµç »ç¿ëÀÚ¸¦ ¹«½ÃÇÕ´Ï´Ù. ÀÌ°ÍÀº qmail-getpw ¸ÇÆäÁö¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.

±×·¸´Ù°í Å¥¸ÞÀÏÀÌ root@example.com¿¡ Àü´ÞÇÏÁö ¾Ê´Â´Ù´Â °ÍÀº ¾Æ´Ï°í, ´Ù¸¸ Àü´ÞÀº ºñƯ±Ç»ç¿ëÀÚ¿¡ ÀÇÇØ Ã³¸®µÇ¾î¾ß ÇÑ´Ù´Â °ÍÀÔ´Ï´Ù. À¸·Ê, ~/alias/.qmail-rootÀ» ä¿ö¼­ root¿¡ ´ëÇÑ ¾Ù¸®¾î½º¸¦ ¸¸µê´Ï´Ù.


A.7.2. Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮°¡ ¾ø´Â »ç¿ëÀÚ¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.

¶ÇÇϳªÀÇ º¸¾ÈƯ¡ÀÌ°í, ÁÁÀº ½À°üÀÔ´Ï´Ù. qmail-getpw¸ÇÆäÁö¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.


A.7.3. Å¥¸ÞÀÏÀº »ç¿ëÀÚÀ̸§¿¡ ´ë¹®ÀÚ¸¦ ¾²´Â »ç¿ëÀÚ¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.

Å¥¸ÞÀÏÀº ÁÖ¼Ò¿¡¼­ "@"ÀÇ ¿ÞÂÊ¿¡ ÀÖ´Â ¸ðµç °ÍÀÎ "·ÎÄúκÐ"À» ¼Ò¹®ÀÚ·Î º¯È¯ÇÕ´Ï´Ù. ¸ÇÆäÁö¿¡´Â ¼³¸íµÇ¾î ÀÖÁö ¾ÊÁö¸¸, ÄÚµå´Â ±×·¸°Ô ÇÕ´Ï´Ù. ´ë¹®ÀÚ¸¦ °®´Â »ç¿ëÀÚ¸¦ ¹«½ÃÇÑ´Ù´Â »ç½ÇÀº qmail-getpw¸ÇÆäÁö¿¡ ±â·ÏµÇ¾î ÀÖ½À´Ï´Ù.


A.7.4. Å¥¸ÞÀÏÀº Ȩµð·ºÅ丮¿¡ ±×·ìÀ̳ª ±âŸ»ç¿ëÀÚ¿¡°Ô ¾²±â¸¦ Çã¶ôÇÏ´Â »ç¿ëÀÚ¿¡°Ô ¸ÞÀÏÀ» Àü´ÞÇÏÁö ¾Ê½À´Ï´Ù.

¶ÇÇϳªÀÇ º¸¾ÈƯ¡ÀÔ´Ï´Ù. qmail-local¸ÇÆäÁö¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù. ÄÄÆÄÀϽà conf-patrn ÄÄÆÄÀÏ ÄÁÇDZ×ÆÄÀÏÀ» ÅëÇؼ­ ÀçÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.


A.7.5. Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ Á¡(.)À» ÄÝ·Ð(:)À¸·Î ¹Ù²ß´Ï´Ù.

¶ÇÇϳªÀÇ º¸¾ÈƯ¡ÀÔ´Ï´Ù. È®ÀåÁÖ¼Ò°¡ ÆÄÀÏÆ®¸®¸¦ ".."·Î ¹é¾÷Çϴ°ÍÀ» ¸·´Â °ÍÀÌ ¸ñÀûÀÔ´Ï´Ù. ÄÝ·ÐÀ¸·Î ¹Ù²Ù±â ¶§¹®¿¡, Å¥¸ÞÀÏÀº »ç¿ëÀÚÀÇ .qmailÆÄÀÏ ¸ðµÎ°¡ Ȩµð·ºÅ丮¿¡ ÀÖ°Ô ÇÕ´Ï´Ù. qmail-local¸ÇÆäÁö¿¡ ±â·ÏÇß½À´Ï´Ù.


A.7.6. Å¥¸ÞÀÏÀº È®ÀåÁÖ¼ÒÀÇ ´ë¹®ÀÚ¸¦ ¼Ò¹®ÀÚ·Î ¹Ù²ß´Ï´Ù.

Å¥¸ÞÀÏÀº ÁÖ¼ÒÀÇ ·ÎÄúκÐÀ» ¸ðµÎ ¼Ò¹®ÀÚ·Î ¸¸µç´Ù´Â ¶ÇÇϳªÀÇ »ç½ÇÀÔ´Ï´Ù. qmail-local¸ÇÆäÁö¿¡ ¼³¸íÇß½À´Ï´Ù.


A.7.7. Å¥¸ÞÀÏÀº /etc/hosts¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù.

Å¥¸ÞÀÏÀº È£½ºÆ®³×ÀÓÀÌ ÀÖ´Â IPÁÖ¼Ò¸¦ °áÁ¤Çϱâ À§Çؼ­ /etc/hosts¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù. controlÆÄÀÏ¿¡ ÀÖ´Â À̸§À» »ç¿ëÇϸé, Å¥¸ÞÀÏÀº ³×ÀÓ¼­¹ö¿¡ Á¢±ÙÇÒ ¼ö ÀÖ¾î¾ß ÇÕ´Ï´Ù.

±×·¡µµ ³×ÀÓ¼­¹ö¿¡ Á¢±ÙÇÒ ¼ö ¾ø´Â ½Ã½ºÅÛ¿¡¼­µµ Å¥¸ÞÀÏÀ» ¿î¿µÇÒ ¼ö ÀÖ½À´Ï´Ù. controlÆÄÀÏ¿¡ Àִ ȣ½ºÆ®´Â IPÁÖ¼Ò·Î ÀûÀ» ¼öµµ Àִµ¥, ´ë°ýÈ£ ([])·Î µÑ·¯½Î¾ß ÇÕ´Ï´Ù. ¿¹¸¦ µé¸é ´ÙÀ½°ú °°½À´Ï´Ù.

[10.1.2.219]
»ç½Ç, ´ë°ýÈ£°¡ ¾ðÁ¦³ª ÇÊ¿äÇÏÁö´Â ¾ÊÁö¸¸, »ç¿ëÇØ¾ß ÁÁÀº ¹æ¹ýÀÔ´Ï´Ù.


A.7.8. Å¥¸ÞÀÏÀº SMTPÈ°µ¿À» ·ÏÇÏÁö ¾Ê½À´Ï´Ù.

¿©·¯ ÀÌÀ¯·Î Çؼ­, Å¥¸ÞÀÏÀº SMTPÁ¢¼Ó, °ÅÀý, ¹«È¿¸í·É, ¶Ç´Â À¯È¿¸í·É µîÀ» ·ÏÇÏÁö ¾Ê½À´Ï´Ù. tcpserver·Î Á¢¼ÓÀ» ·ÏÇÒ ¼ö ÀÖ°í, recordio·Î SMTP´ëÈ­ ÀüºÎ¸¦ ·ÏÇÒ ¼ö ÀÖ½À´Ï´Ù. recordio´Â ucspi-tcpÆÐÄÉÁöÀÇ ÀϺÎÀÔ´Ï´Ù. ÀýÂ÷´Â http://cr.yp.to/qmail/faq/servers.html#recordioÀÇ FAQ¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù.


A.7.9. Å¥¸ÞÀÏÀº Áö¿¬ÅëÁö¸¦ ¸¸µéÁö ¾Ê½À´Ï´Ù.

SendmailÀº ¼ö½Ã°£³»¿¡, Åë»ó 4½Ã°£³»¿¡, ¸Þ¼¼Áö¸¦ Àü´ÞÇÒ ¼ö ¾øÀ¸¸é, ÀÛ¼ºÀÚ¿¡°Ô Áö¿¬ÅëÁö¸¦ º¸³À´Ï´Ù. ÀÌ ÅëÁö´Â ¹Ù¿î½º¸Þ¼¼Áö°°¾Æ º¸ÀÔ´Ï´Ù¸¸, ¾ÆÁ÷ Àü´ÞÀÌ ¿µ±¸½ÇÆÐÇß´Ù´Â °ÍÀ» °¡¸®Å°Áö´Â ¾Ê½À´Ï´Ù.

Å¥¸ÞÀÏÀº ÀÌ·± °æ°í¸¦ º¸³»Áö ¾Ê½À´Ï´Ù. Àü´ÞºÒ´É¸Þ¼¼Áö´Â Å¥¿¡¼­ Å¥¼ö¸í½Ã°£À» ´Ù º¸³½´ÙÀ½¿¡¾ß¸¸ ÀÛ¼ºÀÚ¿¡°Ô µ¹·ÁÁý´Ï´Ù.


A.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", ¸ðµå (ƯÈ÷ Àüü¾²±âÇã°¡), ¼ÒÀ¯ÀÚ¿Í ±×·ì µî¿¡ °¢º°È÷ À¯ÀÇÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù.


A.7.11. DNS ¶Ç´Â IDENT¸¦ ã´À¶ó°í SMTP°¡ ´À·ÁÁú ¼öµµ ÀÖ½À´Ï´Ù.

qmail-smtpd°¡ Á¢¼Ó¹ÝÀÀÀÌ ´ÊÀ¸¸é, DNS ¿ªÂüÁ¶³ª IDENTÂüÁ¶°¡ ¹®Á¦ÀÔ´Ï´Ù. tcpserver·Î qmail-smtpd¸¦ ±âµ¿ÇÑ´Ù¸é, "-h", "-p", "-r" µîÀÇ ¿É¼ÇÀ» Áö¿ì°í, "-H", "-P", "-R", "-l 0" (ell zero) µîÀÇ ¿É¼ÇÀ» ºÙÀ̽ʽÿÀ.


A.8. lwq¿¡ ´ëÇÑ FAQ

-------------------------------------------------------------

¿ªÀÚÁÖ: http://www.faqts.com/knowledge-base/index.phtml/fid/139/lang/en ¿¡¼­ ÁúÀÇÀÀ´äÀ» Âü°íÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. (05 Apr 2000)

-------------------------------------------------------------


A.8.1. lwqÀÇ ¹öÀü

LWQ version 2001-09-19.


A.8.2. lwqÀÇ ¼ÒÀ¯ÀÚ´Â?

lwq´Â Copyright 1999-2001 David E. SillÀÔ´Ï´Ù.


A.8.3. lwqÀÇ ¶óÀ̼¾½º´Â?

lwq´Â OpenContent License version 1.0¿¡ Æ÷ÇԵ˴ϴÙ. ¿ÏÀüÇÑ ¶óÀ̼¾½º¿¡ ´ëÇؼ­´Â http://www.opencontent.org/opl.shtml¸¦ º¸½Ê½Ã¿À. º»·¡, ¼öÁ¤ÆÇÀ» Àç¹èÆ÷ÇÑ´Ù¸é ±×Æǵµ OpenContent License¿¡ Æ÷ÇԵȴٴ Á¶°ÇÇÏ¿¡ lwq¸¦ º¹»ç, Àç¹èÆ÷, ¼öÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.


A.8.5. lwq°øÇåÀÚ¿Í ÆÒÀº ¾îµð¼­ À̾߱âÇÒ ¼ö ÀÖ½À´Ï±î?

lwq-subscribe@sws1.ctd.ornl.gov¿¡ ¸Þ¼¼Áö¸¦ º¸³»¼­ lwq ¸ÞÀϸµ¸®½ºÆ®¿¡ °¡ÀÔÇϽʽÿÀ.


A.8.6. lwq´Â ´Ù¸¥ ¾ð¾î·Î ¹ø¿ªµÇ¾ú½À´Ï±î?

lwq¸¦ ¹ø¿ªÇϴµ¥ °ü½ÉÀÖÀ¸½Ã¸é, Á¦°Ô ¾Ë·ÁÁּż­ ³ë·ÂÀÇ Áߺ¹À» ¸·°í, Á¶È­ÇÒ ¼ö ÀÖ°Ô ÇØÁֽʽÿÀ. ¶ÇÇÑ Á¦°¡ SDF¼Ò½º¹®¼­¸¦ ¹ø¿ªÇϽô ºÐ²² µå·Á¼­, ¹ø¿ªÀÌ SDF·Îµµ µÉ ¼ö ÀÖ°Ô ÇÒ ¼ö ÀÖ½À´Ï´Ù. (ÀÌ°ÍÀÌ ¿Ö Áß¿äÇÑ Áö ´ÙÀ½Áú¹®À» º¸½Ã±â ¹Ù¶ø´Ï´Ù.)

¶ÇÇÑ, lwq¸¦ ¹ø¿ªÇϽô ºÐµéÀº lwq¸ÞÀϸµ¸®½ºÆ®¿¡ °¡ÀÔÇϼż­ (ÀüÀÇ Áú¹®À» º¸½Ê½Ã¿À.) ¹ø¿ª¿¡ °üÇÑ ³íÁ¡À» Åä·ÐÇÏ°í °øÁö»çÇ×À» ¸¸µé ¼ö ÀÖµµ·Ï ÇÏ½Ã±æ ±ÇÀåÇÕ´Ï´Ù.


A.8.8. lwq¸¦ »ç¿ëÇß´õ´Ï, ½Ã½ºÅÛÆı«, Çϵåµð½ºÅ©»èÁ¦, ¹é¹ßÀ» Çß½À´Ï´Ù.

Á˼ÛÇÕ´Ï´Ù. Á¤¸»ÀÌÁö ¹Ì¾ÈÇÕ´Ï´Ù. ±×·¸Áö¸¸ lwq´Â ¾î¶² º¸Áõµµ ¾ø½À´Ï´Ù. À§¿¡¼­ ¸»¾¸µå¸° OpenContent License¸¦ º¸½Ã±â ¹Ù¶ø´Ï´Ù. Àú´Â ÀÌ°ÍÀ» ¾´´Ù°í Çؼ­ ¾î¶² º¸»óÀ» ¹ÞÁö ¾Ê¾Ò°í, ´Ù¸¸ Å¥¸ÞÀÏ°øµ¿Ã¼¿¡ ¹«¾ð°¡ À¯ÀÍÇÑ °ÍÀ» °øÇåÇÏ°í ½Í¾úÀ» »ÓÀÔ´Ï´Ù.

»ç½Ç, ÀÌ°ÍÀº FAQ°¡ ¾Æ´Õ´Ï´Ù. ÁøÂ¥·Î´Â, ÀÌ°ÍÀÌ NAQ (Never Asked Question)ÀÌ±æ ¹Ù¶ø´Ï´Ù.


A.8.9. lwq¿¡ °øÇåÇÏ°í ½Í½À´Ï´Ù.

Á¦°¡ lwq¿¡ ³Ö°í ½ÍÀ» ¸¸Å­ ÁÁÀº Áö, ±×¸®°í ´Ù¸¥ »ç¶÷ÀÌ ÀÌ¹Ì ±×°ÍÀ» ÇÏ°í ÀÖÁö ¾ÊÀº Áö µîÀ» lwq@sill.org·Î Á¤Á¤, ±Ç°í, ºÒ¸¸ µîÀ» º¸³»ÁֽʽÿÀ.

Ç׸ñÀ» ´õ ³ª´©°Å³ª, ºÎ·ÏÀ» »õ·Î ´õÇÏ°íÀÚ ÇÏ´Â µî, ´õ Å©°Ô µµ¿ì½Ã°Ú´Ù¸é, ÁÁ½À´Ï´Ù. ´Ù¸¸, ¸ÕÀú ÀúÇÏ°í °ËÅäÇØ Áֽñ⠹ٶø´Ï´Ù.

µ·À» ³»½Å´Ù¸é ¾ðÁ¦µçÁö ÁÁ½À´Ï´Ù. :-) Àú¿¡¿¡ ¿¬¶ôÇϼż­ ÁغñÇϽôøÁö PayPal ÁöºÒ¼ö´ÜÀ» ÀÌ¿ëÇϽñ⠹ٶø´Ï´Ù. PayPal·Î ÇϽøé paypal@dave.sill.org ÀÌ ÁÖ¼Ò·Î À̸Ӵϸ¦ ½õ´Ï´Ù. ±Ý¾×Àº $0.01Á¤µµ·Î ¼­·Î ºÎ´ãÀÌ ¾ø´Â ±Ý¾×ÀÌ¸é µË´Ï´Ù. ½Å¿ëÄ«µåµµ ¾µ ¼ö ÀÖ¾î¿ä. ¿ä±â¸¦ ´­·¯¼­ »çÀÎÇØÁֽøé Á¦°¡ º¸³Ê½º¸¦ ¹ÞÀ» ¼öµµ ÀÖ¾î¿ä.

µ·¾È³»°í lwq¸¦ µ½´Â ´Ù¸¥ ¹æ¹ýÀº ¿ä±â¿¡¼­ ¼îÇÎÇÏ¸é µË´Ï´Ù.

[Çϳª ¹ÞÀ¸½Ê½Ã¿À!]


ID
Password
Join
If it pours before seven, it has rained by eleven.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-03-05 00:27:05
Processing time 0.0053 sec