LinuxÏÂMail·þÎñÆ÷¼ÜÉè Sendmail
Ò»£® °²×°Sendmail¡£
ÍêÈ«°²×°Red Hat Linux
9.0ʱ£¬Sendmail¾Í»á×Ô¶¯ÄÚÖ㬰汾ºÅΪ8.12.8-4¡£Èç¹ûÄ㲻ȷ¶¨LinuxÊÇ·ñÒѾ°²×°ÓÐsendmail£¬¿ÉÒÔÊäÈëÒÔÏÂÃüÁî²é¿´£º
[root@ahpeng root] rpm –qa grep sendmail
Èç¹ûÈ·¶¨Ã»Óа²×°£¬ÇëÔÚͼÐνçÃæÏÂÒÀ´ÎÑ¡Ôñµ¥»÷“Ö÷²Ëµ¥-ϵͳÉèÖÃ-Ìí¼Óɾ³ýÓ¦ÓóÌÐò”£¬È»ºóÔÚ´ò¿ªµÄ“Èí¼þ°ü¹ÜÀí”´°¿ÚÀïÑ¡ÖГÓʼþ·þÎñÆ÷”Ñ¡Ïµã
“¸üДºó°´ÕÕÌáʾ°²×°¼´¿É¡£
ÁíÒ»ÖÖ°ì·¨ÊÇ£ºÖ±½Ó²åÈëLinuxµÚ1ÕÅ°²×°¹âÅÌ£¬Ñ¡Ôñ/RedHat/RPMSĿ¼ÏµÄsendmail-8.12.8-4.i386.rpm°²×°°ü£¬
Ö®ºóÔËÐÐ[root@ahpeng RPMS] # rpm -ivh
sendmail-8.12.8-4.i386.rpm¼´¿É¿ªÊ¼°²×°£¬ÔÙÓô˷½·¨ÔÚµÚ3ÕÅ°²×°¹âÅ̵ÄͬĿ¼ÏÂÒÀ´Î°²×°sendmail-
cf.8.12.8-4.i386.rpm¡¢sendmail-doc. 8.12.8-4.i386.rpm¡£
¶þ£® Æô¶¯Sendmail·þÎñϵͳ¡£
±ÊÕß½¨ÒéʹÓôø²ÎÊýµÄSendmailÃü
Áî¿ØÖÆÓʼþ·þÎñÆ÷µÄÔËÐУº[root@ahpeng root]#
sendmail -bd –q12h£¬ºó¸úµÄ²ÎÊý½âÊÍÈçÏ£º
-b£ºÉ趨Sendmail·þÎñÔËÐÐÓÚºǫ́¡£
-d£ºÖ¸¶¨SendmailÒÔDaemon(ÊØ»¤½ø³Ì)·½Ê½ÔËÐС£
-q£ºÉ趨µ±SendmailÎÞ·¨³É¹¦·¢ËÍÓʼþʱ£¬¾Í½«Óʼþ±£´æÔÚ¶ÓÁÐÀ²¢Ö¸¶¨±£´æʱ¼ä¡£ÉÏÃæµÄ12h±íʾ±£Áô12Сʱ¡£
´ËÍ⣬Ҫ¼ì²âSendmail·þÎñÆ÷ÊÇ·ñÕý³£ÔËÐУ¬¿ÉÒÔʹÓÃÃüÁîÐУº[root@ahpeng root] #
/etc/rc.d/init.d/sendmail status¡£
Èý£® Åä
ÖÃSendmail¡£
se
ndmail.cfµÄÅäÖÃÓï·¨±È½ÏÄѶ®£¬Ò»°ã×ÊÁÏÉ϶¼ÊDzÉÓÃ
m4ºê´¦Àí³ÌÐòÀ´Éú³ÉËùÐèµÄsendmail.cfÎļþ(ʹÓÃm4±àÒ빤¾ßÒ»°ã²»ÈÝÒ׳ö´í£¬»¹¿É±ÜÃâijЩ´øÓа²È«Â©¶´µÄºê¶Ô·þÎñÆ÷Ôì³ÉµÄÆÆ»µ)¡£ÆäÅäÖÃÎÄ
¼þλÓÚ/etc/mail/sendmail.cf£¬ÔÚ´´½¨µÄ¹ý³ÌÖл¹ÐèÒªÒ»¸öÄ£°åÎļþ£¬Linux×Ô´øÓÐÒ»¸öÄ£°åÎļþ£¬Î»ÓÚ/etc/mail
/sendmail.mc¡£¹Ê¿ÉÒÔÖ±½Óͨ¹ýÐÞ¸Äsendmail.mcÄ£°åÀ´´ïµ½¶¨ÖÆsendmail.cfÎļþµÄÄ¿µÄ£¬¶ø²»±ØÈ¥ËÀ¿ÐÄÄЩÄÑÀí½âµÄÅäÖÃÃü
Áî¡£ÅäÖò½ÖèΪ£º
µÚÒ»²½£ºÓÃÄ£°åÎļþsendmail.mcÉú³Ésendmail.cfÅäÖÃÎļþ£¬²¢µ¼³öµ½/etc/mail/Ŀ¼Ï£¬Ê¹ÓÃÃüÁîÐÐΪ£ºm4
/etc/mail/sendmail.mc > /etc/mail/sen
Ïà¹ØÎĵµ£º
linux»ù´¡ÖªÊ¶
General Public Licence GPL
GNU ÏîÄ¿µÄc¿â£¬gcc£¬Emacs£¬bashµÈÒÆÖ²µ½linuxÄÚºË
linux°æ±¾ÓУºlinux BSD unix   ......
“Sudo” ÊÇUnix/Linuxƽ̨ÉϵÄÒ»¸ö·Ç³£ÓÐÓõŤ¾ß£¬ËüÔÊÐíϵͳ¹ÜÀíÔ±·ÖÅä¸øÆÕͨÓû§Ò»Ð©ºÏÀíµÄ“ȨÀû”£¬ÈÃËûÃÇÖ´ÐÐһЩֻÓг¬¼¶Óû§»òÆäËûÌØÐíÓû§²ÅÄÜÍê³ÉµÄÈÎÎñ£¬±ÈÈ磺ÔËÐÐһЩÏñmount£¬halt£¬suÖ®ÀàµÄÃüÁ»òÕß±à¼Ò»Ð©ÏµÍ³ÅäÖÃÎļþ£¬Ïñ/etc/mtab£¬ /etc/samba/smb.confµÈ¡£ÕâÑùÒÔÀ´£ ......
LinuxÌṩÁË´óÁ¿µÄÃüÁÀûÓÃËü¿ÉÒÔÓÐЧµØÍê³É´óÁ¿µÄ¹¤×÷£¬Èç´ÅÅ̲Ù×÷¡¢Îļþ´æÈ¡¡¢Ä¿Â¼²Ù×÷¡¢½ø³Ì¹ÜÀí¡¢ÎļþȨÏÞÉ趨µÈ¡£ËùÒÔ£¬ÔÚLinuxϵͳÉϹ¤×÷Àë²»¿ªÊ¹ÓÃϵͳÌṩµÄÃüÁî¡£ÒªÏëÕæÕýÀí½âLinuxϵͳ£¬¾Í±ØÐë´ÓLinuxÃüÁîѧÆð£¬Í¨¹ý»ù´¡µÄÃüÁîѧϰ¿ÉÒÔ½øÒ»²½Àí½âLinuxϵͳ¡£
²»Í¬Linux·¢ÐаæµÄÃüÁîÊýÁ¿²»Ò»Ñù£¬µ«Linux·¢ÐÐ°æ± ......
°²×°»·¾³
CentOS 4.3 Final
Èí¼þÁбí
httpd-2.0.61.tar.gz
db-4.3.29.tar.gz
subversion-1.3.2.tar.gz
Èí¼þλÖÃ
/data/software
°²×°²½Öè
#mkdir /data/software/pkg
-p
°²×°Berkeley DB
#cd
/data/software/pkg
#tar zxvf ../db-4.3.29.tar.gz
#cd
db-4.3.29/docs
#../dist/configure
#make &&am ......
1.¼àÊÓÄÚ´æ
free -mt
total used free shared buffers cached
Mem: ......