±âÁ¸ÀÇ sendmailÀÌ ±¸µ¿µÇ°íÀÖÀ»¶§
Á¶Ä¡¹æ¹ý
¼¾µå¸ÞÀÏ ÃÖ¼±¹öÀüÀ» ´Ù¿î¹Þ´Â´Ù.
http://www.sendmail.org
1.±âÁ¸ÀÇ ¸ÞÀϽýºÅÛÀ» ¹é¾÷¹Þ´Â´Ù
#mkdir backup;cd backup
#tar cvf mail.tar /etc/mail
#cp /usr/lib/sendmail .
2.#gzip -d sendmail.8.X.X.tar.gz;tar xvf sendmail.8.X.X.tar
#cd sendmail-8.X.X
#cd sendmail
#sh Build
#cd ../cf/m4
--> ¿äµð·ºÅ丮¿¡ ÇÊÅ͸µ m4ÆÄÀÏÀ» ³Ö¾îµÖ¾ßÇÑ´Ù.
http://quanta.khu.ac.kr/~dacapo/sendmail/rulesets/
¿¡°¡¼ quanta_spam-killer.m4ÆÄÀÏÀ» ´Ù¿î¹Þ¾Æ ³Ö¾îµÐ´Ù.
#cd ../cf
#m4 ../m4/cf.m4 ../m4/quanta_spam-killer.m4 generic-solaris.mc > sendmail.cf
#cp sendmail.cf /etc/mail
(¹°·Ð´ç¿¬È÷ ¿À¿¡½º¿¡ ¸Â´Â mcÆÄÀÏÀ» °ñ¶ó¾ß°ÚÁö¿ä)
±×·³ sendmail.cfÆÄÀÏÀÌ »ý¼ºÀÌ µÅ¾ú±º¿ä.
ÀÌÁ¦ ¹ÙÀ̳ʸ®¸¦ »ý¼ºÇսôÙ.
#cd ../../
µð·ºÅ丮¿¡°¡º¸¸é obj.SunOS.5.7.sun4 ¹°·Ð ´Ù¸¥ ½Ã½ºÅÛÀº
obj.XXX.XXX.XXX °¡ ³ª¿À°Ú³×¿ä.
#cd obj.SunOS.5.7.sun4
#cd sendmail
#make install
#chgrp bin /usr/lib/sendmail;chmod 4755 /usr/lib/sendmail
ÀÌ·¯¸é ³¡³ª±º¿ä.
¸ÞÀÏ ¼Û¼ö½ÅÀ» Å×½ºÆÃÇغ¸¼¼¿ä
#tail -f /var/log/syslog
#
|