· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Linuxdoc Sgml/Mailman-KLDP

GNU ¸ÞÀϸµ ¸®½ºÆ® ½Ã½ºÅÛ Mailman

GNU ¸ÞÀϸµ ¸®½ºÆ® ½Ã½ºÅÛ Mailman

¼­ÁØ¿ø musica98@chollian.net

v0.1 2000³â 5¿ù 24ÀÏ
ÀÌ ¹®¼­´Â GNU ¸ÞÀϸµ ¸®½ºÆ® ½Ã½ºÅÛÀÎ MailmanÀÇ ¼³Ä¡¹æ¹ý¿¡ ´ëÇؼ­ ¼³¸íÇØ ³õ¾Ò½À´Ï´Ù. Á¦°¡ ¿µ¾î°¡ ¸¹ÀÌ µþ¸®´Â °ü°è·Î ¸¹Àº Mailman ÀÇ ¸¹Àº ºÎºÐÀÌ ÀÌÇØ°¡ µÇÁö ¾Ê¾ÒÁö¸¸ ÀÌ ¹®¼­¿¡¼­´Â Mailman ¼Ò½º¿¡ Æ÷ÇԵǾî ÀÖ´Â INSTALL¹®¼­¿¡ µû¶ó ¼³Ä¡¸¦ ÇÏ°í, ½ÇÁ¦·Î Á¦°¡ MailmanÀ» È°¿ëÇØ ¸ÞÀϸµ ¸®½ºÆ®¸¬ ¿î¿µÇϸ鼭 °æÇèÇÑ °ÍµéÀ» ³ª´©´Â ¹æ¹ýÀ¸·Î ¹®¼­¸¦ ¾÷±×·¹À̵å ÇØ ³ª°¥ »ý°¢ÀÔ´Ï´Ù.

1. ÀÌ ¹®¼­¸¦ ¸¸µé°Ô µÈ µ¿±â

ÇÊÀÚ´Â ¿¹ÀüºÎÅÍ ¸ÞÀϸµ ¸®½ºÆ®¿¡ °ü½ÉÀÌ ¹«Ã´À̳ª ¸¹¾Ò¾ú´Ù. ÇÏÁö¸¸ ¸ÞÀϸµ ¸®½ºÆ®¿¡ ¾Ë°í Àִ°ÍÀ̶ó°í´Â, À¯¸íÇÑ ÇÁ·Î±×·¥À¸·Î Majordomo°¡ ÀÖ´Ù´Â Á¤µµ ¿Ü¿¡´Â ¾ËÁö¸¦ ¸øÇß¾ú´Ù. ¾ðÁ¨°¡ Çѹø Á÷Á¢ ¼³Ä¡¸¦ ÇغÁ¾ßÁö Çϸ缭 À̸®Àú¸® ¹Ì·ç°í ÀÖ´Ù°¡, ¸¶Ä§ ¸®´ª½º °ü·Ã ÇÁ·ÎÁ§Æ®¸¦ ÁøÇàÇϴµ¥ À־ Çʼö¿ä¼Ò·Î ¸ÞÀϸµ¸®½ºÆ®°¡ ÇÊ¿äÇÏ°Ô µÇ¾ú´Ù

±×·¡¼­ Majordomo¸¦ ¼³Ä¡Çϱâ·Î °á½ÉÀ» Çß´Ù. À̸®Àú¸® ¹®¼­¸¦ µÚÁ®¼­ MajordomoÀÇ ¼³Ä¡¿¡ ¼º°øÀ» Çߴµ¥, ¼³Ä¡¹ýÀÌ ±×¸® ¾î·Á¿î ÆíÀÌ ¾Æ´Ï¾úÁö¸¸ Á¶±Ý ¹ø°Å·Î¿î ÆíÀ̾ú°í, °áÁ¤ÀûÀ¸·Î À¥±â¹Ý ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÏÁö ¾Ê´Â´Ù´Â °ÍÀ̾ú´Ù. MajordomoÀÇ ´Ù¸¥¹®¼­ Á¤º¸¿¡ º¸´Ï À¥±â¹ÝÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÏ´Â ÇÁ·ÎÁ§Æ®µéµµ ÀÖ¾úÁö¸¸, Majordomo¸¦ ¼³Ä¡ÇÏ°í ¶Ç ±×°Í±îÁö ¼³Ä¡ÇÏ·Á´Ï À̸¸Àú¸¸ ¹ø°Å·Î¿î ÀÏÀÌ ¾Æ´Ï¾ú´Ù.

'ÇÊ¿ä´Â ¹ß¸í(=¹ß°ß)À» ³º´Â´Ù'°í Çß´ø°¡? ±× ½Ã±â¿¡ ¸¶Ä§ KLDP¿¡¼­ ¿î¿µÇÏ°í ÀÖ´ø GNUÀÇ ¸ÞÀϸµ ¸®½ºÆ® ÇÁ·Î±×·¥ÀÎ MailmanÀ» ¹ß°ßÇÏ°Ô µÇ¾ú´Ù. °¡Àå ¸¶À½¿¡ µå´Â ±¸¼®Àº ¿ª½Ã À¥±â¹ÝÀÇ ÀÎÅÍÆäÀ̽º¸¦ ±âº»ÀûÀ¸·Î Á¦°øÇÑ´Ù´Â °ÍÀ̾ú´Ù. ¾à°£ÀÇ ¼ö°í¸¸ µéÀ̸é, ÀüÁ¦ÀûÀÎ HTML Æûµµ °íÄ¥ ¼ö ÀÖÀ»°Í °°°í ÇÑ±Û localization µµ ½¬¿ï°Í °°¾Ò´Ù.

ÀÌ·¸°Ô Çؼ­ ¼±ÅÃÇÑ Mailman ÀÌ´Ù. Áö±Ý ¼³Ä¡ÇÑÁö ¾ó¸¶ ¾ÈµÇ°í º»°ÝÀûÀÎ ¿î¿µ¿¡ µé¾î°¡Áö´Â ¾Æ´Ï¾úÁö¸¸, À̸¸Àú¸¸ ±Í¿±°í Æí¸®ÇÑ ³ðÀÌ ¾Æ´Ò ¼ö ¾ø´Ù.

ÀÌÁ¦ ¿©·¯ºÐµéÀ» Àç¹Ì³ª´Â MailmanÀÇ ¼¼°è¿¡ Ãʴ븦 ÇÕ´Ï´Ù.

2. MailmanÀ» ÀνºÅç Çϱâ Àü¿¡ Á¡°ËÇØ¾ß ÇÒ »çÇ×

¸ÕÀú MailmanÀ» ÀνºÅç ÇϱâÀü¿¡ ÇÊ¿äÇÑ°ÍÀÌ ¼¼°¡Áö°¡ ÀÖ½À´Ï´Ù.

´ç¿¬ÇÑ À̾߱â ÀÌ°ÚÁö¸¸ ù¹ø°·Î Mailman ¼Ò½ºÄÚµå, ±×¸®°í ÀϹÝÀûÀÎ ¹èÆ÷ÆÇÀ» ¾²½Å´Ù¸é ¾Æ¸¶µµ ´Ù Áغñ°¡ µÇ¾î ÀÖÀ»°Å¶ó°í »ý°¢µÇ´Â C Compiler¿Í Python ÀÎÅÍÇÁ¸®ÅÍ. ÇÏÁö¸¸, Ȥ½Ã ¸ð¸£´Ï üũ¸¦ Çغ¾½Ã´Ù. ÇÊ¿äÇÑ°ÍÀº ¾Æ·¡¿Í °°½À´Ï´Ù

ÃֽŠMailman ¼Ò½ºÄÚµå

mailman-1.1.tar.gz

Python ÀÎÅÍÇÁ¸®ÅÍ

ÇöÀç 1.5 ȤÀº ±× ÀÌÈÄÀÇ ¹öÁ¯ÀÌ ÇÊ¿äÇÕ´Ï´Ù. 'whereis python' À¸·Î Python ÀÎÅÍÇÁ¸®ÅÍÀÇ À§Ä¡¸¦ ¾Ë¾Æ³õ½À´Ï´Ù. PythonÀÌ ¼³Ä¡µÇ¾î ÀÖÁö ¾Ê´Ù¸éÀº <http://www.python.org>À» ¹æ¹®ÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù.

C ÄÄÆÄÀÏ·¯

wrapper¸¦ ÄÄÆÄÀÏÇϱâ À§Çؼ­ C ÄÄÆÄÀÏ·¯°¡ ÇÊ¿äÇÕ´Ï´Ù. ¿ì¸®µéÀÌ °¡Áö°í ÀÖ´Â GNU C compiler¸é ÁÁ½À´Ï´Ù.

3. ½Ã½ºÅÛ ¼Â¾÷

ÀÌÁ¦ º»°ÝÀûÀ¸·Î Mailman ¼³Ä¡¿¡ µé¾î°¡ º¸µµ·Ï ÇÕ´Ï´Ù. À̹øÀåÀÇ ½Ã½ºÅÛ ¼Â¾÷ ÀÛ¾÷Àº root °èÁ¤À¸·Î ¼öÇàÀ» ÇÏ¸é µË´Ï´Ù. MailmanÀ» ÀνºÅçÇϱâÀü¿¡ ´ç½ÅÀÇ ½Ã½ºÅÛÀ» ¾Æ·¡¿Í °°ÀÌ ¸î°¡Áö ¼¼ÆÃÀ» ÇØ ÁÖ¸é µË´Ï´Ù.

  1. 'mailman'À̶ó´Â ±×·ì/À¯Àú¸¦ »ý¼ºÇÑ´Ù. ÀϹÝÀûÀÎ ¸®´ª½º ½Ã½ºÅÛ¿¡¼­´Â
        # adduser mailman
    
    À̶ó°í Çϸé, mailman À̶ó´Â ±×·ì/À¯Àú·Î »õ·Î¿î °èÁ¤ÀÌ »ý¼ºµÉ °ÍÀÔ´Ï´Ù.
  2. MailmanÀÌ ¼³Ä¡µÉ µð·ºÅ丮 (ÀÌÇÏ $prefix) ¸¦ °áÁ¤ÇÕ´Ï´Ù. ¸ðµç Mailman ÆÄÀϵéÀº $prefix µð·ºÅ丮 ¹Ø¿¡ ¼³Ä¡°¡ µË´Ï´Ù. ¸¸¾à¿¡ ´ç½ÅÀÌ mailman À¯Àú¸¦ Ãß°¡Çß´Ù¸éÀº ±âº»ÀûÀ¸·Î ¼³Ä¡µÉ ±âº» µð·ºÅ丮(/home/mailman)Àº ÀÌ¹Ì ¸¸µé¾îÁ® ÀÖÀ»°ÍÀÔ´Ï´Ù. Àú´Â ±âº»ÀûÀ¸·Î /home/mailman À» ¼³Ä¡ µð·ºÅ丮·Î °áÁ¤À» Çß½À´Ï´Ù.
        - ½ÇÁ¦·Î .bash_profile À» ÆíÁýÇؼ­, $prefix ȯ°æº¯¼ö¸¦ ¼³Á¤ÇØ ³õ´Â°Íµµ ÁÁÀº ¹æ¹ýÀÔ´Ï´Ù.
          ´ÙÀ½ÇÑÁÙÀ» ~/.bash_profile¿¡ Ãß°¡ÇÕ´Ï´Ù.
    
          export prefix=/home/mailman
    
  3. $prefix µð·ºÅ丮´Â 'mailman' ±×·ìÀÇ ¼ÒÀ¯·Î ¹Ýµå½Ã µÇ¾î ÀÖ¾î¾ß Çϸç, setgid bit set ÀÌ ¼³Á¤µÇ¾î ÀÖ¾î¾ß ÇÏ°í, ¸ðµç À¯Àú¿¡°Ô Àбâ,½ÇÇà ±ÇÇÑÀÌ ÁÖ¾îÁ®¾ß ÇÕ´Ï´Ù. ¾Æ·¡¿Í °°ÀÌ ÇØÁÝ´Ï´Ù.
        % cd $prefix
        % chgrp mailman .
        % chmod a+rx,g+ws .     
        
    
ÀÌÁ¦ Mailman À» ¼³Ä¡Çϱâ À§ÇÑ ½Ã½ºÅÛÀÇ Áغñ´Â ³¡³µ½À´Ï´Ù.

4. ¼³Ä¡Çϱâ

4.1 Running configure

ÀÌ ÀåÀÇ °¢ ´Ü°èÀÇ ½ÇÇàÀº root °èÁ¤ÀÌ ¾Æ´Ñ »õ·Î¸¸µé¾îÁø mailman °èÁ¤À¸·Î ¼öÇàÇÏ¸é µË´Ï´Ù. ¾Æ¸¶µµ ´ç½ÅÀÌ ´Ù¸¥ GNU ¼ÒÇÁÆ®¿þ¾îµéÀ» ÀνºÅçÇغ» °æÇèÀÌ ÀÖ´Ù¸é, ¾Æ¸¶µµ ½±°Ô ¼³Ä¡ÇÒ ¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù. ÀϹÝÀûÀÎ °æ¿ì¿¡´Â ´ÜÁö Mailman ÀÇ ¾ÐÃàÀ» Ç®°í ¾Æ¹«·± ¿É¼Ç¾øÀÌ configure ½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏ¸é ¼º°øÇÒ ¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù.

  1. ¸ÕÀú ´Ù¿î¹ÞÀº ¼Ò½ºÄÚµåÀÇ ¾ÐÃàÀ» ÇØÁ¦ÇÏ°í ÄÄÆÄÀÏÀ» ÇÕ´Ï´Ù.
        % tar -xvzf mailman-<version>.tar.gz
        % cd mailman-<version>
        % ./configure
          (ÇÊÀÚÀÇ °æ¿ì´Â ./configure --prefix=$prefix --with-python=/usr/bin/python À¸·Î Çß½À´Ï´Ù.)
        % make install
    
        configure½Ã  ¾Æ·¡¿Í °°Àº ¿É¼ÇÀ» »ç¿ëÇؼ­ ¿©·¯ºÐÀÇ ½Ã½ºÅÛ¿¡ ÃÖÀûÈ­ ½Ãų ¼ö ÀÖ½À´Ï´Ù.
        
    

          --prefix=dir
    
                MailmanÀÌ ÀνºÅçµÉ µð·ºÅ丮¸¦ ÁöÁ¤ÇØ ÁÝ´Ï´Ù.  
                ±âº»°ªÀ¸·Î /home/mailman ÀÌ ¼¼ÆõǾî ÀÖ°í ÀÌ¹Ì À§¿¡¼­ ¾ð±ÞÇß´ø °Íó·³ µð·ºÅ丮°¡ ÁغñµÇ¾î ÀÖÀ»°ÍÀÔ´Ï´Ù.
    
          
          --with-python=</path/to/python>
          
                pythonÀÌ ¼³Ä¡µÇ¾î ÀÖ´Â µð·ºÅ丮¸¦ ÁöÁ¤ÇØ ÁØ´Ù.
    

        make install ÀÌ ³¡³ª¸é ¾Æ¸¶µµ ´ÙÀ½°ú °°Àº ¸Þ¼¼Áö¸¦ ¹ÞÀ»¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù.
    
            *****
            ***** If you are installing over an old installation, please
            ***** run "make update".  See the UPGRADING file for details.
            *****
    
ÇÊÀÚÀÇ °æ¿ì´Â configure½Ã ¾Æ¹«·± ¿É¼Ç¾øÀ̵µ ¼³Ä¡¿¡ ¼º°øÀ» Çß½À´Ï´Ù. ÀÌ¿ÜÀÇ ´õ ¸¹Àº ¿É¼ÇÀÌ ±Ã±ÝÇϽŠºÐÀº Mailman ¼Ò½ºÄڵ忡 Æ÷ÇԵǾî ÀÖ´Â INSTALL ¹®¼­¸¦ ÂüÁ¶ÇÏ½Ã¸é µË´Ï´Ù.

4.2 ¼³Ä¡ È®ÀÎÇϱâ

¾Æ¸¶µµ ÀϹÝÀûÀÎ ¸®´ª½º ½Ã½ºÅÛ¿¡¼­´Â ¾Æ¹« ¹®Á¦¾øÀÌ ¼³Ä¡°¡ µÇ¾úÀ¸¸®¶ó°í »ý°¢ÀÌ µË´Ï´Ù. ÇÏÁö¸¸ Ȥ½Ã ¸ð¸£´Ï Á¦´ë·Î ¼³Ä¡°¡ µÇ¾ú³ª È®ÀÎÀ» Çغ¾½Ã´Ù. check_perms¶ó´Â À¯Æ¿¸®Æ¼¸¦ È°¿ëÇؼ­ MailmanÀÌ Á¦´ë·ÎµÈ Æ۹̼ÇÀ¸·Î ¼³Ä¡°¡ µÇ¾ú³ª ÀÚµ¿À¸·Î °Ë»ç¸¦ ÇØ º¾´Ï´Ù.

  1. check_perm¸¦ ¼öÇàÇÕ´Ï´Ù.
        % cd $prefix
        % ./bin/check_perms
    

        ¸¸¾à ¹®Á¦°¡ ÀÖ´Ù¸é ´ÙÀ½°ú °°Àº ¸Þ¼¼Áö¸¦ ¹ÞÀ»¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.
    
             Problems found: <¹ß°ßµÈ ¿¡·¯ÀÇ °¹¼ö>
             Re-run as root with -f flag until no errors are found
    
        À§ÀÇ ¸Þ¼¼Áöó·³ root °èÁ¤À¸·Î
    
             $ ./bin/check_perms -f 
    
        ¸¦ ¼öÇàÇϸé Æ۹̼ÇÀ» ÀÚµ¿À¸·Î Á¶Á¤ÇØÁÖ°Ô µË´Ï´Ù.
        ´Ù½ÃÇѹø mailman °èÁ¤À¸·Î check_perms¸¦ ¼öÇàÇÕ´Ï´Ù.
    
        ¸¸¾à "No problems found" ¶ó´Â ¸Þ¼¼Áö¸¦ ¹Þ°ÔµÇ¸é ¸ðµç°ÍÀÌ ¿Ã¹Ù¸£°Ô ¼¼ÆÃÀÌ µÈ°ÍÀÔ´Ï´Ù.
    

4.3 ÃÖÁ¾ ½Ã½ºÅÛ ¼Â¾÷Çϱâ

¸ÕÀú ÃàÇϵ帳´Ï´Ù. ^^ ¿©±â±îÁö ¾Æ¹« ¹®Á¦¾øÀÌ µû¶ó ¿Ô´Ù¸é, ÀÏ´Ü MailmanÀº ¼º°øÀûÀ¸·Î ¼³Ä¡°¡ µÈ °ÍÀÔ´Ï´Ù. ÀÌÁ¦´Â MailmanÀÌ ¿Ã¹Ù¸£°Ô ÀÛµ¿Çϱâ À§ÇØ, À¥¼­¹ö¿Í ¸ÞÀϼ­¹ö¸¦ ¼³Á¤ÇØ º¾½Ã´Ù.

  1. À¥¼­¹ö¿¡°Ô $prefix/cgi-bin ÀÇ CGI ½ºÅ©¸³Æ®¸¦ ¼öÇàÇÒ ¼ö ÀÖµµ·Ï ¼³Á¤À» ÇØÁÝ´Ï´Ù. root°èÁ¤À¸·Î Apache À¥¼­¹ö ¼³Á¤È­ÀÏÀÎ httpd.confÀÇ Aliases ¼³Á¤ºÎºÐ¿¡ ´ÙÀ½ ÇÑÁÙÀ» Ãß°¡ÇØÁÝ´Ï´Ù.
        ScriptAlias /mailman/  "$prefix/cgi-bin/"
    
  2. MailmanÀÇ ·Î°í È­ÀÏÀ»(¾ÐÃàÀ» Ǭ µð·ºÅ丮ÀÇ misc/mailman.jpg) À¥¼­¹öÀÇ images µð·ºÅ丮·Î Ä«ÇǸ¦ ÇÕ´Ï´Ù. À¥¼­¹öÀÇ htdocs µð·ºÅ丮 ¹Ø¿¡ images µð·ºÅ丮¸¦ »ý¼ºÇÏ°í ±× µð·ºÅ丮·Î Ä«ÇǸ¦ ÇÏ¸é µË´Ï´Ù.
        $ mkdir <À¥¼­¹ö ·çÆ® µð·ºÅ丮>/images
        $ cp $prefix/mics/mailman.jpg <À¥¼­¹ö ·çÆ® µð·ºÅ丮>/images
    
  3. ±× ´ÙÀ½¿¡ $prefix/Mailman/mm_cfg.py¿¡ ·Î°íÈ­ÀÏÀ§Ä¡¸¦ ´ÙÀ½°ú °°ÀÌ ÇÑÁÙÀ» Ãß°¡ÇØ ÁÝ´Ï´Ù.
      DELIVERED_BY_URL = '/images/mailman.jpg'
    
  4. À¥¼­¹ö¿¡ PipermailÀ» mailing list archives ·Î ¼³Á¤À» ÇØÁÝ´Ï´Ù. ´ÙÀ½ ÇÑÁÙÀ» httpd.conf¿¡ Ãß°¡ÇØ ÁØ´Ù.
      Alias /pipermail/ "$prefix/archives/public/"
    
      ±×¸®°í ÀØÁö¸»°í À¥¼­¹ö¸¦ Àç½ÃÀÛ ½Ãŵ´Ï´Ù.
    
  5. crontab ¿£Æ®¸® ¼Â¾÷À» ÇÕ´Ï´Ù. MailmanÀº Æнº¿öµå ±â¾ïµîÀ» ÀÚµ¿À¸·Î º¸³»´Âµ¥ À־ Cron ÀÛ¾÷À» ÇÏ°Ô µË´Ï´Ù. 'mailman' °èÁ¤À¸·Î ´ÙÀ½À» ¼öÇàÇÕ´Ï´Ù.
      % su - mailman
      % cd $prefix/cron
      % crontab crontab.in
    
  6. 'mailman' °ú 'owner-mailman' À» ½Ã½ºÅÛÀÇ mail alias database¿¡ Ãß°¡¸¦ ½Ãŵ´Ï´Ù.
      % su
    
      ¸¸¾à¿¡ ´ç½ÅÀÇ ¸ÞÀÏ °èÁ¤ÀÌ musica@list.org ¶ó°í °¡Á¤À» ÇÑ´Ù¸é '/etc/aliases'¿¡ ´ÙÀ½À» Ãß°¡ÇÕ´Ï´Ù.
    
      mailman: musica@list.org
      mailman-owner:mailman
    
      newaliases ¸í·ÉÀ¸·Î ½Ã½ºÅÛÀÇ mail alias database ¸¦ °»½Å½Ãŵ´Ï´Ù.
    
      $ newaliases
    

4.4 Mailman ¼³Á¤Çϱâ

¿©±â±îÁö Àß µû¶ó¿À¼ÌÁÒ? ÀÌÁ¦ mailman °èÁ¤À¸·Î µÎ°¡Áö¸¦ ´õ ÇؾßÇÒ ÀÏÀÌ ³²¾ÆÀÖ½À´Ï´Ù.

  1. $prefix/Mailman/mm_cfg.py È­ÀÏÀ» üũÇØ º»´Ù. ƯÈ÷ DEFAULT_HOST_NAME °ú DEFAULT_URL ÀÌ ¸Â´ÂÁö üũÇØ º¸°í, Ʋ¸°°÷ÀÌ ÀÖ´Ù¸é ¼öµ¿À¸·Î ¼öÁ¤ÇØ ÁÖ½Ã¸é µË´Ï´Ù. '$prefix/Mailman/mm_cfg.py' È­ÀÏÀº '$prefix/Mailman/Default.py' È­ÀÏ¿¡ ¶È°°ÀÌ Àû¿ëÀÌ µË´Ï´Ù. ¸ðµç ¼³Á¤Àº 'mm_cfg.py'À» ÅëÇØ ÇÏ°í, 'Default.py'Àº ¼öÁ¤ÇÏ¸é ¾ÈµË´Ï´Ù.
      DEFAULT_HOST_NAME
            
            MailmanÀÌ ¼³Ä¡µÈ ´ç½ÅÀÇ ÄÄÇ»ÅÍ È£½ºÆ® À̸§ÀÔ´Ï´Ù.
    
      DEFAULT_URL
    
           Mailman ÀÇ ¼³Á¤À» À¥ºê¶ó¿ìÁ®·Î ÇÒ¶§ÀÇ URL ÀÔ´Ï´Ù.
    

    * ÁÖÀÇ : HOME_DIR, MAIL_DIR Àº ÆíÁýÇÏ¸é ¾ÈµË´Ï´Ù. À̵éÀº configure ½ºÅ©¸³Æ®¿¡ ÀÇÇؼ­ ÀÚµ¿À¸·Î ¼³ÀúÀÌ µË´Ï´Ù.
  2. mailmanÀÇ Æнº¿öµå¸¦ ¼³Á¤ÇØ ÁØ´Ù.
       % $prefix/bin/mmsitepass <´ç½ÅÀÇ Æнº¿öµå>
    
ÀÌ·¸°Ô Çؼ­ Mailman ¼³Ä¡´Â ¸ðµÎ ³¡ÀÌ ³µ½À´Ï´Ù. ÀÌÁ¦´Â »õ·Î¿î ¸ÞÀϸµ¸®½ºÆ®¸¦ ¸¸µé°í ¼³Á¤ÇÏ´Â Àϸ¸ ³²¾Ò½À´Ï´Ù.

5. Mailman ½ÃÀÛÇϱâ

  1. ÀÌÁ¦ 'test'¶ó´Â À̸§ÀÇ ¸ÞÀϸµ¸®½ºÆ®¸¦ ¸¸µé¾î º¸°Ú½À´Ï´Ù. 'newlist'¸¦ ÅëÇØ »õ·Î¿î ¸ÞÀϸµ¸®½ºÆ®¸¦ »ý¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù.
       % $prefix/bin/newlist
    
       Enter the name of the list: <»õ·Î¸¸µé ¸®½ºÆ® À̸§À» ÀÔ·ÂÇÕ´Ï´Ù. ¿©±â¼­´Â 'test'>
       Enter the email of the person running the list: <»ý¼ºµÉ ¸ÞÀϸµ¸®½ºÆ® °ü¸®ÀÚÀÇ ¸ÞÀÏÁÖ¼Ò¸¦ ÀÔ·ÂÇÕ´Ï´Ù.>
       Initial test password: <»ý¼ºµÉ ¸ÞÀϸµ¸®½ºÆ®ÀÇ ¾ÏÈ£¸¦ ÀÔ·ÂÇÕ´Ï´Ù.>
    
       À§ÀÇ 3°¡Áö ¸Þ¼¼Áö¿¡ ´äº¯À» ÇÏ°í ¿£Å͸¦ Ä¡¸é ´ÙÀ½°ú °°Àº ¸Þ¼¼Áö¸¦ º¼ ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.
    

       ## test mailing list
       ## created: 25-May-2000 mailman
       test:                    "|/home/mailman/mail/wrapper post test"
       test-admin:              "|/home/mailman/mail/wrapper mailowner test"
       test-request:            "|/home/mailman/mail/wrapper mailcmd test"
       owner-test:              test-admin
       test-owner:              test-admin
    

       À§¿¡¼­ ¹ÞÀº ¸Þ¼¼Áö¸¦ root °èÁ¤À¸·Î  ½Ã½ºÅÛ mail alias database¿¡ Ãß°¡¸¦ ÇØÁÝ´Ï´Ù.
    
       % su -
       $ vi /etc/aliases
    
       À§ÀÇ aliases Ãß°¡
    
       ±×¸®°í ½Ã½ºÅÛ mail alias database °»½Å½ÃÅ°´Â°ÍÀ» ÀØÁö ¸¿½Ã´Ù
    
       $ newaliases
    

    Tip Çϳª : ±ò²ûÇÑ Alias °ü¸® !


       ¸¸¾à¿¡ sendmail 8.6.X ÀÌ»óÀ» ¾²°í ÀÖ´Ù¸é, Á»´õ ±ò²ûÇÏ°Ô Alias È­ÀÏÀ» °ü¸®ÇÒ ¼ö ÀÖ´Ù. sendmail.cf¿¡ "O"¶óÀÎÀ» Ãß°¡ÇÑ´Ù.
       ÀÚ¼¼ÇÑ °ÍÀº sendmail ¼³¸í¼­¸¦ Âü°íÇϱ⠹ٶõ´Ù.
       °£´ÜÇÏ°Ô $prefix/mailman.aliases È­ÀÏÀ» ¸¸µé°í ÀÌ ÆÄÀÏ¿¡ »õ·ÎÀÌ »ý¼ºµÇ´Â ¸ÞÀϸµ¸®½ºÆ®ÀÇ Alias¸¦ Ãß°¡ÇÑ´Ù.
    
       % su -
       % vi /etc/mailman.aliases
    
       ±×¸®°í sendmail.cf¿¡ ´ÙÀ½ ÇÑ ¶óÀÎÀ» Ãß°¡ÇÑ´Ù.
    
       O AliasFile=/etc/mailman.aliase
    
       ±×¸®°í³ª¼­ 'newalias' ¸í·ÉÀ¸·Î °»½Å½ÃÅ°´Â°ÍÀ» ÀØÁö¸»ÀÚ
    
       $ newaliases
    
       ÀÌ·¸°Ô ÇÏ¸é ¾ÕÀ¸·Î »õ·Î¿î ¸ÞÀϸµ ¸®½ºÆ®¸¦ »ý¼ºÇÒ¶§ ¸¶´Ù »ý¼ºµÇ´Â alias µéÀº $prefix/mailman.aliases ¿¡ 
       Ãß°¡ÇØ ÁÜÀ¸·Î ÀÎÇؼ­ ±ò²ûÇÑ Alias °ü¸®¸¦ ÇÒ ¼ö ÀÖ°Ô µÇ¾ú´Ù.
    

  2. À̶§Âë µÇ¾úÀ¸¸é À§ÀÇ email of the person running the list ¿¡¼­ ÀÔ·ÂÇÑ ¸ÞÀÏÁÖ¼Ò·Î ¾È³»¸ÞÀÏÀÌ ¿ÔÀ»°ÍÀÔ´Ï´Ù. ÁÖÀDZí°Ô Àо½Ã´Ù
  3. À§¿¡¼­ ¹ÞÀº ¸ÞÀÏÀ» Çѹø È®ÀÎÇØ º¾½Ã´Ù.
      - Your mailing<´ç½ÅÀÌ ¼³Á¤ÇÑ Æнº¿öµå>
    
           »õ·ÎÀÌ »ý¼ºÇÑ ¸ÞÀϸµ¸®½ºÆ®ÀÇ Æнº¿öµåÀÔ´Ï´Ù.
    
      - You can configure your mailing list at the following web page:
        (¸ÞÀϸµ¸®½ºÆ®ÀÇ Á¦¹Ý ¼³Á¤À» ÇÒ ¼ö ÀÖ´Â URL ÀÔ´Ï´Ù.  ¹°·Ð °ü¸®ÀÚ¸¸ÀÌ ÇÒ ¼ö ÀÖ°ÚÁÒ>
    
        http://<your-domain>/mailman/admin/<»õ·Î»ý¼ºÇÑ ¸ÞÀϸµ¸®½ºÆ®¸í>
    
      - The web page for users of your mailing list is: 
        (¸ÞÀϸµ¸®½ºÆ®¿¡ °¡ÀÔÇÒ ¼ö ÀÖ´Â ÆûÀ» Á¦°øÇÏ´Â URL ÀÔ´Ï´Ù)
    
        http://<your-domain>/mailman/listinfo/test
    

ÀÌ·¸°Ô Çؼ­ ±âº»ÀûÀ¸·Î »õ·Î¿î ¸ÞÀϸµ ¸®½ºÆ®¸¦ ¸¸µé¾î ºÃ½À´Ï´Ù. ÀÌÁ¦´Â À¥ÆäÀÌÁö¸¦ ÅëÇؼ­ ¸ÞÀϸµ¸®½ºÆ®¸¦ Á¶Á¤ÇÏ°í, °¡ÀÔÀÚ¸¦ °ü¸®ÇÏ´Â Àϸ¸ÀÌ ³²¾Ò½À´Ï´Ù.

6. ¸ÞÀϸµ¸®½ºÆ® °ü¸®Çϱâ

6.1 »õ·Î¿î °¡ÀÔÀÚ ¹Þ±â

ÀÌÁ¦ À§¿¡¼­ ¼³Á¤ÇÑ 'test' ¶ó´Â À̸§ÀÇ ¸ÞÀϸµ ¸®½ºÆ®¿¡ »õ·Î¿î °¡ÀÔÀÚ¸¦ ¹Þ¾Æº¸µµ·Ï ÇÏ°Ú½À´Ï´Ù. ÀÌÁ¦ºÎÅÏ´Â °ÅÀÇ À¥±â¹ÝÀ̱⠶§¹®¿¡, ¹«Ã´ ½±½À´Ï´Ù. ¸ÕÀú ȨÆäÀÌÁö¿¡¼­ ¸ÞÀϸµ¸®½ºÆ® °¡ÀÔÆûÀ» °ø°³ÇÕ´Ï´Ù. °¡ÀÔÆûÀº ÀÌÀüÀå¿¡¼­ °ü¸®ÀÚ·Î ¹ÞÀº ¸ÞÀÏ¿¡ ¾È³»µÇ¾î ÀÖ½À´Ï´Ù.

  1. ¸ÞÀϸµ ¸®½ºÆ® °¡ÀÔÆûÀ» °ø°³ÇÕ´Ï´Ù.
      http://<your-domain>/mailman/listinfo/test
    
      ¸ÞÀϸµ¸®½ºÆ®¿¡ °¡ÀÔÇÏ·Á´Â ÀϹݻç¿ëÀÚµéÀÌ À§ÀÇ URLÀ» ¹æ¹®Çϸé, ¿µ¾î°¡ Á¶±Ý µÈ´Ù¸é ^^ ´©±¸¶ó°í ½±°Ô °¡ÀÔÇÒ ¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù.
    
    
      - ¸ÕÀú Your email address: ¿¡ °¡ÀÔÇÏ°íÀÚ ÇÏ´Â ¸ÞÀÏ ÁÖ¼Ò¸¦ Àû°í
    
      - Pick a password:, Reenter password to confirm: ¿¡ Æнº¿öµå¸¦ Àû½À´Ï´Ù.
    
      - Would you like to receive list mail batched in a daily digest? 
        ¿¡¼­ digest ±â´ÉÀ̶õ Á¶±×¸¸ Å©±âÀÇ ¸ÞÀÏÀÌ ÀÚÁÖ¿À°í°¡´Â ¸ÞÀϸµ ¸®½ºÆ®ÀÇ °æ¿ì¿¡´Â ¸Å¹ø ¸ÞÀÏÀ» ¼ö½ÅÇϱ⿡´Â ¹ø°Å·Î¿òÀÌ ÀÖÀ¸¹Ç·Î
        ¸ÞÀϸµ ¸®½ºÆ® ¸Þ½ÃÁö¸¦ ÇѲ¨¹ø¿¡ ¸ð¾Æ ÇÏ·ç¿¡ ÇÑ ¹ø¸¸ ¹Þ¾Æº¸°íÀÚ ÇÏ´Â »ç¿ëÀÚ´Â 'yes'¸¦ ÇÕ´Ï´Ù.
    

  2. °¡ÀÔ½ÅûÀ» ÇÑ »ç¿ëÀÚ´Â, mailman À¸·ÎºÎÅÍ »õ·Î»ý¼ºÇÑ ¸®½ºÆ® À̸§ -- confirmation of subscription -- request ] ¶ó´Â Á¦¸ñÀÇÀÚµ¿À¸·Î ¸ÞÀÏÀ» ¹Þ°Ô µË´Ï´Ù. »ç¿ëÀÚ´Â ´ÜÁö ÀÌ ¸ÞÀÏ¿¡ 'Re:'¶ó´Â Á¦¸ñÀ¸·Î ´äÀåÀ» Çϸé ÀÚµ¿À¸·Î ¸ÞÀϸµ ¸®½ºÆ®¿¡ °¡ÀÔÀÌ µË´Ï´Ù.

* À¯ÀÇ»çÇ×

¾Æ¸¶µµ Redhat 6.x ÀÌ»ó sendmail 8.9.X ÀÌ»óÀ» ÀÌ¿ëÇÏ´Â ½Ã½ºÅÛ¿¡¼­´Â ¿Ã¹Ù¸£°Ô ¼³Á¤ÀÌ µÈ°Í °°Àºµ¥ ¿Ã¹Ù¸£°Ô ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù´Â °ÍÀ» ¾Ë¼öÀÖÀ»°ÍÀÔ´Ï´Ù. Å« ¹®Á¦´Â ¾Æ´Ï´Ï °ÆÁ¤ÇÏÁö ¸¿½Ã´Ù. ¸ÕÀú °Ë»ç¸¦ Çغ¾½Ã´Ù.

  • sendmail -v ¸ðµå·Î °Ë»ç¸¦ Çغ¾´Ï´Ù.
      % date | /usr/lib/sendmail -v <»ý¼ºµÈ¸ÞÀϸµ¸®½ºÆ® ¸ÞÀÏÁÖ¼Ò>
    
      ¾Æ¹« ¹®Á¦°¡ ¾ø´Ù¸é ÁÁ°ÚÁö¸¸, ¾Æ¸¶µµ ´ëºÎºÐÀÇ ½Ã½ºÅÛ¿¡¼­´Â ¾Æ·¡¿Í °°Àº ¿¡·¯¸¦ ¸¸³¯ ¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù.
    
      "|/home/mailman/mail/wrapper post test"... Connecting to prog...
      "|/home/mailman/mail/wrapper post test"... Service unavailable
    
  • ÇØ°á¹æ¹ý
      À̹®Á¦´Â ¼¾µå¸ÞÀÏ ¾Ù¸®¾î½º¸¦ ÅëÇØ ºÒ¸®¿ì´Â ÇÁ·Î±×·¥ÀÌ °ú¿¬ ¼öÇàÇصµ ÁÁÀº ÇÁ·Î±×·¥ÀÎÁö¸¦ È®ÀÎÇÏ´Â °úÁ¤¿¡¼­ »ý±â´Â ¹®Á¦·Î
      sendmail¿¡ mailmanÀÇ wrapper¸¦ °£´ÜÈ÷ µî·ÏÇØÁÖ¸é ÇØ°áÀÌ µË´Ï´Ù.  ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µË´Ï´Ù.
    
      % su -
      $ cd /etc/smrsh
      $ ln -sf $prefix/mail/wrapper .
    
  • ´Ù½ÃÇѹø Å×½ºÆ®¸¦ Çغ¾´Ï´Ù.
      % date | /usr/lib/sendmail -v <»ý¼ºµÈ¸ÞÀϸµ¸®½ºÆ® ¸ÞÀÏÁÖ¼Ò>
    
      ¾Æ¸¶µµ ´ÙÀ½°ú °°Àº ¸Þ¼¼Áö¸¦ ¹ÞÀ» ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.
    
      "|/home/mailman/mail/wrapper post test"... Connecting to prog...
      "|/home/mailman/mail/wrapper post test"... Sent
    
      ¼º°øÀÔ´Ï´Ù.!!
    
ÀÌÁ¦ ´Ù½ÃÇѹø ÀÏ¹Ý »ç¿ëÀÚ¿¡°Ô °¡ÀÔÀ» ¹Þ¾Æº¸¸é Àß µÈ´Ù´Â°ÍÀ» ¾Ë ¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù.

7. ¹ßÀü»çÇ×

Áö±Ý±îÁö ´Ù·é ³»¿ëµéÀº MailmanÀÇ ½ÃÀÛ¿¡ ºÒ°úÇÏ´Ù. MailmanÀº À¥ºê¶ó¿ìÁ®¸¦ ÅëÇؼ­ ¼ö¸¹Àº ±â´ÉµéÀ» ¼¼¼¼ÇÏ°Ô Á¶ÀýÇÒ ¼ö°¡ ÀÖ´Ù. »õ·Î¿î ¸ÞÀϸµ ¸®½ºÆ® ÇÁ·Î±×·¥ÀÎ MailmanÀ» Á»´õ ¸¹Àº »ç¶÷µéÀÌ »ç¿ëÇÔÀ¸·Î ÀÎÇؼ­, ÀÌÁ¦ ´ëÇÑ Á»´õ ±â¼úÀûÀÎ ÅäÀÇ°¡ ÀÌ·ç¾î Á³À¸¸é ÇÏ´Â ÇÊÀÚÀÇ °³ÀÎÀûÀÎ ¹Ù·¥ÀÌ´Ù.

Âü°í·Î ÀÌ ¹®¼­¸¦ Àаí óÀ½À¸·Î MailmanÀ» ¼³Ä¡ÇØ º¸´Â »ç¶÷, ÀÌ °úÁ¤¿¡¼­ ¹®Á¦°¡ »ý±ä»ç¶÷, ¾Æ´Ï¸é ÀÌÀüºÎÅÍ »ç¿ëÇؿͼ­ ¸¹Àº ³ëÇϿ츦 °¡Áö°í ÀÖ´Â, ¸ðµç »ç¶÷µéÀÌ ¼­·Î Çù·ÂÇؼ­ µµ¿ï¼ö ÀÖµµ·Ï °Ô½ÃÆÇÀ» Çϳª °³¼³ÇØ ³õÀ¸·Á°í ÇÑ´Ù.

Mailman °Ô½ÃÆÇ http://mailman.linuxproject.co.kr

ÀÌ°÷À» ÅëÇØ ÀÌ·ç¾îÁö´Â ¸ðµç Á¤º¸µéÀ» Åä´ë·Î °è¼ÓÇؼ­ ÀÌ ¹®¼­µéÀ» ¹öÁ¯¾÷ ÇØ ³ª°¥ »ý°¢ÀÔ´Ï´Ù.

¸¶Áö¸·À¸·Î KLDP¸¦ ÅëÇØ MailmanÀ» ¾Ë°ÔÇØ ÁֽŠ±Ç¼ø¼±´Ô°ú 'Majordomo' ÇÏ¿ìÅõ ¹®¼­¸¦ ÅëÇØ ¸ÞÀϸµ¸®½ºÆ®¸¦ ¼Ò°³ÇØ ÁֽŠ½É»óÇö´Ô²² °¨»ç¸¦ µå¸³´Ï´Ù.


ID
Password
Join
Your mode of life will be changed for the better because of good news soon.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:30
Processing time 0.0021 sec