Nmail PHP Guide
- Windows -
Version 2.5.1
http://passkorea.net
- ¸ñ Â÷ -
1. ¼³Ä¡½Ã ÇÊ¿äÇÑ ÇÁ·Î±×·¥ ¹öÀü
4. ¼¹ö¿¡¼ »ç¿ëÁßÀÎ ³×ÀÓ¼¹ö È®ÀÎ
5. ±âÁ¸ ¸ÞÀϼºñ½º(SMTP/POP3) ÁßÁö
1. ¿£¸ÞÀÏ ¼³Ä¡ ÇÁ·Î±×·¥ ¾ÐÃàÇ®±â
7. Apache À¥¼¹ö °¡»óÈ£½ºÆ® ¼³Á¤
8. Apache ¾Ë¸®¾Æ½º ¼³Á¤(¼±Åà »çÇ×)
¿£¸ÞÀÏÀº APM(Apache + PHP + MySQL) µ¥¸óÀ» ±â¹ÝÀ¸·Î Windows/Unix/Linux ȯ°æ¿¡¼ »ç¿ëÇϵµ·Ï Á¦À۵Ǿú½À´Ï´Ù. ¿£¸ÞÀÏ µ¿ÀÛ¿¡ ÇÊ¿äÇÑ ÃÖ¼Ò»ç¾çÀº ´ÙÀ½°ú °°½À´Ï´Ù.
[OS] Windows 2000, Windows XP, Windows 2003 (Linux/Unix ¿ë Á¦Ç°Àº º°µµ·Î ÀÖÀ½)
[Apache] 1.3.X ÀÌ»ó, Apache 2 Áö¿ø.
[PHP] PHP 5 ÀÌ»ó. (mbstring ¸ðµâ ÇÊ¿ä)
[MySQL] 3.23.6 ÀÌ»ó, MySQL 4, MySQL 5 Áö¿ø. (MySQL 4 À̻󿡼´Â ¼º´ÉÇâ»ó ÀÖÀ½)
¾Æ·¡Ã³·³ »ç°¢¹Ú½º¾È¿¡ µé¾î°¡´Â ³»¿ëÀº [½ÃÀÛ - ½ÇÇà]¿¡¼ ¡®cmd¡¯¸¦ ÀÔ·ÂÇØ ¸í·É âÀ» ¶ç¿î »óÅ¿¡¼ ÀÔ·ÂÇÏ´Â ¸í·É¾îÀÔ´Ï´Ù. À̶§ ˜Þ(#)À¸·Î ½ÃÀ۵Ǵ ¶óÀÎÀº ¾È³»¹®±¸À̹ǷΠÀÔ·ÂÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.
# PHP ½ÇÇàÆÄÀÏÀÌ Á¸ÀçÇÏ´ÂÁö È®ÀÎÇÕ´Ï´Ù. => ÁÖ¼®Ç¥½Ã·Î ´ÙÀ½¿¡ ³ª¿Ã ¸í·É¿¡ ´ëÇÑ ¾È³»ÀÔ´Ï´Ù. php -v => Å͹̳Îȸ鿡 º¹»çÈÄ ºÙ¿©³Ö±â³ª Á÷Á¢ ÀÔ·ÂÇؾßÇÏ´Â ½© ¸í·ÉÀÔ´Ï´Ù. #result# PHP 5.1.4 (cgi-fcgi) (built: May 4 2006 10:35:07) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies => ½©¸í·É ½ÇÇàÈÄ È¸é»ó¿¡ Ãâ·ÂµÇ´Â °á°ú¹°ÀÔ´Ï´Ù. |
- APM ÆÐÅ°Áö´Â ¾Æ·¡ ¼³Ä¡¹æ¹ý Áß ÇÑ°¡Áö¸¦ ¼±ÅÃÇÏ½Ã¸é µË´Ï´Ù.
- ÁÖÀÇ) ¿£¸ÞÀÏ À©µµ¿ì ¹öÀüÀº PHP5 ¿¡¼¸¸ µ¿À۵˴ϴÙ.
¨ç ¿ÀÅä¼Â(AutoSet) - Apache + PHP + MySQL °£Æí ¼³Ä¡ ÇÁ·Î±×·¥ (±ÇÀå)
¹èÆ÷»çÀÌÆ® - http://www.autoset.net/
´Ù¿î·Îµå - http://www.autoset.net/sites/front/pages.php/download
¼³Ä¡¹æ¹ý)
a. ¼³Ä¡ÆÄÀÏÀ» ´Ù¿î·Îµå ¹Þ¾Æ¼ ½ÇÇàÇÑ ÈÄ ¿øÇÏ´Â Æú´õ¿¡ ¼³Ä¡ÇÕ´Ï´Ù.
b. ¿ÀÅä¼Â ȨÆäÀÌÁö³»ÀÇ ¡®»ç¿ëÀÚ °¡À̵塯¿¡ ¼³Ä¡ ¹× »ç¿ë¹æ¹ýÀÌ ¾È³»µÇ¾î ÀÖ½À´Ï´Ù.
c. ¿ÀÅä¼ÂÀ» ¼³Ä¡ÇÏ°í ¡®¿ÀÅä¼Â °ü¸®Åø¡¯ÀÇ phpMyAdmin¿¡¼ MySQL root ºñ¹Ð¹øÈ£¸¦ º¯°æÇÏ¼Å¾ß ÇÕ´Ï´Ù. (º¯°æÇÏÁö ¾ÊÀ» °æ¿ì Ãʱ⠺ñ¹Ð¹øÈ£°¡ µ¿ÀÏÇؼ º¸¾È»ó À§ÇèÀÌ ÀÖ½À´Ï´Ù.)
¸Þ´º¾ó ¸µÅ©) http://www.autoset.net/tutorial/17
d. ¿ÀÅä¼Â ¼³Ä¡Æú´õ¿¡¼ php.ini ÆÄÀÏÀ» ¿¾î Å¥ºê¸®µå DB ¸ðµâÀ» ÁÖ¼®Ã³¸®ÇÕ´Ï´Ù. (Å¥ºê¸®µå DB°¡ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é ÀÌ °úÁ¤Àº »ý·«Çصµ µË´Ï´Ù.)
ÆÄÀÏÀ§Ä¡ ¿¹Á¦) C:\AutoSet\Server\php5\php.ini
extension=php_cubrid2008.dll => ;extension=php_cubrid2008.dll |
e. ¡®¿ÀÅä¼Â °ü¸®Åø¡¯ÀÇ [µµ±¸ - MySQL ¼³Á¤]¿¡¼ ¡®max_allowed_packet¡±°ªÀÌ ¡°32M¡±ÀÌ»óÀÎÁö È®ÀÎ ÇÕ´Ï´Ù. (ÀÌ °ªÀÌ ÀÛÀ» °æ¿ì ¸ÞÀÏ º»¹®ÀÇ Å¬ ¶§ À¥¸ÞÀÏ¿¡¼ ¸ÞÀÏÀÌ Á¦´ë·Î º¸ÀÌÁö ¾Ê´Â ¹®Á¦°¡ ¹ß»ýÇÏ°Ô µË´Ï´Ù.)
f. ¡®¿ÀÅä¼Â °ü¸®Åø¡¯ÀÇ [µµ±¸ - PHP ±âº» °æ·Î ¼³Á¤]¿¡¼ ¡®Sendmail °æ·Î¡¯°ªÀ» »èÁ¦ÇÏ°í, [º¯°æ»çÇ× ÀúÀå]À» Ŭ¸¯ÇÕ´Ï´Ù. (»èÁ¦ÇØ¾ß À¥ÆäÀÌÁö¿¡¼ ¿£¸ÞÀÏÀ» ÅëÇØ ¸ÞÀϹ߼ÛÀÌ µË´Ï´Ù.)
g. ¡®¿ÀÅä¼Â °ü¸®Åø¡¯ÀÇ [µµ±¸ - PHP ¼¼ºÎ ¼³Á¤ – Session ¼³Á¤]¿¡¼ ¡®¼¼¼Ç ÀÚµ¿ ½ÃÀÛ¡¯À» ¡®»ç¿ë¾ÊÀ½¡¯À¸·Î º¯°æÇÏ°í, [º¯°æ»çÇ× ÀúÀå]À» Ŭ¸¯ÇÕ´Ï´Ù. (¼¼¼ÇÀÌ ÀÚµ¿ ½ÃÀÛµÇ¸é ´ë¿ë·® ÷ºÎ ÆÄÀÏÀ» ´Ù¿î·ÎµåÇÒ ¶§ ó·³ ·Î±×ÀÎÀÌ ÇÊ¿ä¾ø´Â ÆäÀÌÁö¿¡¼ ¹®Á¦°¡ ¹ß»ýÇÕ´Ï´Ù.)
h. ¡®¿ÀÅä¼Â °ü¸®Åø¡¯ÀÇ [ÆÄÀÏ – À¥¼¹ö Àç½ÃÀÛ]À» ´·¯ ¾ÆÆÄÄ¡ À¥¼¹ö¸¦ Àç½ÃÀÛÇÕ´Ï´Ù.
Âü°í) ¿ÀÅä¼Â »ç¿ëÀÚ Ä¿¹Â´ÏƼ¿¡ ¿£¸ÞÀÏ ¼³Ä¡¹æ¹ý¿¡ °üÇÑ ±ÛÀÌ È¸éĸÃÄ¿Í ÇÔ²² µî·ÏµÇ¾î ÀÖÀ¸¹Ç·Î Âü°íÇÏ½Ã¸é ¼³Ä¡¿¡ µµ¿òÀÌ µË´Ï´Ù.
°Ô½Ã¹° Á¦¸ñ) ¸ÞÀÏ ¼¹ö ±¸ÃàÇϱâ - NMail PHP¡¯
°Ô½Ã¹° ¸µÅ©) http://cafe.naver.com/autoset/2440
¨è APMSETUP6 - Apache + PHP + MySQL °£Æí ¼³Ä¡ ÇÁ·Î±×·¥ (±ÇÀå)
¹èÆ÷»çÀÌÆ® - http://www.apmsetup.com/
´Ù¿î·Îµå - http://www.apmsetup.com/download.php
¼³Ä¡¹æ¹ý)
a. ¼³Ä¡ÆÄÀÏÀ» ´Ù¿î·Îµå ¹Þ¾Æ¼ ½ÇÇàÇÑ ÈÄ ¿øÇÏ´Â Æú´õ¿¡ ¼³Ä¡ÇÕ´Ï´Ù.
b. APMSETUP ȨÆäÀÌÁö³»¿¡ ¡®¼³Ä¡Çϱ⠵¿¿µ»ó¡¯µî ¼³Ä¡ ¹× »ç¿ë¹æ¹ýÀÌ ¾È³»µÇ¾î ÀÖ½À´Ï´Ù.
c. APMSETUPÀ» ¼³Ä¡ÇÏ°í, phpMyAdmin(http://127.0.0.1/myadmin/)¿¡¼ ID´Â root Æнº¿öµå´Â apmsetup À¸·Î ·Î±×ÀÎÇÏ¿© MySQL root ºñ¹Ð¹øÈ£¸¦ º¯°æÇÏ¼Å¾ß ÇÕ´Ï´Ù. (º¯°æÇÏÁö ¾ÊÀ» °æ¿ì Ãʱ⠺ñ¹Ð¹øÈ£°¡ µ¿ÀÏÇؼ º¸¾È»ó À§ÇèÀÌ ÀÖ½À´Ï´Ù.)
d. APMSETUP ¼³Ä¡Æú´õ¿¡¼ my.ini ÆÄÀÏÀ» ¿¾î ¡®max_allowed_packet¡±°ªÀ» ¡°32M¡±ÀÌ»óÀ¸·Î ¼öÁ¤ÇÏ°í, MySQL ¼ºñ½º¸¦ Àç½ÃÀÛÇÕ´Ï´Ù.
ÆÄÀÏÀ§Ä¡ ¿¹Á¦) C:\APM_Setup\my.ini
max_allowed_packet = 1M => max_allowed_packet = 32M |
ÁÖÀÇ) 2009³â 6¿ù 29ÀÏ ÇöÀç my.ini ÆÄÀÏÀº ÁÙ¹Ù²Þ ¹®Á¦·Î ÀÎÇØ ¡®¸Þ¸ðÀ塯¿¡¼ ¿¾î¼ ¼öÁ¤ÇÏ½Ã¸é ¹®Á¦°¡ »ý±é´Ï´Ù. ¹Ýµå½Ã ¾Æ·¡Ã³·³ Àü¹® ¹®¼ ÆíÁý±â¸¦ »ç¿ëÇØ ¿©¼Å¾ß ÇÕ´Ï´Ù.
- EditPlus / »ó¿ë / http://editplus.co.kr/
- NOTEPAD++ / ¹«·á(GPL) / http://notepad-plus.sourceforge.net/
¨é ±úºñȨ¼¹ö(KebiHome Server) - Apache + PHP + MySQL °£Æí ¼³Ä¡ ÇÁ·Î±×·¥ (±ÇÀå)
¹èÆ÷»çÀÌÆ® - http://www.webkebi.com
´Ù¿î·Îµå - http://www.webkebi.com/kebihomeserver/kebihomeserver.html
¼³Ä¡¹æ¹ý)
a. ¼³Ä¡ÆÄÀÏÀ» ´Ù¿î·Îµå ¹Þ¾Æ¼ ½ÇÇàÇÑ ÈÄ ¿øÇÏ´Â Æú´õ¿¡ ¼³Ä¡ÇÕ´Ï´Ù.
b. ´Ù¿î·Îµå À¥ÆäÀÌÁö¿¡ »ç¿ë¹æ¹ýÀÌ ¾È³»µÇ¾î ÀÖ½À´Ï´Ù.
c. ¼³Ä¡¿Ï·áÈÄ ¡®±úºñȨ¼¹ö °ü¸®Åø¡¯¿¡¼ MySQL root ºñ¹Ð¹øÈ£¸¦ º¯°æÇÏ¼Å¾ß ÇÕ´Ï´Ù.
(º¯°æÇÏÁö ¾ÊÀ» °æ¿ì Ãʱ⠺ñ¹Ð¹øÈ£°¡ µ¿ÀÏÇؼ º¸¾È»ó À§ÇèÀÌ ÀÖ½À´Ï´Ù.)
À§Ä¡ : [DB¼¹ö °ü¸® - MySQL ¼³Á¤ / Root ¾ÏÈ£ º¯°æ - MySQL Root ¾ÏÈ£ º¯°æ]
¨ê Apache, PHP, MySQL À» °³º°ÀûÀ¸·Î ¼³Ä¡Çϱâ.
¹èÆ÷»çÀÌÆ®)
Apache - http://httpd.apache.org/
PHP - http://kr.php.net/
MySQL - http://dev.mysql.com
´Ù¿î·Îµå) 2006-11-08 ±âÁØ ÃֽŹöÁ¯
Apache - http://httpd.apache.org/download.cgi
apache_2.2.3-win32-x86-no_ssl.msi
PHP - http://kr.php.net/downloads.php
php-5.2.0-win32-installer.msi
MySQL - http://dev.mysql.com/downloads/mysql/5.0.html
mysql-essential-5.0.27-win32.msi
Apache Á÷Á¢¼³Ä¡)
a. ¼³Ä¡ Àü IIS µîÀÇ ´Ù¸¥ À¥¼¹ö´Â ¼ºñ½º¸¦ ÁßÁö½ÃÄÑ¾ß Ãæµ¹ÀÌ »ý±âÁö ¾Ê½À´Ï´Ù.
b. ¼³Ä¡ÆÄÀÏÀ» ½ÇÇà ÇÑ ÈÄ ¶óÀ̼¾½º¿¡ µ¿ÀÇÇÕ´Ï´Ù.
c. [Server Infomation]¿¡¼ »ç¿ëÇÒ µµ¸ÞÀΰú °ü¸®ÀÚ ¸ÞÀÏÁÖ¼Ò¸¦ ÀÔ·ÂÇÕ´Ï´Ù.
d. [Setup Type]Àº ±âº»¼³Á¤ÀÎ ¡®Typical¡¯À» ±×´ë·Î À¯ÁöÇÕ´Ï´Ù.
e. [Destination Folder]´Â ¼³Ä¡µÉ Æú´õÀ̹ǷΠ¿øÇÏ´Â Æú´õ¸¦ ¼±ÅÃÇÕ´Ï´Ù.
f. ¼³Ä¡ ¿Ï·á ÈÄ [Windows º¸¾È °æ°í]°¡ ³ª¿À¸é ¡®Â÷´Ü ÇØÁ¦¡¯¸¦ Ŭ¸¯ÇÕ´Ï´Ù.
g. ¼³Á¤ÆÄÀÏ(C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf)À» ¿¾î ´ÙÀ½Ã³·³ ¿É¼ÇÀ» ¼öÁ¤ÇÕ´Ï´Ù.
DirectoryIndex index.html => DirectoryIndex index.html index.php |
h. ¸¶Áö¸·À¸·Î À¥ºê¶ó¿ìÀú¿¡¼ http://localhost/ ÁÖ¼Ò°¡ ¿¸®¸é ¼º°øÇÑ °Í ÀÔ´Ï´Ù.
PHP Á÷Á¢¼³Ä¡)
a. ¼³Ä¡ÆÄÀÏÀ» ½ÇÇà ÇÑ ÈÄ ¶óÀ̼¾½º¿¡ µ¿ÀÇÇÕ´Ï´Ù.
b. [Destination Folder]´Â ¼³Ä¡µÉ Æú´õÀ̹ǷΠ¿øÇÏ´Â Æú´õ¸¦ ¼±ÅÃÇÕ´Ï´Ù.
c. [Web Server Setup]Àº ÀÌÀü¿¡ ¼³Ä¡ÇÑ ¡®Apache 2.2.x Module¡¯À» ¼±ÅÃÇÕ´Ï´Ù.
d. [Apache Configuration Directory]´Â ÀÌÀü¿¡ Apache¸¦ ±âº» Æú´õ·Î ¼³Ä¡Çß´Ù¸é ¡®C:\Program Files\Apache Software Foundation\Apache2.2\conf\¡¯¸¦ ¼±ÅÃÇÕ´Ï´Ù.
e. [Choose Items to Install]¿¡¼ ¾Æ·¡ Ç׸ñµéÀ» ¼³Ä¡Çϵµ·Ï ¾ÆÀÌÄÜÀ» ¡®Will be installed on local hard drive¡¯¸¦ ¼±ÅÃÇÕ´Ï´Ù.
- Extensions
- mailparse
- Multi-Byte String
- Extras
- PEAR Install
f. ¼³Ä¡ Áß ¡®Do you want the installer to configure Apache?¡¯¶ó´Â ´ëÈâÀÌ ³ª¿À¸é ¡®¿¹¡¯¸¦ ´©¸¨´Ï´Ù.
g. ¼³Ä¡ ¿Ï·á ÈÄ php.ini(C:\Program Files\PHP\) ÆÄÀÏÀ» ¿¾î ¾Æ·¡ ¿É¼ÇÀ» ¡®On¡¯À¸·Î º¯°æÇÕ´Ï´Ù.
short_open_tag = Off => short_open_tag = On |
h. Æ®·¹ÀÌ ¾ÆÀÌÄÜ¿¡¼ ½ÇÇàÁßÀÎ [Apache Monitor]¸¦ ÅëÇØ Apache ¸¦ Àç½ÃÀÛÇÏ½Ã¸é µË´Ï´Ù
i. ¾ÆÆÄÄ¡ À¥¹®¼ Æú´õ(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\)¿¡ ´ÙÀ½ Äڵ带 ³ÖÀº test.php ÆÄÀÏÀ» ¸¸µì´Ï´Ù.
<?php phpinfo(); ?> |
j. ¸¸µç ÆÄÀÏÀ» À¥ºê¶ó¿ìÀú¿¡¼ http://localhost/test.php ·Î ºÒ·¯µé¿©¼ PHP Á¤º¸°¡ ³ª¿Â´Ù¸é ¼³Ä¡°¡ ¼º°øÇÑ °Í ÀÔ´Ï´Ù. ¸¸¾à PHP Á¤º¸°¡ ³ª¿ÀÁö ¾Ê´Â´Ù¸é ¼³Ä¡°úÁ¤¿¡¼ ¹®Á¦°¡ ¹ß»ýÇÑ °ÍÀ̹ǷΠApache, PHP¸¦ À缳ġÇϽðųª ¾Æ·¡ ¹®¼¸¦ Âü°íÇغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
http://kr.php.net/manual/kr/install.apache2.php
MySQL Á÷Á¢¼³Ä¡)
a. ¼³Ä¡ÆÄÀÏÀ» ½ÇÇàÇÕ´Ï´Ù.
b. [Setup Type]Àº ±âº»¼³Á¤ÀÎ ¡®Typical¡¯À» ±×´ë·Î À¯ÁöÇÕ´Ï´Ù.
c. [MySQL.com Sign-Up]Àº ²À ÇÊ¿äÇÏÁö ¾ÊÀ¸¹Ç·Î ¡®Skip Sign-Up¡¯À» ¼±ÅÃÇÕ´Ï´Ù.
d. ¼³Ä¡ ¿Ï·á ÈÄ [MySQL Server Instance Configuration Wizard¡¯°¡ ÀÚµ¿ ½ÇÇàµË´Ï´Ù.
e. [Configuration type]Àº ¡®Standard Configuration¡¯¸¦ ¼±ÅÃÇÕ´Ï´Ù.
f. [Windows option]Àº ¡®Install As Windows Service¡¯°¡ üũµÈ »óÅ·ΠÀ¯ÁöÇÕ´Ï´Ù.
g. [Security option]¿¡¼ MySQL root ºñ¹Ð¹øÈ£¸¦ »õ·Î ÀÔ·ÂÇÕ´Ï´Ù.
h. ³ª¸ÓÁö °úÁ¤ÀÌ ÀÚµ¿À¸·Î ó¸®µÇ¸ç ¼³Ä¡°¡ ¿Ï·áµË´Ï´Ù.
i. ¼³Ä¡µÈ Æú´õ(C:\Program Files\MySQL\MySQL Server 5.0\)¿¡¼ my.ini ÆÄÀÏÀ» ¿¾î ¾Æ·¡Ã³·³ ¿É¼ÇÀ» ¼öÁ¤ÇÕ´Ï´Ù.
[mysqld] => [mysqld] max_allowed_packet=32M |
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" => sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" |
¨ë IIS¿¡ PHP ¸¦ ¿¬µ¿ÇÏ¿© ¼³Ä¡ÇÏ´Â ¡®PHP Setup for IIS¡¯ ¼³Ä¡.
¹èÆ÷»çÀÌÆ® - http://www.apmsetup.com
ÇÁ·Î±×·¥ ¾È³» - http://www.apmsetup.com/?ct=2
a. ¼³Ä¡ ¿Ï·á ÈÄ php.ini ÆÄÀÏÀ» ¿¾î [Zend] ¼³Á¤ ºÎºÐÀ» ¼³Á¤ ÆÄÀÏ ¸Ç ¸¶Áö¸·À¸·Î ¿Å±é´Ï´Ù.
b. ¼³Ä¡µÈ Æú´õ(C:\PHP_Setup_for_IIS\MySQL\)¿¡¼ my.ini ÆÄÀÏÀ» ¿¾î ¾Æ·¡Ã³·³ ¿É¼ÇÀ» ¼öÁ¤ÇÕ´Ï´Ù.
[mysqld] => [mysqld] max_allowed_packet=32M |
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" => sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION" |
³×ÀÓ¼¹ö´Â ¸í·É â¿¡¼ ´ÙÀ½Ã³·³ È®ÀÎÀÌ °¡´ÉÇÕ´Ï´Ù.
ipconfig/all #result# Ethernet adapter ·ÎÄà ¿µ¿ª ¿¬°á: ...(»ý·«)... DNS Servers . . . . . . . . . . . : 211.170.106.66 164.124.101.2 |
µî·ÏµÈ DNS Áß Ã¹ ¹ø° ³×ÀÓ¼¹ö¸¦ ¸ÕÀú »ç¿ëÇÏ´Ù°¡ ÀÀ´äÀÌ ¾øÀ» ¶§ µÎ ¹ø° ³×ÀÓ¼¹ö¸¦ »ç¿ëÇÏ°Ô µË´Ï´Ù. µû¶ó¼ ù ¹ø° ³×ÀÓ¼¹ö´Â °¡±ÞÀû ÀÚü³×ÀÓ¼¹ö¸¦ ¼³Ä¡Çؼ ÇØ´ç IP¸¦ µî·ÏÇØ µÎ½Ã´Â °ÍÀÌ ÁÁ½À´Ï´Ù. ÀÚü³×ÀÓ¼¹ö´Â ½ÇÁ¦ DNS ¼ºñ½º¸¦ Á¦°øÇÏÁö ¾Ê´õ¶óµµ Windows Server OS ¿¡¼ ±âº» Á¦°øµÇ´Â ¡®DNS¡¯ ÆÐÅ°Áö¸¸ Ãß°¡ÇØµÎ½Ã¸é ¿ÜºÎ³×ÀÓ¼¹ö¸¦ »ç¿ëÇÏ´Â °æ¿ìº¸´Ù ºü¸¥ 󸮰¡ °¡´ÉÇÕ´Ï´Ù. ±×¸®°í ÀÚü³×ÀÓ¼¹ö¿¡ ¹®Á¦°¡ »ý±æ °æ¿ì¸¦ °í·ÁÇÏ¿© »ç¿ëÁßÀΠȣ½ºÆÃ/ISP ¾÷üÀÇ ³×ÀÓ¼¹ö¸¦ 2Â÷, 3Â÷·Î µî·ÏÇصνô °ÍÀÌ ÁÁ½À´Ï´Ù.
µî·ÏµÈ ³×ÀÓ¼¹ö°¡ Á¦´ë·Î ÀÀ´äÇÏ´ÂÁö ´ÙÀ½Ã³·³ È®ÀÎÇغ¸½Ã¸é µË´Ï´Ù.
ex) nslookup µµ¸ÞÀÎÁÖ¼Ò ³×ÀÓ¼¹öIP
nslookup nbuilder.net ³×ÀÓ¼¹öIP #result# Server: passkorea.net Address: 211.170.106.66
Name: nbuilder.net Address: 211.170.106.96 |
¼³Ä¡½Ã »õ·Î¿î SMTP/POP3 ¼ºñ½º¸¦ ½ÇÇàÇÏ°Ô µË´Ï´Ù. µû¶ó¼ ±âÁ¸¿¡ ¿î¿µÁßÀÌ´ø SMTP/POP3 ¼ºñ½º°¡ ÀÖ´Ù¸é [°ü¸®µµ±¸ - ¼ºñ½º]¿¡¼ Á¾·á½ÃÅ°°í ¡®ÀÚµ¿½ÃÀÛ¡¯µÇÁö ¾Êµµ·Ï Á¶Ä¡ÇÏ¼Å¾ß ÇÕ´Ï´Ù. Windows Server Á¦Ç°±º¿¡´Â ±âº» ¡®SMTP ¼ºñ½º¡¯°¡ ½ÇÇàµÇ°í ÀÖÀ¸¹Ç·Î ¹Ýµå½Ã Á¾·á½ÃÄÑ¾ß ÇÕ´Ï´Ù.
# ¸ÞÀϼºñ½º Á¾·á ÈÄ SMTP(25), POP3(110)Æ÷Æ®¿¡¼ ÀÀ´äÀÌ ¾ø´ÂÁö È®ÀÎ. telnet 127.0.0.1 25 telnet 127.0.0.1 110
# ¸¸¾à 25, 110 Æ÷Æ®¿¡¼ ÀÀ´äÀÌ ÀÖ´Ù¸é ±âÁ¸ ¸ÞÀϼºñ½º°¡ Á¾·áµÈ °ÍÀÌ ¾Æ´Ï¹Ç·Î ÀçÈ®ÀÎÇÏ¼Å¾ß ÇÕ´Ï´Ù. |
1. ´Ù¿î¹ÞÀº ¾ÐÃàÆÄÀÏÀÇ ¾ÐÃàÀ» Ç®¸é nmail-php-2.5.1.exe ¶ó´Â ½ÇÇàÆÄÀÏÀÌ ³ª¿É´Ï´Ù.
2. ½ÇÇàÆÄÀÏÀ» ½ÇÇàÇØ ¾ÐÃàÀ» Ç® Æú´õÀ§Ä¡¸¦ ¡°C:\¡± ·Î ¼±ÅÃÇÏ¸é ±âº» ¼³Ä¡ Æú´õÀÎ ¡°C:\NmailPHP¡± ¿¡ ¾ÐÃàÀÌ Ç®¸³´Ï´Ù. ´Ù¸¥ Æú´õ¸¦ ¼±ÅÃÇصµ µÇÁö¸¸ ¡°C:\Program Files¡± ó·³ °ø¹éÀÌ µé¾î°£ Æú´õ´Â »ç¿ëÇÏ½Ã¸é ¾ÈµË´Ï´Ù.
½Ã½ºÅÛ Æú´õ( C:\WINDOWS / C:\WINNT )¿¡ °æ·ÎȣȯÀ» À§ÇÑ php.bat ¶ó´Â ¹èÄ¡ÆÄÀÏÀ» ¸¸µé¾î¾ß ÇÕ´Ï´Ù. ¹èÄ¡ÆÄÀÏÀÇ »ùÇÃÀº C:\NmailPHP\_php.bat_sample Æú´õ ¾È¿¡ ÀÖÀ¸¸ç ¾Æ·¡ ³»¿ëÀ» Âü°íÇÏ½Ã¸é µË´Ï´Ù.
1. ¾Ë¸ÂÀº php_????.bat ÆÄÀÏÀ» °ñ¶ó ¼³Ä¡ÇÑ PHPÀÇ Æú´õÀ§Ä¡¿¡ ¾Ë¸Â°Ô ¼öÁ¤ÇÔ.
2. ¼öÁ¤ÇÑ php_????.bat ÆÄÀÏÀÇ ÆÄÀϸíÀ» php.bat ·Î ¼öÁ¤ÇÔ.
3. ¼öÁ¤ÇÑ php.bat ¸¦ ½Ã½ºÅÛ Æú´õ( C:\WINDOWS / C:\WINNT )¿¡ º¹»çÇÔ.
¿¹¿Ü»óȲ) PHP ¹öÀü¿¡ µû¶ó php-cgi.exe ´ë½Å php.exe ¸¦ »ç¿ëÇØ¾ß ÇÏ´Â °æ¿ìµµ ÀÖ½À´Ï´Ù. ¼³Ä¡°úÁ¤Áß ¿¡·¯³ª ÀÌ»óÁõ»ó ¹ß»ý½Ã php.bat ¿¡¼ php-cgi.exe ´ë½Å php.exe ·Î º¯°æÇؼ Å×½ºÆ®Çغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
ex) php.bat - ¿ÀÅä¼Â
@ECHO OFF C:\AutoSet\Server\php5\php.exe -q -c C:\AutoSet\Server\php5\php.ini %1 %2 %3 %4 %5 %6 %7 %8 %9 |
ex) php.bat - ±úºñȨ¼¹ö
@ECHO OFF C:\KebiHome\server\php\php-cgi.exe -q -c C:\KebiHome\config\php\php.ini %1 %2 %3 %4 %5 %6 %7 %8 %9 |
ex) php.bat - RWAPM
@ECHO OFF C:\RWAPM\RTM20040531\bin\php-cgi.exe -q %1 %2 %3 %4 %5 %6 %7 %8 %9 |
ex) php.bat - PHP °³º° ¼³Ä¡½Ã
@ECHO OFF C:\Program Files\PHP\php-win.exe -q %1 %2 %3 %4 %5 %6 %7 %8 %9 |
ex) php.bat - APM_SETUP beta version
@ECHO OFF C:\APM_Setup\Server\PHP5\php-cgi.exe -q -c C:\APM_Setup\php.ini %1 %2 %3 %4 %5 %6 %7 %8 %9 |
¸¶Áö¸·À¸·Î ¸í·É â¿¡¼ ¡®php -v¡¯ ¸í·ÉÀÌ ¸ðµç Æú´õ¿¡¼ Á¦´ë·Î ½ÇÇàµÇ´ÂÁö È®ÀÎÇÏ¸é µË´Ï´Ù.
php -v #result# PHP 5.2.0 (cli) (built: Nov 2 2006 11:57:36) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
php -i|findstr php.ini #result# Configuration File (php.ini) Path </td><td class="v">C:\RWAPM\RTM20040531\bin\php.ini |
¡®¿ÀÅä¼Â¡¯ 4.3.0 (ÃÖ½Å) ¹öÁ¯ÀÇ °æ¿ì ½ÇÇà½Ã ZendOptimizer ¿Í ionCube ¸ðµâ°£ÀÇ Ãæµ¹ÀÌ ¹ß»ýÇÒ °¡´É¼ºÀÌ ÀÖ½À´Ï´Ù. À̶§ php.ini ¿¡¼ ¿£¸ÞÀÏ¿¡¼ »ç¿ëÇÏÁö ¾Ê´Â Zend ¼³Á¤À» ÁÖ¼®Ã³¸® ȤÀº »èÁ¦ÇÏ½Ã¸é ¹®Á¦°¡ ÇØ°áµË´Ï´Ù.
php -v Failed to start up concurrent users module! |
C:\AutoSet\Server\php5\php.ini ¸¶Áö¸· ¶óÀÎ) ;zend_extension_manager.optimizer_ts="C:\AutoSet\Server\ZendOptimizer3.3\lib\Optimizer-3.3.0" ;zend_extension_ts="C:\AutoSet\Server\ZendOptimizer3.3\lib\ZendExtensionManager.dll" |
ÁÖÀÇ) PHP ¸¦ ¿©·¯ °³ ¼³Ä¡ÇØ µÎ¾úÀ» °æ¿ì PHP Ãæµ¹·Î ÀÎÇØ ¼³Ä¡½Ã ¿¹±âÄ¡ ¸øÇÑ ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ½À´Ï´Ù. µû¶ó¼ ¼¹ö³»¿¡ ÇϳªÀÇ PHP¸¸ ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
¾È³») ¿ÀÅä¼Â, ±úºñȨ¼¹ö, RWAPM »ç¿ëÀÚ´Â ÀÌ ´Ü°è¸¦ »ý·«ÇÕ´Ï´Ù.
¾Õ¼± ¡°¼³Ä¡ Áغñ¡±´Ü°è¿¡¼ ¾ð±ÞµÇ¾î ÀÖ´Â Apache + PHP + MySQL µ¥¸óÀÇ ¼³Ä¡°¡ ¿Ï·áµÈ »óÅ¿¡¼ ¼³Ä¡¸¦ ½ÃÀÛÇÏ¼Å¾ß ÇÕ´Ï´Ù.
¸í·É â¿¡¼ ¾Æ·¡Ã³·³ mbstring ¸ðµâÀÌ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù.
php -m|findstr mbstring #result# mbstring |
mbstring ¸ðµâÀÌ ¼³Ä¡µÇ¾î ÀÖÁö ¾ÊÀ» °æ¿ì ´ÙÀ½Ã³·³ php.ini ÆÄÀÏÀÇ °æ·Î¸¦ È®ÀÎÇÏ°í,
php -i|findstr php.ini #result# Configuration File (php.ini) Path </td><td class="v">C:\RWAPM\RTM20040531\bin\php.ini |
php.ini ÆÄÀÏÀ» ¿¾î mbstring ¸ðµâÀ» ·ÎµùÇÏ´Â ºÎºÐÀÇ ÁÖ¼®À» Á¦°ÅÇÕ´Ï´Ù.
;extension=php_mbstring.dll => extension=php_mbstring.dll |
¾È³») ¿ÀÅä¼Â, ±úºñȨ¼¹ö, RWAPM »ç¿ëÀÚ´Â ÀÌ ´Ü°è¸¦ »ý·«ÇÕ´Ï´Ù.
PHP mail function À» »ç¿ëÇؼ ¸ÞÀÏÀ» ¹ß¼ÛÇÏ´Â ÇÁ·Î±×·¥À» À§ÇØ php.ini ¿¡ ´ÙÀ½Ã³·³ ¼³Á¤ÀÌ µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
[mail function] ; For Win32 only. - ÁÖ¼Ò´Â localhost, Æ÷Æ®¹øÈ£´Â 25¹øÀÔ´Ï´Ù. SMTP = localhost smtp_port = 25
; For Unix only. - RWAPMÀÇ °æ¿ì ÀÚü sendmail À» »ç¿ëÇÏÁö ¾Êµµ·Ï ÁÖ¼®Ã³¸®(;)Çصξî¾ß ÇÕ´Ï´Ù. ;sendmail_path = "C:\RWAPM\RTM20040531\bin\sendmail -t" |
1. [À©µµ¿ì Ž»ö±â]¸¦ »ç¿ëÇؼ ¼³Ä¡ Æú´õ·Î À̵¿Çϼż nmail_dir_set.bat ¸¦ ½ÇÇàÇÕ´Ï´Ù. ·¹Áö½ºÆ®¸® µî·ÏÈ®ÀÎÀÌ ³ª¿À¸é ¡®¿¹¡¯¸¦ ´©¸£½Ã¸é µË´Ï´Ù.
2. ¼³Ä¡ Æú´õ¾È¿¡ nmail_install.bat ¸¦ ½ÇÇàÇؼ ¾È³» ¹®±¸¿¡ µû¶ó ÇÊ¿äÇÑ Á¤º¸¸¦ ÀÔ·ÂÇÏ½Ã¸é ¼³Ä¡°¡ ¿Ï·áµË´Ï´Ù. ¼³Ä¡°¡ Á¤»óÀûÀ¸·Î ¿Ï·áµÈ °æ¿ì ¸¶Áö¸· ȸ鿡 ¡®¾ÆÆÄÄ¡ °¡»ó È£½ºÆ® ¼³Á¤¡¯¿¹Á¦°¡ º¸¿©Áö°Ô µË´Ï´Ù. ¸¸¾à Áß°£¿¡ ½ÇÆÐÇßÀ» °æ¿ì¿¡´Â ½ÇÆпøÀο¡ ´ëÇØ Á¶Ä¡ ÈÄ ¼³Ä¡ ½ºÅ©¸³Æ®¸¦ ´Ù½Ã ½ÇÇàÇÏ½Ã¸é µË´Ï´Ù. Âü°í·Î ¼³Ä¡ ½ºÅ©¸³Æ®´Â Áߺ¹ ½ÇÇàÇصµ ¹®Á¦°¡ ¹ß»ýÇÏÁö ¾Êµµ·Ï ¼³°èµÇ¾î ÀÖ½À´Ï´Ù.
1. Windows Server Á¦Ç°±ºÀÇ °æ¿ì ¿£¸ÞÀÏÀÌ ¼³Ä¡µÈ Æú´õÀÇ 'º¸¾È' ¼Ó¼º¿¡¼ 'everyone'°èÁ¤¿¡ ¸ðµç±ÇÇÑÀ» ºÎ¿©ÇØÁֽñ⠹ٶø´Ï´Ù.
2. ¹é½Å ÇÁ·Î±×·¥ÀÌ ¼³Ä¡µÇ¾î ÀÖÀ» °æ¿ì ¡®½Ç½Ã°£ °¨½Ã¡¯±â´ÉÀ» ÁߴܽÃÅ°°Å³ª, ¿£¸ÞÀÏ Æú´õ¸¦ °¨½ÃÁ¦¿Ü µð·ºÅ丮·Î ÁöÁ¤ÇØµÎ¼Å¾ß ÇÕ´Ï´Ù. ±×¸®°í ¡®ÀÎÅÍ³Ý °¨½Ã(POP3)¡¯±â´Éµµ Áß´ÜÇØ¾ß ÇÕ´Ï´Ù. ¸ÞÀϼ¹öÀÇ Æ¯¼º»ó ÆÄÀÏ Çڵ鸵½Ã ¹é½Å ÇÁ·Î±×·¥°ú Ãæµ¹ÇØ ÀÌÀ¯¾ø´Â Àå¾Ö Çö»óÀÌ ¹ß»ýÇÏ´Â ÁÖ¿ä ¿øÀÎÀÌ µË´Ï´Ù.
1. [½ÃÀÛ – Á¦¾îÆÇ – ¿¹¾àµÈ ÀÛ¾÷]¿¡¼ ¡®¿¹¾à ÀÛ¾÷ Ãß°¡¡¯Å¬¸¯.
2. [´ÙÀ½]¹öÆ°À» Ŭ¸¯ÇÏ°í, [ã¾Æº¸±â]¸¦ ´·¯ ¾Æ·¡ ¿£¸ÞÀÏ µðºñ µ¿±âÈ ½ºÅ©¸³Æ®¸¦ ¼±ÅÃ.
l C:\NmailPHP\tools\mail_box_dbsync_all_auto.bat
3. ¡®ÀÛ¾÷ ½ÇÇ࡯À» ¡®¸ÅÀÏ¡¯·Î üũÇÏ°í [´ÙÀ½]¹öÆ°À» Ŭ¸¯.
4. ¡®½ÃÀÛ ½ÃÀÛ¡¯À» »õº®½Ã°£´ë(02~04½Ã)·Î º¯°æÇÏ°í [´ÙÀ½]¹öÆ°À» Ŭ¸¯.
5. °ü¸®ÀÚ°èÁ¤ÀÇ ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÑ ÈÄ [´ÙÀ½]¹öÆ°À» Ŭ¸¯.
6. [¸¶Ä§]¹öÆ°À» Ŭ¸¯ÇÏ¸é ¿Ï·áµË´Ï´Ù.
ÁÖÀÇ) ¼¹ö³»¿¡ ±âÁ¸¿¡ ¿î¿µÁßÀÎ À¥»çÀÌÆ®°¡ ÀÖÀ» °æ¿ì
Apache °¡»óÈ£½ºÆ®¿¡ ¼±¾ðµÇÁö ¾ÊÀº µµ¸ÞÀÎÀ¸·Î Á¢¼ÓÇÒ °æ¿ì ù¹ø° °¡»óÈ£½ºÆ® ¼³Á¤À» µû¸£°Ô ´Ï´Ù. ÀÌ·Î ÀÎÇØ ±âÁ¸ À¥»çÀÌÆ®(www.YourDomain.com)¿ë °¡»óÈ£½ºÆ®°¡ µû·Î ¼±¾ðµÇÁö ¾ÊÀº »óÅ¿¡¼ ¿£¸ÞÀÏ¿ë °¡»óÈ£½ºÆ®¸¦ Ãß°¡ÇÏ°Ô ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖ½À´Ï´Ù. ¹®Á¦°¡ »ý±âÁö ¾Êµµ·Ï ¹Ì¸® ±âÁ¸ À¥»çÀÌÆ®¿¡ ¸Â´Â °¡»óÈ£½ºÆ®°¡ ¼³Á¤À» È®ÀÎ ÈÄ Ãß°¡ÇÏ½Ã´Â°Ô ÁÁ½À´Ï´Ù.
- ´ÙÀ½ ¼³Á¤¹æ¹ý Áß ÀÚ½ÅÀÇ Apache ȯ°æ¿¡ ¸Â´Â ÇÑ°¡Áö¸¦ ¼±ÅÃÇؼ Âü°íÇÏ½Ã¸é µË´Ï´Ù.
¿ÀÅä¼Â »ç¿ëÀÚ)
¡®¿ÀÅä¼Â °ü¸®Åø¡¯ÀÇ [µµ±¸ - À¥¼¹ö ¼¼ºÎ ¼³Á¤ - °¡»ó È£½ºÆ® ¼³Á¤]¿¡¼ µî·ÏÇÏ°í, Apache À¥¼¹ö¸¦ Àç½ÃÀÛÇÏ½Ã¸é µË´Ï´Ù.
- ¿¬°á ÁÖ µµ¸ÞÀÎ : mail.YourDomain.com (¸ÞÀÏÁÖ¼Ò)
- ¿¬°á ºÎ µµ¸ÞÀÎ : mail.* (¿©·¯°³ÀÇ µµ¸ÞÀÎ »ç¿ë½Ã Çʼö)
- Ȩ µð·ºÅ丮 : c:\NmailPHP\nmail
ÁÖÀÇ) ¿£¸ÞÀÏ ¼³Ä¡ Æú´õ¾Æ·¡ÀÇ nmail(À¥¸ÞÀÏ ¼Ò½º) Æú´õ¸¦ ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù. ¿£¸ÞÀÏ ¼³Ä¡ Æú´õ(c:\NmailPHP)¸¦ ÁöÁ¤ÇÒ °æ¿ì ½É°¢ÇÑ º¸¾ÈÀ§Çè¿¡ ³ëÃâµË´Ï´Ù.
- °ü¸®ÀÚ E-mail :
- ¡®Access Log¸¦ ³²±é´Ï´Ù.¡¯ Ç׸ñ üũ
- ¡®Error Log¸¦ ³²±é´Ï´Ù.¡¯ Ç׸ñ üũ
±úºñȨ¼¹ö »ç¿ëÀÚ)
¡®±úºñȨ¼¹öÀÇ °ü¸®Åø¡¯¿¡¼ [À¥¼¹ö(Apache) °ü¸® - ´ÙÁß À¥¼¹ö(Virtual Host) ¼³Á¤]¿¡¼ µî·ÏÇÏ°í, Apache À¥¼¹ö¸¦ Àç½ÃÀÛÇÏ½Ã¸é µË´Ï´Ù.
ÁÖÀÇ) ¿£¸ÞÀÏ ¼³Ä¡ Æú´õ¾Æ·¡ÀÇ nmail(À¥¸ÞÀÏ ¼Ò½º) Æú´õ¸¦ ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù. ¿£¸ÞÀÏ ¼³Ä¡ Æú´õ(c:\NmailPHP)¸¦ ÁöÁ¤ÇÒ °æ¿ì ½É°¢ÇÑ º¸¾ÈÀ§Çè¿¡ ³ëÃâµË´Ï´Ù.
[Server Nmae ( µµ¸ÞÀÎ )] -> mail.YourDomain.com [Document Root ( Ȩµð·ºÅ丮)] -> C:\NmailPHP\nmail (¼³Ä¡°æ·Î¿¡ µû¶ó ´Ù¸¦ ¼ö ÀÖÀ½) |
RWAPM »ç¿ëÀÚ)
: C:\RWAPM\RTM20040531\conf\httpd.conf ¿¡ °¡»óÈ£½ºÆ® ¼³Á¤ ³»¿ëÀ» Ãß°¡ÇϽðí, ¾ÆÆÄÄ¡ À¥¼¹ö¸¦ Àç½ÃÀÛÇÏ½Ã¸é µË´Ï´Ù.
±×¿Ü »ç¿ëÀÚ)
============================================================================== = ¿£¸ÞÀÏ ¼³Ä¡ ÀÛ¾÷ÀÌ ¿Ï·áµÇ¾ú½À´Ï´Ù. ============================================================================== ÀÌÁ¦ Apache À¥¼¹öÀÇ ¼³Á¤ÆÄÀÏÀÎ httpd.conf ¿¡ °¡»óÈ£½ºÆ®(ȤÀº ¾Ë¸®¾Æ½º) ¼³Á¤À» Ãß°¡ÇÏ°í Apache À¥¼¹ö¸¦ Àç½ÃÀÛÇϸé À¥¸ÞÀÏÀ» »ç¿ëÇÏ½Ç ¼ö ÀÖ°Ô µË´Ï´Ù. httpd.conf ¿¡ Ãß°¡ÇؾßÇÒ ³»¿ë) ÁÖÀÇ) ¼¹ö¿¡ µû¶ó NameVirtualHost, VIrtualHost Ç׸ñÀº ´Ù¸¦ ¼ö ÀÖÀ¸´Ï ±âÁ¸ ¼³Á¤À» È®ÀÎÇϼ¼¿ä. ÁÖÀÇ) ServerName Àº DNS ¼³Á¤¿¡ µû¶ó 'mail'À̶ó´Â 2Â÷µµ¸ÞÀÎÀÌ ºÙÁö ¾ÊÀ» ¼ö µµ ÀÖÀ¸´Ï DNS ¼¹ö°ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇϽñ⠹ٶø´Ï´Ù. httpd.conf ÀÇ ÀϹÝÀûÀÎ °æ·Î) RWAPM ¼³Ä¡½Ã) C:\RWAPM\RTM20040531\conf\httpd.conf °³º° ¼³Ä¡½Ã) C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf
NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin postmaster@YourDomain.com DocumentRoot "C:\NmailPHP\nmail" ServerName mail.YourDomain.com ServerAlias mail.* # mail. À¸·Î ½ÃÀÛÇÏ´Â ¸ðµç µµ¸ÞÀο¡ ÀÌ ¼³Á¤À» Àû¿ëÇÑ´Ù´Â ÀǹÌÀÓ. #ServerAlias mail.MultiDomain1.com mail.MultiDomain2.com ErrorLog logs/nmail2.error_log TransferLog logs/nmail2.access_log <Directory "C:\NmailPHP\nmail"> Options MultiViews AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> |
Âü°í) Apache ¼³Á¤ Áß ´ÙÀ½ Ç׸ñÀÌ ÀÖ´Ù¸é »èÁ¦ ÈÄ Àç½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀ¸¸é À¥¸ÞÀÏ¿¡¼ ÇѱÛÀÌ ±úÁú °¡´É¼ºÀÌ ÀÖ½À´Ï´Ù.
AddDefaultCharset UTF-8 |
ÀϹÝÀûÀÎ °æ¿ìó·³ http://mail.YourDomain.com ÇüÅÂÀÇ À¥¸ÞÀÏ ÁÖ¼Ò¸¦ »ç¿ëÇÒ °æ¿ì¿¡´Â ¡®¾Ë¸®¾Æ½º¡¯¼³Á¤À» µû·Î Àâ¾ÆÁÙ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. ÇÏÁö¸¸ ¡®°¡»óÈ£½ºÆ®¡¯¼³Á¤À» »ç¿ëÇÏÁö ¾Ê°í http://YourDomain.com/mail/ ÇüÅ·Π»ç¿ëÇÏ·Á¸é ¡®¾Ë¸®¾Æ½º¡¯¼³Á¤À» ÀÌ¿ëÇÏ½Ã¸é µË´Ï´Ù.
Apache À¥¼¹öÀÇ ¼³Á¤ÆÄÀÏÀÎ httpd.conf ¿¡¼ ±âÁ¸ Alias ¿É¼Ç ¾Æ·¡¿¡ ¿£¸ÞÀÏ °ü·Ã Alias ¸¦ Ãß°¡ÈÄ À¥¼¹ö¸¦ Àç½ÃÀÛÇÏ¸é µË´Ï´Ù.
# ±âÁ¸ Alias ¼³Á¤ Alias /icons/ "C:/RWAPM/RTM20040531/icons/"
# ¿£¸ÞÀÏ Alias ¼³Á¤(»õ·Î Ãß°¡ÇؾßÇÒ ºÎºÐ) Alias /mail "C:\NmailPHP\nmail" <Directory "C:\NmailPHP\nmail"> Options None AllowOverride None Order allow,deny Allow from all </Directory> |
À¥ºê¶ó¿ìÀú¿¡¼ ¼³Ä¡ÇÑ ÁÖ¼Ò( http://mail.YourDomain.com ) ·Î Á¢¼ÓÇÏ½Ã¸é µË´Ï´Ù. [¼¹ö°ü¸®ÀÚ]°èÁ¤Àº ¾ÆÀ̵ð´Â postmaster À̸ç, ºñ¹Ð¹øÈ£´Â ¼³Ä¡½Ã ÀÔ·ÂÇÑ ºñ¹Ð¹øÈ£ÀÔ´Ï´Ù.
¸ÖƼ µµ¸ÞÀÎÀº ¡®¼¹ö°ü¸®ÀÚ¡¯ÀÎ postmaster ·Î ·Î±×ÀÎÈÄ [¸ÞÀϼ¹ö°ü¸® - µµ¸ÞÀΰü¸®]¿¡¼ Ãß°¡ÇÒ ¼ö ÀÖÀ¸¸ç ¸ÞÀÏ°èÁ¤µµ [¸ÞÀϼ¹ö°ü¸® - ȸ¿ø°ü¸®]¿¡¼ Ãß°¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¸ÖƼ µµ¸ÞÀÎÀÇ °æ¿ì »ç¿ëÀÚ°¡ Á¢¼ÓÇÑ À¥ÆäÀÌÁö ÁÖ¼Ò(http://)¿¡ µû¶ó ±¸ºÐÇÏ¿© ¿£¸ÞÀÏ ³»ºÎ¿¡¼ ÀÚµ¿ Àνĵ˴ϴÙ.
¸ÖƼ µµ¸ÞÀÎ Ãß°¡ ÀÛ¾÷ ¼ø¼)
b. À¥¸ÞÀÏ [¸ÞÀϼ¹ö°ü¸®]¿¡¼ µµ¸ÞÀÎ ¹× ȸ¿ø Ãß°¡.
c. ¾ÆÆÄÄ¡ À¥¼¹ö ¼³Á¤ È®ÀÎ.
- ¾Õ¼ ¼³Á¤ÇصР°¡»óÈ£½ºÆ®, ¾Ë¸®¾Æ½ºÀÇ °æ¿ì ¸ðµç µµ¸ÞÀο¡ Àû¿ëµÇ¹Ç·Î µû·Î ÀÛ¾÷ ÇÏ½Ç ÇÊ¿ä°¡ ¾ø½À´Ï´Ù.
d. µµ¸ÞÀÎÀÇ DNS ¼¹ö¿¡¼ MX ·¹ÄÚµåÀÇ IP ¸¦ ¸ÞÀϼ¹ö·Î º¯°æ.
¡Ø ¸ÞÀϼ¹ö °ü¸®¿¡ ÇÊ¿äÇÑ µµ¿ò¸»À» Á¤¸®Çسõ¾Ò½À´Ï´Ù. ¼³Ä¡ÇϽŠÀ¥¸ÞÀÏÀÇ [¸ÞÀϼ¹ö°ü¸® >> ¸ÞÀϼ¹ö°ü¸® FAQ]¿¡ µî·ÏµÇ¾î ÀÖ½À´Ï´Ù. ¾Æ·¡ µ¥¸ð»çÀÌÆ®¿¡¼ ¹Ì¸® È®ÀÎÇغ¸½Ç ¼ö µµ ÀÖ½À´Ï´Ù.
http://nbuilder.net/nmail/help.php?id=SAFAQ
¡Ø ¸ñÂ÷ ¹Ì¸®º¸±â
¢Â ¸ÞÀϼ¹ö ½ÃÀÛ°ú Á¾·á, »ç¿ë Æ÷Æ®(¹æȺ®¼³Á¤)
¢Â ¸ÞÀϼ¹ö ¼³Á¤ ¾È³»
¢Â ¸ÖƼµµ¸ÞÀÎ Ãß°¡ ¾È³»
¢Â µ¥ÀÌŸ ¹é¾÷ ¾È³»
¢Â SMTP RELAY(¿ÜºÎ ¸ÞÀÏ¹ß¼Û ±ÇÇÑ) ¼³Á¤
¢Â ÆíÁö¾²±â½Ã ÃÖ´ë ÷ºÎÆÄÀÏ ¿ë·® Á¶Àý ¾È³»
¢Â ¸ÞÀÏŬ¶óÀ̾ðÆ®(¾Æ¿ô·è µî)»ç¿ë½Ã ÀÎÁõ¹æ¹ý¿¡ ´ëÇÑ ¾È³»
¢Â ¸ÞÀÏ ÆÄÀÏ°ú µðºñÀÇ µ¿±âÈ ¾È³»
¢Â ¹æȺ® »ç¿ë½Ã À¯ÀÇ»çÇ×
¢Â ¼¹ö ÀÌÀü½Ã À¯ÀÇ»çÇ×
¢Â µðºñ¿¡ ÀúÀåµÈ µ¥ÀÌŸ¸¦ ÀÓÀÇ·Î ¼öÁ¤ÇÏ°íÀÚ ÇÒ¶§ÀÇ À¯ÀÇ»çÇ×
¡Ø ¾Æ¿ô·è µîÀÇ ¸ÞÀÏŬ¶óÀ̾ðÆ®¿¡¼ ¸ÞÀÏÀ» º¸³»°í ¹Þ±â À§ÇÑ »ç¿ë¹æ¹ý ¹× ¹®Á¦ ¹ß»ý½Ã ÇØ°áÃ¥À» Á¤¸®Çسõ¾Ò½À´Ï´Ù. ¼³Ä¡ÇϽŠÀ¥¸ÞÀÏÀÇ [POP3 ÀÌ¿ë¾È³»]¿¡ µî·ÏµÇ¾î ÀÖ½À´Ï´Ù. ¾Æ·¡ µ¥¸ð»çÀÌÆ®¿¡¼ ¹Ì¸® È®ÀÎÇغ¸½Ç ¼ö µµ ÀÖ½À´Ï´Ù.
http://nbuilder.net/nmail/help.php?id=POP3
¡Ø ¸ñÂ÷ ¹Ì¸®º¸±â
1. POP3/SMTP ¼³Á¤¹æ¹ý ¾È³».
2. ¼³Á¤¹æ¹ý µû¶óÇϱâ - Office
Outlook
3. ¼³Á¤¹æ¹ý µû¶óÇϱâ - Outlook
Express
4. ¾Æ¿ô·è µîÀÇ ¸ÞÀÏ ÇÁ·Î±×·¥°ú À¥¸ÞÀÏÀ» µ¿½Ã¿¡ »ç¿ëÇÒ °æ¿ìÀÇ À¯ÀÇ»çÇ×.
5. ¾Æ¿ô·è µîÀÇ ¸ÞÀÏ ÇÁ·Î±×·¥¸¸ »ç¿ëÇÒ °æ¿ìÀÇ ¸ÞÀÏ ¿ë·® ÃÊ°ú °¡´É¼º.
¡Ø ¸ÞÀÏ ¼Û¼ö½Å°úÁ¤¿¡¼ ¹ß»ýÇÏ´Â ¸®ÅϸÞÀÏ(¼Û¼ö½Å ¿¡·¯¿¡ ´ëÇÑ ¸Þ¼¼Áö)¿¡ ´ëÇØ ¿¡·¯º°·Î ¿øÀÎ ¹×ÇØ°áÃ¥À» Á¤¸®Çسõ¾Ò½À´Ï´Ù. ¼³Ä¡ÇϽŠÀ¥¸ÞÀÏÀÇ »ó´Ü¸Þ´ºÁß [¸®ÅϸÞÀÏ ºÐ¼®]¿¡ µî·ÏµÇ¾î ÀÖ½À´Ï´Ù. ¾Æ·¡ µ¥¸ð»çÀÌÆ®¿¡¼ ¹Ì¸® È®ÀÎÇغ¸½Ç ¼ö µµ ÀÖ½À´Ï´Ù.
http://nbuilder.net/nmail/help.php?id=RETURNMAIL
¡Ø ¸ñÂ÷ ¹Ì¸®º¸±â
¢Â ÀϽÃÀûÀÎ Àü¼Û ½ÇÆÐ
- 417 Temporary delivery error
- The maximum number of delivery attempts has been reached
- End of socket stream data
- Invalid server address
- Bad server response
¢Â ¹Þ´Â»ç¶÷ÀÌ Á¸ÀçÇÏÁö ¾Ê´Â °æ¿ì
- 550 User unknown
- 550 Mailbox unavailable
- 550 5.1.1 No such user
- 554 delivery error: dd This user doesn't have a yahoo.co.kr account
(userid@domain.com) [-5] - mta114.mail.krs.yahoo.com
¢Â ¹Þ´Â»ç¶÷ÀÌ »ç¿ëÁßÁöµÈ °æ¿ì
- 550 Account disabled
- 550 5.1.1 Inactive mbox
- 550 5.1.1 Suspended user
- 554 delivery error: dd Sorry your message to userid@domain.com cannot be
delivered. This account has been disabled or discontinued [#102]. -
mta115.mail.krs.yahoo.com
¢Â ¹Þ´Â»ç¶÷ÀÇ ¸ÞÀÏ¿ë·®ÀÌ ÃÊ°úµÈ °æ¿ì
- 552 Requested mail action aborted: exceeded storage allocation -
<userid@domain.com>
- The recipient's mailbox is full
¢Â ¹Þ´Â»ç¶÷ÀÇ ½ºÆÔ¼³Á¤(¼ö½Å°ÅºÎ)¿¡ ÀÇÇØ Â÷´ÜµÈ °æ¿ì
- 550 You are registered as spammer (by user's reject list)
- 554 5.0.0 Service unavailable (userid: mail is denied, by spam filter)
¢Â ¸ÞÀϹ߼۱ÇÇÑÀÌ ¾ø°Å³ª »ó´ë¹æ ¸ÞÀϼ¹ö ¼³Á¤ ¹®Á¦
- 550 Relay denied
- 554 Relay operation rejected
- 550 5.7.1 Unable to relay for userid@domain.com
¢Â ´ë·® ¸ÞÀÏ ¹ß¼ÛÀ¸·Î ÀÎÇØ ´ëÇüÆ÷ÅзκÎÅÍ IP°¡ Â÷´ÜµÈ °æ¿ì
- 550 5.7.1 <userid@domain.com>... Error.your access was denied.? Since
you sent too many e-mails,you are not allowed to send more e-mails within 24
hours.After 24 hours,you can send e-mails as usual.If you did not send any
e-mails,which is considered as a spam,you'd better register
- 421 4.3.2 Your IP(111.112.113.114) is filtered and this connection will be
closed. You must register your IP to http://realip.naver.com
- 421 4.3.1 You send too many messages.
- 5.1.0 - Unknown address error 550-'Transaction failed. (SPAM_SUSPECT:IP_CONTROL)
(http://cleanip.paran.com)'
- 451 mta113.mail.krs.yahoo.com Resources temporarily unavailable. Please try
again later [#4.16.5].
¢Â RBL¿¡ ÀÇÇØ Â÷´ÜµÈ °æ¿ì
- 421 4.3.2 Your ip is filtered by RBL
(http://realip.naver.com/rbl/rblinfo.html)(IP:111.112.113.114)(Caues:http://dsbl.org/listing?111.112.113.114)
- 553 5.3.0 ... Rejected - see http://www.mail-abuse.org/rbl/
- 553-mail rejected because your IP is in DUL. See
http://www.mail-abuse.com/enduserinfo.html
¢Â »ó´ë¹æ ¸ÞÀϼ¹ö¿¡¼ ½ºÆÔÀ¸·Î ÀνÄÇؼ Â÷´ÜµÈ °æ¿ì
- 553 Blocked for spam
- 550 5.5.0 Your message was rejected.
¢Â »ó´ë¹æ ¸ÞÀϼ¹ö¿¡¼ ¹ÙÀÌ·¯½º·Î ÀνÄÇؼ Â÷´ÜµÈ °æ¿ì
- 550 Virus in your mail!!!
¢Â ÷ºÎÆÄÀÏ¿¡ ½ÇÇàÆÄÀÏÀ» ÷ºÎÇÒ ¼ö ¾ø´Â °æ¿ì - ±¸±Û
- 552 5.7.0 Illegal Attachment 36si248323nzk+I9:I15
¢Â ¹Þ´Â»ç¶÷°ú º¸³½»ç¶÷¿¡ ¹®Á¦°¡ ÀÖ¾î ¸®ÅϸÞÀÏÀÌ ¹Ýº¹µÇ´Â °æ¿ì
- Mail loop detected
¢Â ¹Þ´Â ¸ÞÀϼ¹ö¿¡¼ Çã¿ëÇÏ´Â ÃÖ´ë¸ÞÀÏÅ©±â¸¦ ÃÊ°úÇÑ °æ¿ì
- Message size excedes the server limit