ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
bird72
°¡ÀÔ: 2003³â 9¿ù 24ÀÏ ¿Ã¸° ±Û: 77
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 2:02 pm ÁÖÁ¦: [sendmail¼³Ä¡]php¿¡¼ Àüü ¸ÞÀÏ ¹ß¼Û¿ë.. |
|
|
¾È³çÇϼ¼¿ä...
¿À´ÃÀÌ ¹ú½á 2003³âÀÇ ¸¶Áö¸·À̳׿ä...^^;;
±Ùµ¥... ½ºÅ³Àº ´ÃÀº°ÍÀÌ ¾ø°í...ÂÁ... ¸ÓÇÏ°í »ì¾Ò³ª... T.T
°¢¼³ÇÏ°í...
¼¾µå¸ÞÀÏÀ» ¼³Ä¡ÇÏ·Á°í ÇÕ´Ï´Ù.
¹°·Ð ÀÌÀ¯´Â Á¦¸ñó·³ php¿¡¼ »çÀÌÆ® ȸ¿øµé¿¡°Ô ¸ÞÀÏÀ» ¹ß¼ÛÇϱâ À§ÇؼÀÔ´Ï´Ù.
¸®´ª½º¸¦ ±âº»ÀûÀ¸·Î ¼³Ä¡ÇßÀ» °æ¿ì (·¹µåÇÞ 9.0) ¼¾µå¸ÞÀÏ µ¥º»Àº ½ÇÇàÀº µÇ´Âµ¥... php¿¡¼ ¸ÞÀÏÀ» ¹ß¼ÛÇϱâ À§Çؼ ¾²´Â sendmailÀ̶ó´Â ¸í·É¾î°¡
»ý¼ºÀÌ µÇÁö ¾Ê³×¿ä...
µ¥¸óÀÌ ¾Æ´Ñ php¿¡¼ ȸ¿øµé¿¡°Ô ¸ÞÀÏÀ» ¹ß¼ÛÇϱâ À§ÇØ ¼³Ä¡ÇÏ·Á¸é ¾î¶»°Ô Çϳª¿ä???
´ëºÎºÐ /usr/sbin/sendmailÀ̶õ ¸í·É¾î¸¦ È£ÃâÇؼ ¸ÞÀÏÀ» º¸³»´øµ¥...
°í¼ö´ÔÀÇ µµ¿òÀ» °£ÀýÈ÷ ±â´Ù¸®°Ú½À´Ï´Ù... _________________ ilovesusu |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 2:26 pm ÁÖÁ¦: Re: php¿¡¼ Àüü ¸ÞÀÏ ¹ß¼Û °ü·Ã |
|
|
bird72´ÔÀÇ Áú¹®ÀÌ ¿Ã¶ó¿À´Ï Á¤¸» ¹Ý°©½À´Ï´Ù.
ÇöÀç ¼¼µé¾î »ì°í ÀÖ´Â IDC ¼¹ö(?)¿¡ ȸ¼± ¹®Á¦·Î Àӽà ¼¹ö·Î ¿Å°Ü ¼ºñ½º¸¦ ÇÏ°í ÀÖ°í ÀÖ½À´Ï´Ù.
³×ÀÓ¼¹ö º¯°æ ½ÅûÇߴµ¥ Àû¿ëÀÌ »ó´çÈ÷ ´À·Á, Á¢¼ÓÀÌ ¾ÈµÇ´Â °÷ÀÌ ¸¹°Åµç¿ä. ^^
---------------------------
sendmail µ¥¸óÀÌ ¶ç¾îÁ® ÀÖ´Ù¸é ÀÌ¹Ì sendmailÀº ¼³Ä¡ÇϽŰų׿ä. ^^
¶ç¿©ÀÖ´Â sendmail µ¥¸óÀ̶ó´Â °ÍÀº sendmail ¿¡ -bd -q½Ã°£ ¿É¼ÇÀ» ÁÖ¾î¼ ¶ç¿ì´Â °ÍÀÔ´Ï´Ù.
php.ini¿¡ sendmail °æ·Î ¼³Á¤(sendmail_path)ÇÏ´Â ºÎºÐÀÌ ÀÖÀ¸´Ï ±× ºÎºÐÀ» È®ÀÎÇغ¸¼¼¿ä.
php.ini°¡ ¾î´À °æ·Î¿¡ ÀÖ´ÂÁö ¸ð¸¥´Ù¸é,
test.php¿¡
¸¦ ³Ö°í ½ÇÇàÇÏ¸é ¾î´À °æ·Î¿¡ ÀÖ´Â °ÍÀÎÁö È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.
¹°·Ð ¹ß¼Û Å×½ºÆ® ÈÄ¿¡ /var/log/maillogµµ È®ÀÎÇغ¸½Ã±¸¿ä.
»õÇØ º¹ ¸¹ÀÌ ¹ÞÀ¸¼¼¿ä. |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
bird72
°¡ÀÔ: 2003³â 9¿ù 24ÀÏ ¿Ã¸° ±Û: 77
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 4:59 pm ÁÖÁ¦: [Áú¹®] sendmail °ü·Ã Áú¹® 2 |
|
|
¾È³çÇϼ¼¿ä..^^
¸ÕÀú Àú¸¦ ±â¾ïÇØÁֽôٴÏ..¤Ð.¤Ð Á¤¸» °¨»çÇÕ´Ï´Ù..
Á¦°¡ Áú¹®ÇÏ´Â °ÍÀÌ ¿ö³«... Ãʺ¸¼öÁØÀ̶ó... ±â¾ï¸øÇÏ½Å´Ù°í »ý°¢Çߴµ¥...
Ȥ½Ã... ¿ö³« Ãʺ¸Áú¹®À̶ó... ±â¾ïÇϽóª.. ¤Ñ.¤Ñ;;;;
¾ÏÆ° ´©±º°¡ Àú¸¦ ¾Ë¾ÆºÁ Áشٴ °Å¿¡ ´ëÇؼ Á¤¸» ±â»Þ´Ï´Ù..
Èì...
ÀÏ´Ü php.ini¿¡¼ °æ·Î¸¦ »ìÆ캸¾Ò´Âµ¥¿ä....
/usr/sbin/sendmail·Î µÇ¾îÀÖ¾ú½À´Ï´Ù.
»ç½Ç..À̹ø¿¡ ¼¹ö¿¡ ÇϵåÀû ¿¡·¯°¡ ³ª¼ ¼¹ö¸¦ ÀÌÀüÇÏ´Â °ü°è·Î ÀÌ·±¹®Á¦°¡ »ý°å°Åµç¿ä...
ºÐ¸íÈ÷ ¼¾µå¸ÞÀÏÀº ¼³Ä¡°¡ µÇ¾îÀִµ¥.... µ¥¸ó»óÅ·Π¸ÞÀÏÀ» Àü¼ÛÇÏ´Â °ÍÀº ¾Æ´Ï°í... /usr/sbin/sendmailÀ̶ó´Â ¸í·É¾î°¡ ÀÖ¾î À̸¦ ½ÇÇàÇؼ ¸ÞÀÏÀ» º¸³»´Â ¹æ½ÄÀ̾ú½À´Ï´Ù.
±×·±µ¥... µ¥¸óÀº Àִµ¥... µ¥¸ó ½ÇÇ൵ µÇÁö¸¸.... ¾Æ¹«¸® ¼¹ö¸¦ µÚÁ®ºÁµµ..
sendmailÀ̶ó´Â ½ÇÇàÈÀÏÀÌ ¾ø´Ù´Â °ÍÀÌÁÒ...
Àü¿¡ ¼¹ö¿¡¼´Â '/usr/sbin/sendmail' À̶ó´Â ÆÄÀÏÀ̶ó´Â °ÍÀÌ ÀÖ¾ú°Åµç¿ä...
±×·±µ¥ »õ·Î ¼³Ä¡ÇÑ ¼¹ö¿¡´Â '/usr/sbin/sendmail.sendmail' À̶ó´Â ÆÄÀÏ°ú
sendmailÀ̶ó´Â ¸µÅ©°¡ Çϳª ÀÖ´õ±º¿ä...
ÀÌ°ÍÀ» ¾î¶»°Ô Ç϶ó´Â °ÍÀÎÁö..¤Ñ¤Ñ;;
Æû¸ÞÀÏ¿¡¼ ¸ÞÀÏÀ» º¸³»´Â °Íµµ °°Àº ¹æ½ÄÀÌ´øµ¥...
ÀüÇô ¸ð¸£°Ú½À´Ï´Ù.
±×·¡¼.. rpmÀ¸·Î ¼³Ä¡µÇ¾î ÀÖ´ø ¼¾µå¸ÞÀÏÀ» ÀüºÎ »èÁ¦ÇÏ°í »õ·Î ¼³Ä¡ÇÏ·Á°í
ÁغñÁßÀε¥...
¾î¶»°Ô ÇؾßÇÒÁö..¤Ñ.¤Ñ;;; °¨À̾ȿͼ....¤Ð.¤Ð
¾î¶»°Ô ÇؾßÇÏÁö¿ä?? '/usr/sbin/sendmail' À̶ó´Â ¹ÙÀ̳ʸ® ÆÄÀÏ·Î ¸ÞÀÏÀ» Àü¼ÛÇÏ°Ô ÇÏ·Á¸é....
Ãß½Å: »õÇØ º¹ ¹èÅÍÁö°Ô ¸¹ÀÌ ¹ÞÀ¸¼¼¿ä...^^ _________________ ilovesusu |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 5:28 pm ÁÖÁ¦: Re: [Áú¹®] sendmail °ü·Ã Áú¹® 2 |
|
|
bird72 ¾¸: | ¾È³çÇϼ¼¿ä..^^
¸ÕÀú Àú¸¦ ±â¾ïÇØÁֽôٴÏ..¤Ð.¤Ð Á¤¸» °¨»çÇÕ´Ï´Ù..
Á¦°¡ Áú¹®ÇÏ´Â °ÍÀÌ ¿ö³«... Ãʺ¸¼öÁØÀ̶ó... ±â¾ï¸øÇÏ½Å´Ù°í »ý°¢Çߴµ¥...
Ȥ½Ã... ¿ö³« Ãʺ¸Áú¹®À̶ó... ±â¾ïÇϽóª.. ¤Ñ.¤Ñ;;;;
¾ÏÆ° ´©±º°¡ Àú¸¦ ¾Ë¾ÆºÁ Áشٴ °Å¿¡ ´ëÇؼ Á¤¸» ±â»Þ´Ï´Ù..
|
´ç¿¬È÷ ÀØÀ» ¼ö ¾øÁö¿ä.
bird72´ÔÀÌ ¹Ù·Î ´Ù¸¥ Ä¿ÇǴм¿¡°Ô µµ¿òÀÌ µÇ´Â ºÐÀä.
bird72´ÔÀÌ ±Ã±ÝÇÏ°í ºÎµúÃÆ´ø ¹®Á¦µéÀÌ ´Ù¸¥ Ä¿ÇǴм¿¡°Ôµµ ÀϾ ¹ýÇÑ °ÍµéÀ̰ŵç¿ä.
±×·¯´Ï±î ¸ÕÀú ³ª¼¼ ¹°¾îº» °ÍÀÌ´Ù¶ó°í »ý°¢ÇÏ½Ã¸é µÉ °ÍÀÔ´Ï´Ù.
bird72 ¾¸: |
Èì...
ÀÏ´Ü php.ini¿¡¼ °æ·Î¸¦ »ìÆ캸¾Ò´Âµ¥¿ä....
/usr/sbin/sendmail·Î µÇ¾îÀÖ¾ú½À´Ï´Ù.
»ç½Ç..À̹ø¿¡ ¼¹ö¿¡ ÇϵåÀû ¿¡·¯°¡ ³ª¼ ¼¹ö¸¦ ÀÌÀüÇÏ´Â °ü°è·Î ÀÌ·±¹®Á¦°¡ »ý°å°Åµç¿ä...
ºÐ¸íÈ÷ ¼¾µå¸ÞÀÏÀº ¼³Ä¡°¡ µÇ¾îÀִµ¥.... µ¥¸ó»óÅ·Π¸ÞÀÏÀ» Àü¼ÛÇÏ´Â °ÍÀº ¾Æ´Ï°í... /usr/sbin/sendmailÀ̶ó´Â ¸í·É¾î°¡ ÀÖ¾î À̸¦ ½ÇÇàÇؼ ¸ÞÀÏÀ» º¸³»´Â ¹æ½ÄÀ̾ú½À´Ï´Ù.
±×·±µ¥... µ¥¸óÀº Àִµ¥... µ¥¸ó ½ÇÇ൵ µÇÁö¸¸.... ¾Æ¹«¸® ¼¹ö¸¦ µÚÁ®ºÁµµ..
sendmailÀ̶ó´Â ½ÇÇàÈÀÏÀÌ ¾ø´Ù´Â °ÍÀÌÁÒ...
Àü¿¡ ¼¹ö¿¡¼´Â '/usr/sbin/sendmail' À̶ó´Â ÆÄÀÏÀ̶ó´Â °ÍÀÌ ÀÖ¾ú°Åµç¿ä...
±×·±µ¥ »õ·Î ¼³Ä¡ÇÑ ¼¹ö¿¡´Â '/usr/sbin/sendmail.sendmail' À̶ó´Â ÆÄÀÏ°ú
sendmailÀ̶ó´Â ¸µÅ©°¡ Çϳª ÀÖ´õ±º¿ä...
ÀÌ°ÍÀ» ¾î¶»°Ô Ç϶ó´Â °ÍÀÎÁö..¤Ñ¤Ñ;;
Æû¸ÞÀÏ¿¡¼ ¸ÞÀÏÀ» º¸³»´Â °Íµµ °°Àº ¹æ½ÄÀÌ´øµ¥...
ÀüÇô ¸ð¸£°Ú½À´Ï´Ù.
±×·¡¼.. rpmÀ¸·Î ¼³Ä¡µÇ¾î ÀÖ´ø ¼¾µå¸ÞÀÏÀ» ÀüºÎ »èÁ¦ÇÏ°í »õ·Î ¼³Ä¡ÇÏ·Á°í
ÁغñÁßÀε¥...
¾î¶»°Ô ÇؾßÇÒÁö..¤Ñ.¤Ñ;;; °¨À̾ȿͼ....¤Ð.¤Ð
¾î¶»°Ô ÇؾßÇÏÁö¿ä?? '/usr/sbin/sendmail' À̶ó´Â ¹ÙÀ̳ʸ® ÆÄÀÏ·Î ¸ÞÀÏÀ» Àü¼ÛÇÏ°Ô ÇÏ·Á¸é....
Ãß½Å: »õÇØ º¹ ¹èÅÍÁö°Ô ¸¹ÀÌ ¹ÞÀ¸¼¼¿ä...^^ |
¸ÞÀÏ ¼Û½Å¿¡´Â sendmail µ¥¸óÀÌ ¶ç¾îÀÖÀ» ÇÊ¿ä¾ø½À´Ï´Ù.
±»È÷ ¸»¾¸µå¸° °ÍÀº µ¥¸óÀÌ ¶ç¾îÀÖ´Ù´Ï sendmailÀº ¼³Ä¡°¡ µÇ½Å°Å±¸³ªÇÏ°í ¸»¾¸µå¸° °ÍÀÔ´Ï´Ù.
±×¸®°í Redhat9¿¡¼ /usr/sbin/sendmailÀÌ ½Éº¼¸¯¸µÅ©µÈ °ÍÀÌ ¸Â½À´Ï´Ù.
ÀÌ°Ô ´Ù½Ã sendmail.sendmail·Î µÇ¾î ÀÖ½À´Ï´Ù.
´ÙÀ½°ú °°ÀÌ Çغ¸¼¼¿ä.
ÄÚµå: |
sendmail_path = /usr/sbin/sendmail -t -i ¶Ç´Â
sendmail_path = /usr/sbin/sendmail.sendmail -t -i
|
|
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
bird72
°¡ÀÔ: 2003³â 9¿ù 24ÀÏ ¿Ã¸° ±Û: 77
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 5:41 pm ÁÖÁ¦: ¤Ð.¤Ð ½ÇÇàÇϱâ Àü¿¡ ¹°¾îº¸°í ÇÒ °ÍÀ»...... |
|
|
¾È³çÇϼ¼¿ä..¤Ð.¤Ð
ÂÁ..
ÇൿÇϱâ Àü¿¡ ¸ÕÀú ¹°¾îº¸°í ÇàÇÒ °ÍÀ»...
¹«ÁöÀÇ ¼ÒÄ¡°¡ ¼Õ¹ßÀ» °í»ýÇÏ°Ô Çϳ׿ä...
Àü ±×·±°Íµµ ¸ð¸£°í °Á ÀüºÎ ±ú²ýÀÌ ³¯·Á¹ö·È´ä´Ï´Ù....
¼³Ä¡µÈ sendmailÀ» ¸ù¶¥... ÈÞ¿ì....
Áö±ÝºÎÅÍ ´Ù½Ã ¼³Ä¡¸¦ ÇؾßÇÒ °ÍÀε¥...
ÂÁ...
¸Á¸ÁÇϳ׿ä....
¾îÄÉ ´Ù½Ã ÇؾßÇÏ´ÂÁö...
¼³Ä¡¹ý¿¡ ´ëÇÑ ¹®¼µµ ÀüºÎ ½ÅÅëÄ¡ ¾Ê°í....
Ã¥µµ ¹öÁ¯º°·Î ³ª¿ÍÀÖ¾î¼ ÀüºÎ ±¸¹öÁ¯À̳׿ä....
¿¡±¸±¸....
Ȥ½Ã..¾Æ½Ã´Â ¼³Ä¡¹ýÀ̶óµµ..;;;;; _________________ ilovesusu |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
Çø¯ ¼Õ´Ô
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 5:51 pm ÁÖÁ¦: Re: ¤Ð.¤Ð ½ÇÇàÇϱâ Àü¿¡ ¹°¾îº¸°í ÇÒ °ÍÀ»...... |
|
|
·¹µåÇÞ CD¿¡¼ sendmail ÆÐÅ°Áö¸¦ ã¾Æ ¼³Ä¡ÇÏ¸é µÇ°Ú´Âµ¥¿ä.
rpm -ivh sendmail-8.12.8-9.90.rpm sendmail-cf-8.12.8-9.90.rpm |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
bird72
°¡ÀÔ: 2003³â 9¿ù 24ÀÏ ¿Ã¸° ±Û: 77
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 9:24 pm ÁÖÁ¦: [rpm¼³Ä¡]rpm --import /usr/share/rhn/RPM-GPG-KEY °¡ ¾î¶»°Ô ? |
|
|
´äº¯ Á¤¸» °¨»çÇÕ´Ï´Ù.
±×·±µ¥ ¸»¾¸ÇϽŠ°ÍÁß¿¡..
rpm --import /usr/share/rhn/RPM-GPG-KEY ·Î ¼³Ä¡¸¦ Ç϶ó°í Çϼ̴µ¥..
Àú´Â Àß ÀÌÇظ¦ ¸øÇÏ°Ú½À´Ï´Ù.
¹°·Ð gnupg-1.2.1-9 ´Â ¼³Ä¡°¡ µÇ¾îÀÖ½À´Ï´Ù.
¶Ç...
php.ini¿¡¼
For Unix only. You may supply arguments as well (default: "sendmail -t -i").
"sendmail_path = " <-- ¿©±â¿¡ ¾Æ¹«°Íµµ ½áÀÖÁö ¾ÊÀºµ¥.....
test.php¿¡¼´Â
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
ÀÏ°Ô ³ª¿É´Ï´Ù.
À̰͵µ Á¤»óÀΰ¡¿ä??
±×·±µ¥ ½ÇÁúÀûÀ¸·Î /usr/sbin/¿¡´Â sendmail ¸µÅ© ÆÄÀÏ°ú sendmail.sendmail À̶ó´Â ÆÄÀÏ µÎ°³°¡ Àִµ¥...
/usr/sbin/sendmail -t -i <-- ¿©±â¼ ¸»ÇÏ´Â ÆÄÀÏÀÌ ¾î´À°ÍÀΰ¡¿ä???
´Ù¸¥ ¼¹ö¿¡´Â sendmailÀ̶ó´Â ¹ÙÀ̳ʸ® ÆÄÀϸ¸ ÀÖ´øµ¥...
ÂÁ... _________________ ilovesusu |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 10:18 pm ÁÖÁ¦: Re: [rpm¼³Ä¡] rpmÅ° ¼³Ä¡¿Í sendmail |
|
|
bird72 ¾¸: | ´äº¯ Á¤¸» °¨»çÇÕ´Ï´Ù.
±×·±µ¥ ¸»¾¸ÇϽŠ°ÍÁß¿¡..
rpm --import /usr/share/rhn/RPM-GPG-KEY ·Î ¼³Ä¡¸¦ Ç϶ó°í Çϼ̴µ¥..
Àú´Â Àß ÀÌÇظ¦ ¸øÇÏ°Ú½À´Ï´Ù.
¹°·Ð gnupg-1.2.1-9 ´Â ¼³Ä¡°¡ µÇ¾îÀÖ½À´Ï´Ù.
|
ÄÚµå: |
# rpm --import /usr/share/rhn/RPM-GPG-KEY
|
ÀÌ·¸°Ô º¸¿©µå¸®¸é ÀÌÇØÇϽǷÁ³ª.. sig. °ËÁõÇÒ ¶§ »ç¿ëÇÒ KEY¸¦ ¼³Ä¡ÇÑ´Ù´Â °ÍÀÔ´Ï´Ù.
bird72 ¾¸: |
¶Ç...
php.ini¿¡¼
For Unix only. You may supply arguments as well (default: "sendmail -t -i").
"sendmail_path = " <-- ¿©±â¿¡ ¾Æ¹«°Íµµ ½áÀÖÁö ¾ÊÀºµ¥.....
test.php¿¡¼´Â
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
ÀÏ°Ô ³ª¿É´Ï´Ù.
À̰͵µ Á¤»óÀΰ¡¿ä??
|
¿¹. Á¤»óÀÔ´Ï´Ù.
/usr/sbin/sendmail À¸·Î ÀνÄÇß´Ù¸é ¼öÁ¤ÇÏ½Ç ÇÊ¿ä¾ø³×¿ä.
bird72 ¾¸: |
±×·±µ¥ ½ÇÁúÀûÀ¸·Î /usr/sbin/¿¡´Â sendmail ¸µÅ© ÆÄÀÏ°ú sendmail.sendmail À̶ó´Â ÆÄÀÏ µÎ°³°¡ Àִµ¥...
/usr/sbin/sendmail -t -i <-- ¿©±â¼ ¸»ÇÏ´Â ÆÄÀÏÀÌ ¾î´À°ÍÀΰ¡¿ä???
´Ù¸¥ ¼¹ö¿¡´Â sendmailÀ̶ó´Â ¹ÙÀ̳ʸ® ÆÄÀϸ¸ ÀÖ´øµ¥...
ÂÁ... |
/usr/sbin/sendmail ÀÌ /usr/sbin/sendmail.sendmail ·Î ¸µÅ©µÈ °ÍÀÌ´Ï °°Àº °ÍÀ¸·Î »ý°¢ÇÏ¸é µË´Ï´Ù.
±×¸®°í Redhat 8¿¡¼´Â ¾î·´ÂÁö ¸ô°ÚÀ¸³ª Redhat 9¿¡¼´Â ´Ù¸¥ MTA¸¦ »ý°¢ÇÏ°í ½Éº¼¸¯ ¸µÅ©¸¦ ÇÏ´Â °Í °°½À´Ï´Ù.
Redhat 7.x¿¡¼´Â Àú·± ÇüÅ´ ¾Æ´Ï¿´ÁÒ.
php.ini ¼³Á¤À¸·Î´Â ¹¹ ÇÏ½Ç°Ô ¾øÀ¸´Ï
¼Ò½º³ª ¸ÞÀÏ º¸³½ ÈÄ /var/log/maillog µîÀÇ ·Î±×°¡ ÀÖ´ÂÁö µîÀ» »ìÆ캸¼¼¿ä.
¡Ø Á¦°¡ ·Î±äÀ» ÇصР»óÅ·ΠÀÚ¸®¸¦ ºñ¿ü±º¿ä. ^^ |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
bird72
°¡ÀÔ: 2003³â 9¿ù 24ÀÏ ¿Ã¸° ±Û: 77
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 10:26 pm ÁÖÁ¦: [¸ÞÀϷα×] Connection refused by [127.0.0.1] |
|
|
Á¤¸» Àú¶«½Ã... 2003³âÀÇ ¸¶Áö¸·À»... ÀÏÄÉ º¸³»½Ã´Â °ÍÀº ¾Æ´ÑÁö..
´Ù¸¥ °ÍÀº ´Ù ÇØ°áÀÌ µÈ °Í °°¾Æ...
¸ÞÀÏ ¹ß¼Û Å×½ºÆ®¸¦ Çغ¸°í ·Î±×¸¦ »ìÆ캸¾Ò½À´Ï´Ù.
¿ª½Ã³ª...
Dec 31 22:21:23 host sendmail[16233]: hBVDLNHe016233: to=bird72@aaa.com, ctladdr=webmaster@xxx.com (99/99), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30271, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Ä¿³Ø¼ÇÀÌ °ÅÀýÀÌ µÇ´õ±º¿ä...
±×·¡¼...
access¿¡ ¼³Á¤ÇÏ°í...
makemap hash /etc/mail/access.db < /etc/mail/access ·Î¼ ¸¶¹«¸®¸¦ Áö¾ú½À´Ï´Ù.
stinrgs access.db¸¦ Çغ¸¸é... ¾Æ·¡¿Í °°ÀÌ ³ª¿À´Âµ¥...
RELAY
localhost.localdomain
RELAY
127.0.0.1
RELAY
localhost
¿Ö Ä¿³Ø¼ÇÀÌ °ÅÀýµÉ±î¿ä??
¸ô·Ð local-host-names µµ ÇØ´ç µµ¸ÞÀÎÀ» xxx.comÀÇ µµ¸ÞÀÎÀ» µî·ÏÇسõ¾Ò½À´Ï´Ù.
Âü°í·Î º» ¸ÞÀϼ¹ö´Â ¹ß¼Û¿ë ¸ÞÀϼ¹öÀÌ¸ç ½ºÆÔ¸ÞÀÏÀ» ´Ù·®À¸·Î ¹ß¼ÛÇÏ´Â ¼¹ö°¡ ¾Æ´Õ´Ï´Ù. _________________ ilovesusu |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 10:48 pm ÁÖÁ¦: Re: [¸ÞÀϷα×] Connection refused by [127.0.0.1] |
|
|
bird72 ¾¸: |
´Ù¸¥ °ÍÀº ´Ù ÇØ°áÀÌ µÈ °Í °°¾Æ...
¸ÞÀÏ ¹ß¼Û Å×½ºÆ®¸¦ Çغ¸°í ·Î±×¸¦ »ìÆ캸¾Ò½À´Ï´Ù.
¿ª½Ã³ª...
Dec 31 22:21:23 host sendmail[16233]: hBVDLNHe016233: to=bird72@aaa.com, ctladdr=webmaster@xxx.com (99/99), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30271, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Ä¿³Ø¼ÇÀÌ °ÅÀýÀÌ µÇ´õ±º¿ä...
|
sendmail µ¥¸óÀ» »ç¿ëÇϳª º»µ¥¿ä. sendmailÀ» ¶ç¿öº¸½Ç·¡¿ä.
# /etc/rc.d/init.d/sendmail start
óÀ½ Áú¹® ¿Ã¶ó¿Ã ¶§ µ¥¸óµµ ¶ç¿öÁ® ÀÖ¾ú´Ù°í Çϼ̴µ¥...
±× ¶§´Â ¿Ö ¾Èº¸³»Á³À»±î¿ä. ¸ÞÀÏ·Î±× ´Ù¸¥ °Í ¾ø´ÂÁö ±Ã±ÝÇØÁý´Ï´Ù.
Ȥ½Ã ÀÌ ¼¹ö¸¦ ¿ÜºÎÀÇ ¸ÞÀÏ ¼ö½ÅÇÒ ¿ëµµ·Îµµ »ç¿ëÇÑ´Ù¸é sendmail.cf¿¡¼ ´ÙÀ½À» ¼öÁ¤Çϼ¼¿ä.
Àοë: |
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA ´ë½Å
O DaemonPortOptions=Port=smtp, Name=MTA À¸·Î
|
|
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
bird72
°¡ÀÔ: 2003³â 9¿ù 24ÀÏ ¿Ã¸° ±Û: 77
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 11:06 pm ÁÖÁ¦: [¸ÞÀϷα×] Losing ./qfhBVE78Kv016496: savemail panic |
|
|
sendmailµ¥¸óÀ» ¶ç¿ì°í ¸ÞÀÏ Àü¼ÛÀ»
Function nmail($fromaddress, $fromname, $toaddress, $subject, $body, $headers)
{
$fp = popen('/usr/sbin/sendmail -t -f '.$fromaddress.' '.$toaddress,"w");
if(!$fp)
{
echo "½ÇÆÐ";
return false;
}
fputs($fp, "From:".$fromname."<".$fromaddress.">\r\n");
fputs($fp, "To: $toaddress\r\n");
fputs($fp, "Subject: ".$subject."\r\n");
fputs($fp, $headers."\r\n");
fputs($fp, $body);
fputs($fp, "\r\n\r\n\r\n");
pclose($fp);
return true;
}
À§¿Í °°Àº ÇÔ¼ö·Î ¹ß¼ÛÀ» Çß½À´Ï´Ù...
±×·±µ¥ ¸ÞÀϷα׿¡´Â ¾Æ·¡¿Í °°ÀÌ ³²³×¿ä...
Dec 31 23:07:08 host sendmail[16496]: hBVE78Kv016496: Losing ./qfhBVE78Kv016496: savemail panic
Dec 31 23:07:08 host sendmail[16496]: hBVE78Kv016496: SYSERR(nobody): savemail: cannot save rejected email anywhere _________________ ilovesusu |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 11:31 pm ÁÖÁ¦: Re: [¸ÞÀϷα×] Losing ... savemail panic |
|
|
bird72 ¾¸: | sendmailµ¥¸óÀ» ¶ç¿ì°í ¸ÞÀÏ Àü¼ÛÀ»
Function nmail($fromaddress, $fromname, $toaddress, $subject, $body, $headers)
{
$fp = popen('/usr/sbin/sendmail -t -f '.$fromaddress.' '.$toaddress,"w");
if(!$fp)
{
echo "½ÇÆÐ";
return false;
}
fputs($fp, "From:".$fromname."<".$fromaddress.">\r\n");
fputs($fp, "To: $toaddress\r\n");
fputs($fp, "Subject: ".$subject."\r\n");
fputs($fp, $headers."\r\n");
fputs($fp, $body);
fputs($fp, "\r\n\r\n\r\n");
pclose($fp);
return true;
}
À§¿Í °°Àº ÇÔ¼ö·Î ¹ß¼ÛÀ» Çß½À´Ï´Ù...
|
ÀÌ·¸°Ô ¶ó¸é sendmailÀ» Á÷Á¢ ´Ù·ç´Â °ÍÀÌ´Ï php.iniÀÇ sendmail °æ·Î¿Í´Â »ó°üÀÌ ¾ø³×¿ä.
Àú·±½Ä ¸»°í php¿¡ mail() ÇÔ¼ö°¡ Àְŵç¿ä. ±×°Å »ç¿ëÇغ¸´Â °Íµµ °í·Á¸¦.
ÀÌ ¼Ò½º¸¦ ±×´ë·Î ¾´´Ù¸é ´ÙÀ½°ú °°ÀÌ ¹Ù²ã¼ Çغ¸½Ç·¡¿ä. -f ·Î ¼Û½ÅÀÚ ¸ÞÀÏ ÁÖ¼Ò ¾²´Â ºÎºÐÀÌ ¿ÇÀº °Í °°Áö´Â ¾Ê¾Æº¸ÀÔ´Ï´Ù.
ÄÚµå: |
$fp = popen('/usr/sbin/sendmail -t ',"w");
|
bird72 ¾¸: |
±×·±µ¥ ¸ÞÀϷα׿¡´Â ¾Æ·¡¿Í °°ÀÌ ³²³×¿ä...
Dec 31 23:07:08 host sendmail[16496]: hBVE78Kv016496: Losing ./qfhBVE78Kv016496: savemail panic
Dec 31 23:07:08 host sendmail[16496]: hBVE78Kv016496: SYSERR(nobody): savemail: cannot save rejected email anywhere |
truefeel ¾¸: |
¹°·Ð ¹ß¼Û Å×½ºÆ® ÈÄ¿¡ /var/log/maillogµµ È®ÀÎÇغ¸½Ã±¸¿ä.
|
Á¦ÀÏ Ã³À½¿¡ ´äº¯ÇÑ °ÍÀε¥,
maillog¿¡ Àú·± ·Î±×°¡ ±× ¶§(ÀÌ ·Î±×´Â ÇöÀç ·Î±×Áö¸¸)µµ ³²¾Ò¾ú´Ù¸é ÀÌ·¸°Ô ¸®ÇÃÀÌ ¸¹ÀÌ´Þ¸®Áö´Â ¾Ê¾ÒÀ»°Å¶ó´Â ¾ÈŸ±î¿òÀÌ ³²³×¿ä.
Àú°Ô mailqueue¿¡ ¸ÞÀÏÀ» Àü¼ÛÀü¿¡ Àӽ÷ΠÀúÀåÀ» ¸øÇÑ´Ù´Â ÀǹÌÀÎ °Í °°Àºµ¥¿ä. (ÃßÃøÀÔ´Ï´Ù.)
/var/spool ÂÊÀÇ ÆÄƼ¼ÇÀÌ Ç®Àº ¾Æ´Ï°ÚÁÒ?
queue µð·ºÅ丮ÀÇ Æ۹̼ǹ®Á¦ÀÏ ¼öµµ ÀÖ°Ú±¸¿ä. Âü°í·Î Redhat 9´Â ÀÌ·¸°Ô µÇ¾î Àֳ׿ä.
ÄÚµå: |
drwxrwx--- 2 smmsp smmsp 4096 12¿ù 31 23:25 clientmqueue
drwx------ 2 root mail 4096 12¿ù 31 22:41 mqueue
|
À¥ÀÌ ¾Æ´Ï°í ½©¿¡¼ ¸ÞÀÏ º¸³¾ ¶§´Â ¾î¾Áö È®ÀÎÇغ¸½Ã±¸¿ä.
½©¿¡¼ º¸³»Áø´Ù¸é¾ß À¥ ÇÁ·Î±×·¥ÀÇ ¹®Á¦°ÚÁö¿ä.
# mail -v ¸ÞÀÏÁÖ¼Ò |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
bird72
°¡ÀÔ: 2003³â 9¿ù 24ÀÏ ¿Ã¸° ±Û: 77
|
¿Ã·ÁÁü: 2003.12.31 ¼ö, 11:59 pm ÁÖÁ¦: [¸ÞÀÏ¿¡·¯] »÷µå¸ÞÀÏ¿¡¼.... |
|
|
mail()ÇÔ¼ö¸¦ ½©¿¡¼ »ç¿ëÇؼ ¹ß¼ÛÇصµ ¸¶Âù°¡Áö·Î ¾Æ·¡ ·Î±×°¡ ³²³×¿ä...
¿¡±¸... Èûµå³×...
Dec 31 23:51:15 host sendmail[16845]: hBVEpFwH016845: from=root, size=107, class=0, nrcpts=1, msgid=<200312311451.hBVEpFwH016845@host.aaa.com>, relay=root@localhost
Dec 31 23:51:15 host sendmail[16845]: hBVEpFwH016845: to=bird72@aaa.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30044, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] _________________ ilovesusu |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2004.1.01 ¸ñ, 12:05 am ÁÖÁ¦: Re: [¸ÞÀÏ¿¡·¯] »÷µå¸ÞÀÏ¿¡¼.... |
|
|
bird72 ¾¸: | mail()ÇÔ¼ö¸¦ ½©¿¡¼ »ç¿ëÇؼ ¹ß¼ÛÇصµ ¸¶Âù°¡Áö·Î ¾Æ·¡ ·Î±×°¡ ³²³×¿ä...
¿¡±¸... Èûµå³×...
Dec 31 23:51:15 host sendmail[16845]: hBVEpFwH016845: from=root, size=107, class=0, nrcpts=1, msgid=<200312311451.hBVEpFwH016845@host.aaa.com>, relay=root@localhost
Dec 31 23:51:15 host sendmail[16845]: hBVEpFwH016845: to=bird72@aaa.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30044, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] |
ÀÌ°Ç ÀÌ¹Ì À§¿¡¼ ¼³¸íÇÑ ¿¡·¯ÀÔ´Ï´Ù.
¸Þ½ÃÁö º¸³ÂÀ¸´Ï ÇÑ ¹ø Àо¼¼¿ä. Àú À§¿¡ ¸Þ½ÃÁö Àд ¸Þ´º ÀÖ½À´Ï´Ù. |
|
À§·Î |
|
![](templates/subSilver/images/spacer.gif) |
|