ºìÁªLinuxÃÅ»§
Linux°ïÖú

Red Hat LinuxÅäÖÃsendmail

·¢²¼Ê±¼ä:2006-03-22 00:46:19À´Ô´:ºìÁª×÷Õß:yy123
ÔÚLINUXÏÂÓÃsendmail×öÓʼþ·þÎñÆ÷,Îȶ¨ÐԺͰ²È«ÐÔÎҾͲ»¶à˵ÁË.¾Ý˵ÍøÉÏ70£¥µÄÓʼþ·þÎñÆ÷ÊÇÓÃsendmail×öµÄ£®ÎÒѧLINUX ¿ìÒ»¸öÔÂÁË,×öΪһÃûÐÂÊÖ,ÎÒ°ÑÎÒÅäÖÃsendmailµÄ¹ý³ÌдÏÂÀ´,Ï£Íû¶ÔÏñÎÒÒ»ÑùµÄÐÂÊÖÒ»µãµã°ïÖú¡£ÍøÉÏÓÐÐí¶àÅäÖÃsendmailµÄ×ÊÁÏ£¬µ«ÊǶÔÐÂÊÖ,ÎÒÈÏΪÊDz»ºÏÊʲ»ÀíÏë¡£

ÎÒÊÇÓÃRed hat linux¡¡9.0Ϊ¾ÖÓòÍø×öµÄMail·þÎñÆ÷£¬¿Í»§¶ËΪwindows outlook£¬ËùÒÔ´Ë·½·¨²»ºÏÊÊÔÚÍâÍøÖУ»ÔÚ×öÒÔÇ°£¬ÏÈÉèÖ÷À»ðǽͨ¹ý25ºÍ110¶Ë¿Ú£»ÎÒµÄÉèÖõçÄÔÃûΪ£ºmingchen£»ÅäÖÃhostsÎļþÖÐÅäÖÃÈçͼ£»ËùÓÐÅäÖÃÒÔrootÉí·ÝÔËÐÐ,±à¼­ÎÒÓÃϵͳ×Ô´øµÄgedit±à¼­Æ÷¡£





Ò»£®°²×°sendmail.
ÈôÔÚ°²×°LINUXʱ°²×°ÁËsendmail£¬ÄǽøÈëµÚ¶þ²½£¬Èç¹ûûÓа²×°£¬¿ªÊ¼¡ª¡ªÏµÍ³ÉèÖ᪡ªÌí¼Ó/ɾ³ýÓ¦ÓóÌʽ£¬Ñ¡ÖÐÓʼþ·þÎñÆ÷£¬Èçͼ£¬·ÅÈë°²×°¹âÅÌ°²×°£¬Ö±ÖÁÍê³É¡£



¶þ£®ÅäÖÃsendmail.cfÎļþ¡£
SendmailµÄÅäÖÃÎļþΪetc/mail/sendmail.cf,Õâ¸öÎļþÅäÖúܸ´ÔÓ£¨ºÃÉÏÕâÑù¶à×ÊÁϺÍÊé˵µÄ£©£¬ËùÒÔϵͳÌṩÁËsendmail.mcͨ¹ýM4ºêÉú³Ésendmail.cf,Õâ¸ö¾Í¼òµ¥¶àÁË£®ÎÒÓÃgedit´ò¿ª£¬Ö»¸Ä¶¯ÁËÈý¸öµØ·½£¬ÆäËüÓÃĬÈÏÅäÖá£

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') dnl
ÕâÒ»ÐеÄÒâ˼ÊÇ˵ֻÔÊÐí½Ó°®±¾µØÖ÷»ú´´½¨µÄ´«ÈëÓʼþ£¬Èç¹ûÒªÔÊÐí½ÓÊÕ´ÓInternet»òÆäËûÍøÂç½Ó¿Ú£¨±ÈÈç±¾µØ¾ÖÓòÍø£©£¬¾ÍÒª°ÑÕâÒ»ÐÐ×¢Ê͵ô£¬ÔÚÇ°Ãæ¼ÓÉÏ dnl ¾ÍÐÐÁË£»

½«LOCAL_DOMAIN(`localhost.localdomain') dnl
Ò»ÐиÄΪ£º
LOCAL_DOMAIN(`mingchen.com') dnl
Òâ˼ÊÇÓʼþÓòÃûºó׺¸ÄΪmingchen.com£¬»¹ÓÐÒ»ÏîÊÇ£º
define(`UUCP_MAILER_MAX', `2000000')dnl
ÉèÖÃĬÈÏÓʼþµÄ´óС£¬ÒÔ×Ö½Ú¼ÆË㣬½«ÆäÖеÄ2000000¸ÄΪÄãºÏÊʵĴóС£»¸ÄÍêºó£¬±£´æSendmail.mc,sendmail.cf µÄÏêϸÉèÖòÎÔÄ/usr/share/doc/sendmail/readme.cf¡£
н¨Öնˣ¬ÊäÈëÏÂÃæµÄÄÚÈÝ M4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf£¬Ð¡ÐIJ»ÒªÊä´í×Öĸ,Óï·¨ÖмäÓпոñ,Èçͼ¡£




Èý£®Æô¶¯POP3
ÏÖÔÚ´ó¶àÊýÓʼþ¿Í»§¶Ë¶¼Ö§³ÖPOP3£¬Óû§¿ÉÒÔ°ÑÓʼþÏÂÔص½¿Í»§¶ËÀ´²é¿´£¬Õâ¸ö¾ÍÒªÆô¶¯POP3·þÎñ£¬´ò¿ªÖնˣ¬ÊäÈ룺chkconfig ipop3 on
ÖØÐÂÆô¶¯xinetd³¬¼¶·þÎñÆ÷À´Æô¶¯POP·þÎñ£®ÊäÈ룺/etc/init.d/xinetd restart,ÕâÒ»ÐÐÖØÒª,Ò»¶¨ÒªÆô¶¯,Ëü»áÐÞ¸ÄÁ½¸öÎļþ.



µ½´ËsendmailµÄÅäÖÃ×öÍêÁË£¬ÖØÐÂÆô¶¯linux£¬ PINGÏÂmingchen.ocm
Èçͼ£¬Ã»³ö´í¾Í³É¹¦ÁË£¬ÏÂÀ´¾Í¿ÉÒÔÔÚ¿Í»§¶ËÊÕ·¢ÓʼþÁË¡£



ËÄ£®sendmailµÄÓû§ÉèÖã¬ÈÕÖ¾£¬ºÍÓʼþ±£´æλÖá£
£±£®ÓʼþµÄÓû§Ìí¼Ó£¬sendmailµÄÓÊÏäÓû§ºÍLinuxµÄÓû§¹²Óã®ËùÒÔÒªÌí¼ÓÓû§£¬Ö»ÒªÐ½¨ÏµÍ³Óû§£¬¾ÍÊÇÓʼþÓû§¡£
£²£®Óʼþ·þÎñÆ÷½ÓÊպͷ¢ËͶ¼ÓÐÈÕÖ¾¼Ç¼£®Î»ÖÃÔÚ/var/log/maillog£¬Ã¿ÊÕ·¢Ò»´Î¶¼»áÉú³ÉÒ»¸ö¼Ç¼£®Èçͼ£®



£³£®ÓÊÏä½ÓÊÕÓʼþºó£¬±£´æÔÚvar/mail£¬Ã¿¸öÓû§¶ÔÓ¦Ò»¸öÎļþ£¬Èçͼ



Î壮ÓÃwindowsÖеÄoutlook²âÊÔÊÕ·¢Óʼþ
ÎÒµ±Ê±Ö»ÓÐÉÏͼÖÐÁ½¸öÓû§£¬ÎÒÓÃsuper×ö²âÊÔ£¬´ò¿ªoutlook,
¹¤¾ß¡ª¡ªÕʺšª¡ªÌí¼Ó¡ª¡ªÓʼþ;
ÊäÈëÄãµÄÃû³Æ¡ª¡ªÓʼþµØÖ·£ºsuper@mingchen.com;
POP3:Óʼþ·þÎñÆ÷IPµØÖ·£¬ÎÒ½¨µÄÓʼþ·þÎñÆ÷IPµØַΪ:192.168.1.200;
SMTP: Óʼþ·þÎñÆ÷IPµØÖ·£¬ÎÒ½¨µÄÓʼþ·þÎñÆ÷IPµØַΪ:192.168.1.200;
ÏÂÀ´ÊäÈëÓû§Ãû£ºsuper,ÃÜÂë:******(ºÍϵͳÃÜÂëÒ»Ñù);
Íê³É¡£
ÏÂÀ´¿´¿´ÓʼþµÄÊôÐÔ£¬Èçͼ£º



ÏÂÀ´¾Í¿ÉÒÔÊÕ·¢ÓʼþÁË¡£

±¾ÈËÒòÊǸոÕѧϰLinux,ËùÒÔÓв»¶ÔµÄµØ·½£¬»¹Çë´ó¼Ò¶à¶àÅúÆÀÖ¸Õý£¬´ó¼Ò¶à¶àÖ§³ÖLinux,лл£¡£¡£¡

Ô­ÌùµØÖ·£ºhttp://www.cfanhome.com/auzq/20060223/20060223001.htm
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 6 ÌõÆÀÂÛ

  1. ÇغÏÁùÒ» ÓÚ 2011-08-31 08:42:57·¢±í:

    ͼƬÔõôÏñÊÇ×ö¹ã¸æѽ

  2. yrj8008037241 ÓÚ 2011-08-26 11:06:51·¢±í:

    :0wmjh(1

  3. n10th ÓÚ 2011-07-21 07:50:20·¢±í:

    postfixÔõôÑù

  4. qqjue ÓÚ 2010-05-31 17:54:45·¢±í:

    70%ÓÃsendmail?Äã˵Ц°É£¬sendmailÖ»ÄÜÓÃÓÚÖÐСÆóÒµ£¬³¬¹ý300Óû§¾ÍºÜÄÑÕý³£¹¤×÷ÁË¡£

  5. wztatk777 ÓÚ 2007-02-13 19:43:09·¢±í:

    :0L

  6. alsjia ÓÚ 2007-02-06 14:19:30·¢±í:

    ÎÒÒ²ÊǸÕѧ,¾Í¿´µ½Õâ¸öÁË,²»´í,ÔõôûÓÐÈ˶¥ÄØ:0L