| VB Ô´Âë | VC Ô´Âë | ASPÔ´Âë | JSPÔ´Âë | PHPÔ´Âë | CGIÔ´Âë | FLASHÔ´Âë | ËزÄÄ£°å | C Ô´³ÌÐò | Õ¾³¤¹¤¾ß | Õ¾³¤½Ì³Ì |

Óʼþ·þÎñ

Êý¾Ý¿â
Óʼþ·þÎñ
Linux
Win9x/ME
Win2000/NT
WinXP/Server

±¾ÀàÔĶÁTOP10

¡¤È**otmailºÍYahooÖ§³ÖPOP3
¡¤ÓʼþÔ­ÎÄÏêϸ½éÉÜ--Óʼþ±àÂë½éÉÜ
¡¤IEEE 802±ê×¼ IEEE 802 Standards
¡¤ÈçºÎ²é¿´ÓʼþÐÅÍ·
¡¤nslookup¹¤¾ßµÄʹÓ÷½·¨
¡¤Îļþ´«ÊäЭÒé(FTP)
¡¤EmailÓʼþÍ·½ÒÃÜ(1)
¡¤ÓʼþÔ­ÎÄÏêϸ½éÉÜ--ÉñÆæµÄMIME
¡¤EmailÓʼþÍ·½ÒÃÜ(2)
¡¤ÔÚLinuxϵͳÉÏ°²×°ºÍÅäÖÃDomino·þÎñÆ÷

Õ¾ÄÚËÑË÷

ÓòÃûºÍÓʼþ·þÎñÆ÷FAQ
Ò»¡¢ÓòÃû·þÎñÆ÷²¿·Ö
BIND 8µ½BIND 9µÄÉý¼¶ÎÊÌâ
¶ÔÓÚ×¢²áºÃµÄÓòÔõÑù×÷½âÎö
DNS·þÎñÆ÷ÊÇ·ñÄܹ»Í¬Ê±½âÎöInternetºÍ¾ÖÓòÍø
ÔõÑùÌí¼Ó¶þ¼¶ÓòÃû
DNS¼Ç¼µÄË¢ÐÂ
ÔõÑù¼ì²énamed.confÎļþ
ΪʲôÓòÃû·þÎñÀÏÊÇËÀµô
×¢²áÓòÃûµÄÎÊÌâ
ÈçºÎÔÚbindÖн¨Á¢Ò»¸öÇøÓòµÄÊÚȨ×ÓÓò
ÈçºÎÖªµÀbindµÄ°æ±¾
ÈçºÎ×÷ÖÐÎÄÓòÃûµÄ½âÎö
ÓÃʲô¹¤¾ß²é¿´ÓòÃû½âÎö¼Ç¼
¿ª»úÒÔºóÔõÑù×Ô¶¯ÈÃdnsÆô¶¯
ÄÄÀïÏÂÔØ×îеÄbind9µÄrpm°ü
ÈÕÖ¾ÎļþÖгöÏÖ¹ØÓÚlame
serverµÄÐÅÏ¢ÊÇʲôԭÒò

ÔõÑùÅäÖø¨DNS·þÎñÆ÷
hostsÎļþÓëDNSµÄ¹Øϵ
ΪʲôÔËÐÐnslookup»á³öÏÖdefault nameserver
is"ns.com.abc.1.1.192.in-addr.arpa"



¡¡
¶þ¡¢Óʼþ·þÎñÆ÷²¿·Ö
Óʼþ·þÎñÆ÷ǨÒÆÎÊÌâ
Ô¤·ÀÀ¬»øÓʼþ
ʹÓÃvpopmailʱpop3Óû§ÃÜÂëÑé֤ʧ°Ü
Óû§ÊÕÓʼþʱÑéÖ¤ÃÜÂ볬ʱ
sendmailµÄȱʡrelay¹æÔòÊÇʲô
ÔõÑù±ä¸üÊÕÈ¡µÄÓʼþµÄĬÈϴ洢λÖÃ
sendmailÔõÑùʹprocmail³ÉΪÆäMDA
ÔÚÓʼþ·þÎñÆ÷ÖÐÔõÑù×öת·¢
ÓʼþÈÕÖ¾ÎļþµÄȨÏÞ
Óʼþ·þÎñÆ÷Ó²Å̵ÆÒ»Ö±¿ñÉÁ,Ôõô°ì
¹ØÓÚxinetdÖеÄpop3ÉèÖÃ
sendmailºÍqmailÄÜ·ñ¹²´æ
imapºÍimap-devel rpm°üÊÇʲô¹Øϵ
cyrus-imapdÖÐÓû§ÓÊÏäÈÝÁ¿µÄÏÞÖÆ
ÔõÑùʹÓÃipÉèÖÃÓʼþ·þÎñÆ÷
postfixÄÜ»ùÓÚWEB·½Ê½ÊÕ·¢Óʼþ£¬ÐÞ¸ÄÃÜÂëÂð
qmailµÄ°²×°±ØÐëÓÐDNS½âÎöÂð
qmail²»ÄÜÆô¶¯,ÈÕÖ¾±¨´í£ºalert: cannot start: unable to open mutex 
ÔõÑù×öEmail»º³å·þÎñÆ÷
ÔõÑù¶¨Ê±Ö´ÐÐfetchmail
½ûÖ¹fetchmail·¢ËÍ״̬±¨¸æ
ÔõÑùÔÚsendmailÖн¨Á¢ÓʼþÓû§×é
RedHat 7ÖÐÔõôÉèÖÃpop·þÎñ
pop3ºÍimapÄÜ·ñ¹²´æ
aliasesÖÐ:include:Óï·¨µÄʹÓÃ
ÔÚsendmailÖУ¬ÈçºÎÏÞÖÆÓʼþ·¢Ë͵Ä×î´óÖµ
ʹÓÃqpopperʱÓû§ÃÜÂëÑé֤ʧ°Ü
ÈçºÎ²é¿´sendmailµÄÓʼþ¶ÓÁÐ
cyrus-imapdµÄȨÏÞÎÊÌâ
ΪʲôDNS²»ÄÜÓÃresolv.confÖеĵڶþ¸önameserver
pop3·þÎñÊÇÄĸörpm°üÌṩµÄ

RedHat 7.1ÉÏSendmailµÄSMTPÎÊÌâ

°²×°qmailʱ£¬./configure±¨´í


ÈçºÎÖ±½ÓÓÃrootÕʺÅÊÕÐÅ


sendmail.mcÖÐFEATURE(`blacklist_recipients'')µÄ×÷ÓÃ

ÔÚqmailÖУ¬Ôõô¿ØÖÆÓʼþÎļþµÄ´óС£¿

Vpopmail+Qmail²»ÄÜÊÕµ½Óʼþ£¬ÔÚÈÕÖ¾Öб¨´í:deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/









¡¡
Ò»¡¢ÓòÃû·þÎñÆ÷²¿·Ö
¡ôÎÒÏë°Ñbind8Éý¼¶µ½bind9£¬µ«ÊÇÔÚÎÒÖØÆðnamedʱÌáʾ´íÎó 
dns_master_load: mytest.com:1: no TTL specified 
May 17 13:52:46 cnhotel named[11301]: dns_zone_load: zone mytest.com/IN: loading master file mytest.com: no ttl 
´ÓBIND 8.2¿ªÊ¼£¬ÄãÐèÒªÒ»Ìõ$TTLָʾÀ´ÉèÖÃÓòµÄĬÈÏTTL¡£¿ÉÔÚÓòµÄSOA¼Ç¼֮ǰÌí¼ÓÒ»Ìõ'$TTL XXXXXX'ָʾ¡££¨XXXXXX±íʾ¼ÆËãµ½ÃëµÄĬÈÏTTL.£©
·µ»Ø
¡ôÍйÜÖ÷»úµÄ¹ú¼ÊÓòÃû×¢²á³É¹¦£¬ÎÒÔÚÍйÜÖ÷»úÀïÓ¦¸ÃÈçºÎÉèÖòÅÄÜͨ¹ýÕâ¸ö¹ú¼ÊÓòÃûÀ´·ÃÎÊÍйÜÖ÷»ú£¿ÒªÅäÖÃЩʲô£¿
Äã×¢²áµÄ¹ú¼ÊÓòÃûËùÖ¸ÏòµÄÓòÃû·þÎñÆ÷ÊÇʲô£¿Èç¹ûÖ¸ÏòµÄÊÇÄãµÄ·þÎñÆ÷£¬ÄÇÄãÐèÒªÅäÖÃDNS·þÎñÀ´½øÐнâÎö£»Èç¹û²»ÊÇ£¬Äã¿ÉÒÔÒªÇóÔÚÖ¸ÏòµÄ·þÎñÆ÷ÉÏ×öºÃÓòÃûµÄ½âÎö¡£
·µ»Ø
¡ôÄÜ·ñ½¨Ò»¸öDNS£¬¼È¿É½âÎöºÏ·¨ÓòÃû£¬Ò²¿É½âÎö¾ÖÓòÍøÄÚ²¿Ê¹ÓõÄÓòÃû£¿
µ±È»Ã»ÓÐÎÊÌâ¡£ÄãÍêÈ«¿ÉÒÔÔÚһ̨»úÆ÷ÉÏ×÷¶à¸öÓòµÄ½âÎö£¬½âÎöµÄ·½·¨¶¼ÊÇÒ»ÑùµÄ£¬²»¹ýÄãµÄÄÚ²¿ÓòÃûÔÚÍâÃæ²»ÉúЧ°ÕÁË¡£
·µ»Ø
¡ôÎÒÃÇÒѾ­ÉêÇëºÃÁËÒ»¸ö¶¥¼¶ÓòÃû(È磺abc.com£©£¬ÏÖÔÚ×¼±¸×Ô¼ºÔö¼ÓÒ»¸ö¶þ¼¶ÓòÃûÈç: soft.abc.com¸ÃÔõôÉèÖã¿ÎÒÃÇÓõÄÊÇRedHat7.0/Apache¡£ÊÇ·ñÐèÒª½«±¾µØDNS·þÎñÆ÷ÓëÉϼ¶DNS·þÎñÆ÷Á¬½Ó£¿
ÕâÐèÒª½âÎöabc.comµÄÓòÃû·þÎñÆ÷ΪÄú×ö½âÎö£¬Èç¹ûÊÇÄú×Ô¼ºµÄ·þÎñÆ÷×öµÄ½âÎö£¬¾ÍºÜºÃ°ìÁË£¬Ö»ÒªÔÚÄú½âÎöÓòÃû·þÎñÆ÷µÄÎļþÀïÃæ¼ÓÈë 
www IN A <> 
¾Í¿ÉÒÔÁË 
Ò»°ãÀ´ËµÐèÒªÖ÷ÓòÃû·þÎñÆ÷ºÍ±¸·Ý·þÎñÆ÷ͬʱ×ö½âÎö£¬²ÅÄܱ£Ö¤Õý³£·ÃÎÊ£¬Èç¹ûÖ»ÓÐÖ÷·þÎñÆ÷×öÁ˽âÎö£¬Ò²ÄÜ·ÃÎÊ£¬µ«ÊÇÓÐʱ¿ÉÄÜ»á³öÎÊÌâ
·µ»Ø
¡ô¸÷λ´óÏÀ°ï°ïæÎÒÏÖÔÚÓöµ½¸ö¹ÖÎÊÌ⣺ 
ÎÒÓÐÒ»¶¥¼¶ÓòÃû myname.net 
ÓòÃû¹ÜÀíÖÐÐÄ×¢²á £º 
namesever : ns.myname.net 
IP : xxx.xxx.xxx.xxx 
ÏÖÔÚ±ðÈËÒª¿´ÎÒµÄÍøÒ³¾ÍµÃ £ºhttp://ns.myname.net 
ÓÃmyname.net »ò www.myname.net ¶¼ÎÞ·¨ÕÒµ½ 
µ«ÊÇÎÒÖ»ÓÃÎÒµÄDNS·þÎñÆ÷×öÎÒµÄwindowsµÄDNSΨһµÄ·þÎñÆ÷¾Í¿ÉÒÔÓÃhttp://www.myname.net »òhttp://myname.net »ò http://ns.myname.net 
¿´µ½ÎÒµÄÍøÕ¾¡¢ ͬʱ¿ÉÒÔ·ÃÎÊInternetÉϵÄÆäËüÍøÕ¾µÄÍøÒ³£¡

ÄãµÄ¼Ç¼ÊDz»ÊÇ»¹Ã»Ë¢Ð³öÈ¥ÄØ¡£
DNSÊǸö·Ç³£´óµÄ·Ö²¼Ê½Êý¾Ý¿âÔÚÄãÄÇÀï¸ü¸ÄµÄÉèÖÃÓÃÄãµÄ»úÆ÷×öDNSµÄ»°ÊÇ¿ÉÒÔÁ¢¿Ì¿´µ½Ð§¹ûµÄ¿ÉÊÇÒªÈÃÕû¸öINTERNET
µÄÊý¾Ý¶¼¸üÐÂÔõôҲҪһÁ½Ìì°É¡£
·µ»Ø
¡ôÎÒ×°ÁËbind8¿ÉÒÔÅÜÆðÀ´,½á¹û»»³Ébind 9¾Í²»ÄÜÓÃÔ­À´µÄnamed.confÁË, ÄÄλ֪µÀÁ½¸ö°æ±¾µÄ²»Í¬Âð?
Äã¿ÉÒÔÔËÐÐNAMED-CHECKCONF NAMED.CONF¿´¿´ÓÐûÓдíÎó
·µ»Ø
¡ôÎÒŪÁ˸öredhat6.0µÄlinux·þÎñÆ÷×÷ÓòÃûºÍÓʼþ·þÎñÆ÷,µ«×Ü·¢ÏÖÓòÃû½ø³ÌÀÏ»áĪÃûÆäÃîµÄËÀµô,µ¼ÖÂÓʼþ·þÎñÀÏÊDz»Õý³£!ÇóÖú,ÓÐʲô°ì·¨×Ô¶¯²é³öÓòÃû·þÎñ½ø³ÌËÀµô,²¢×Ô¶¯ÖØÆôÓòÃû·þÎñ.
ÓòÃû·þÎñÒ»°ã²»»á×Ô¶¯ËÀµô,ËùÒÔ½¨ÒéÄã²é²éÔ­Òò,¿ÉÒÔ¸ù¾ÝÄãµÄϵͳÈÕÖ¾À´²é,ÁíÍâÒ²¿ÉÒÔʹÓüà²âÈí¼þÀ´¼à¿ØϵͳµÄÔËÐÐÇé¿ö£¬¿´ÄÜ·ñ»ñµÃÓÐÓõÄÐÅÏ¢¡£
·µ»Ø
¡ôÎÒÕâÀïÓжþ¸ö¿ÕµÄipµØÖ·£¬ËùÒÔÎÒÏë×öһ̨DNS·þÎñÆ÷£¬µ«ÎÒÏòNSIÉêÇëʱ£¬ËûÃÇÎÊÎÒÒªÎÒÕâÖ÷»úµÄÓòÃû£¬ËùÒÔÎÒ¾ÍÉêÇëÒ»¸öÓòÃû£¬ÏëÖ¸ÏòÕą̂Ö÷»ú£¬µ«ÒòΪÎÒ»¹Ã»ÓÐÔÚNSIÉϹҺţ¬ËùÒÔÎҵĻúÆ÷ÓÖ²»ÄܹÒÉÏÕâ¸öÓò¡£Ë­À´°ï°ïÎÒ¡£
µÚÒ»²½£¬ÄãÐèÒªÓиöÓòÃû£¬±ÈÈçÊÇdomain.com°É£¡Õâ¸öÔÚÄÄÀﶼ¿ÉÒÔ×¢²áµÄ£¬¾Í²»Óöà˵ÁË¡£ 
µÚ¶þ²½£¬×¢²áÄãµÄDNS·þÎñÆ÷£¬ÏÖÔÚÄã¿ÕÏеÄIPÓÐÁË£¬ÐèҪΪÄãµÄDNS·þÎñÆ÷Æð¸öÃû×Ö°É¡£Ò»°ãÀ´Ëµ¶¼ÊÇns1¡¢ns2»òÕßdns1¡¢dns2ʲôµÄ£¬È»ºó¾Í¿ÉÒÔÈ¥×¢²áÄãµÄDNS·þÎñÆ÷ÁË£¬Ò»°ãÒªÕÒ¸øÄã×¢²áÓòÃûµÄ·þÎñÉÌ£¬ÇëËûÃÇ°ïÄã×¢²áÓòÃû·þÎñÆ÷ºóÄã¾Í¿ÉÒÔÕýʽʹÓÃÄãµÄDNSÁË£¡
·µ»Ø
¡ôÈçºÎÔÚbindÖн¨Á¢Ò»¸öÇøÓòµÄÊÚȨ×ÓÓò£¿ 
ÔËÐл·¾³Îª Redhat Linux 6.2 
ÎÒÒѽ¨Á¢ÁËÒ»¸öÇøÓò£¬ÄÜÕý³£½âÎö±¾ÇøÓòµÄÓòÃû£¬Í¨¹ýת·¢£¬Ò²ÄܽâÎöÍⲿÓòÃû£¬µ«²»ÖªÈçºÎ½¨Á¢Ò»¸öÊÚȨ×ÓÓò£¬Ê¹Æä¿ÉÒÔ½âÎö×ÓÓòÖеÄÓòÃû¡£
¼ÙÉèÄãÓÐÒ»¸öÓòxxx.com£¬Ï£Íû½¨Á¢Ò»¸öyyy.xxx.comµÄ×ÓÓò¡£ÄÇôÄã¿ÉÒÔÔÚ½âÎöxxx.comµÄÎļþÖÐÌí¼ÓÏÂÃæÁ½ÐУº 
yyy.xxx.com. IN¡¡NS dns.yyy.xxx.com. 
dns.yyy.xxx.com IN A x.x.x.x 
È»ºóÔÚ×ÓÓòÊÚȨµÄDNS·þÎñÆ÷x.x.x.xÉϽâÎö¸ÃÓòµÄÐÅÏ¢¡£
·µ»Ø
¡ôÈçºÎÖªµÀbindÊǶàÉÙ°æ±¾£¿
named -v 
»òÕß 
rpm -qa | grep named
·µ»Ø
¡ôÇë½Ì£ºÈçºÎ×÷ÖÐÎÄÓòÃûµÄ½âÎö£¿
Ä¿Ç°Ö»ÓÐ .Öйú .cn¿ÉÒÔ×öURLתÏò£¡ 
ÈôÄãµÄDNS·þÎñÆ÷ÒªÄܽâÎöÖÐÎÄÓòÃûµÄ»°£¬ÊÇÔÙҪװһЩ°üµÄ£¡ÐÂÍø/ÍòÍøµ½Ê±×ÔÈ»»áÁªÏµÄ㣡 
Ä¿Ç°Ö»ÓÐÒ»¼¶´úÀíµÄDNS·þÎñÆ÷ÄܽâÎöÖÐÎÄÓòÃû£¬ÇÒ²»Îȶ¨£¡ 

·µ»Ø
¡ôÓÃʲô¹¤¾ß²é¿´ÓòÃû½âÎö¼Ç¼?
ÓÃnslookup»òÕßdig¶¼ÐС£
·µ»Ø
¡ôÎÒÿ´ÎÆô¶¯linuxÖ®ºó£¬±ØÐëÊÖ¶¯Æô¶¯dns·þÎñ£¬ÇëÎÊÎÒÔõôÑùÈûúÆ÷Æô¶¯ºó×Ô¶¯Æô¶¯dns·þÎñ£¿
redhatµÄ»°,´òntsysv,ÔÚÆäÖаÑnamedÑ¡ÖÐ,ÿ´ÎÆô¶¯¶¼»á×Ô¶¯ÆðÀ´¡£
»òÕßÐÞ¸Ä/etc/rc.d/rc.localÎļþ£¬½« "named" ¼ÓÈëÆäÖС£

·µ»Ø
¡ôÏÖÔÚÄÄÀï¿ÉÒÔÓÐ×îеÄbind9µÄrpm°üÏÂÔØ
bind 9µÄrpm°üÓ¦¸ÃÓÐÏÂÔØ£¬Äã¿ÉÒÔµ½www.rpmfind.netÕÒÕÒ¡£

·µ»Ø
¡ôÊǹØÓÚDNSµÄ£º
Apr 2 17:05:12 ns2 named[18780]: Lame server on '41.113.105.202.in-addr.arpa' (
in '105.202.in-addr.arpa'?): [202.96.134.133].53 'ns.szptt.net.cn'
ÓÐÕâÑùµÄÐÅÏ¢Õý³£Â𣿣¿


ÕâÖÖÐÅÏ¢µÄ²úÉúÊÇÒòΪDNSµÄÎóÅäÖÃÔì³ÉµÄ£¬²»¹ýÓ°Ïì²¢²»´ó¡£lame
serverÒ»°ãÖ¸µÄÊÇ´ÓÍⲿ¿´±»È϶¨Îª¾ßÓÐij¸öÓòµÄµÄÓÐЧ½âÎöȨ£¬µ«Ëü±¾ÉíµÄÅäÖÃÎļþÈ´²»ÈÏΪ×Ô¼ºÓµÓиÃÓòÓÐЧ½âÎöȨµÄDNS·þÎñÆ÷¡£

·µ»Ø
¡ôÎÒ¹«Ë¾ÒѾ­ÓÐÁËÒ»¸öÖ÷dns·þÎñÆ÷£¬ÇëÎÊÈçºÎÅäÖø¨dns·þÎñÆ÷£¿Íû²»Áߴͽ̡£

ÔÚÖ÷DNSÉÏ£¬ÔÚÓòµÄÊý¾ÝÎļþÖаѸ¨DNSÌí¼Ó½øÈ¥£¬³ÉÕâ¸öÑù×Ó£º
@¡¡¡¡IN¡¡¡¡SOA ... ... (
¡¡¡¡......
¡¡¡¡......
¡¡¡¡)
¡¡¡¡IN¡¡NS¡¡ns1.abc.com
¡¡¡¡IN¡¡NS ns2.abc.com <<< ÕâÐÐÊÇÔö¼ÓµÄ¡£
ÔÚ¸¨DNSÉÏ£¬±ðµÄºÍÖ÷DNSÒ»Ñù£¬Ö»ÊÇÓòµÄд·¨ÂÔÓвî±ð¡£
zone "abc.com" {
type slave;
file "abc.com.hosts";
masters { 1.2.3.4; };
};

·µ»Ø

¡ôhostsÎļþÅäÖúÍdnsÓÐʲô¹Øϵ£¿

hostsÎļþÖ÷ÒªÊÇÔÚ¾ÖÓòÍøÖÐʹÓõģ¬Ëü¾ÍÊÇÃæÏò±¾»úµÄ£¬Ò²¾ÍÊÇ˵£¬ÄãÔÚhostsÖмÓÈëµÄÄÇЩÏîÄ¿Ö»¶Ô±¾»úÓÐÒâÒ壬±ðµÄ»úÆ÷ÊÇ¿´²»µ½µÄ¡£
¶øDNS¶ÔÈ«Íø¶¼ÓÐЧ£¬Ö»ÒªÄãÔÚÿ̨»úÆ÷ÉÏÉ趨ºÃÁËDNS·þÎñÆ÷£¬ÄÇô¾Í¿ÉÒÔ»ñµÃÆäDNSËù½âÎöµÄÐÅÏ¢¡£

·µ»Ø
¡ôÎÒ½¨Á¢ÁËÒ»¸öcom.abc ÓòÃû £¬
Ò»¸ö1.1.192.in-addr.arpa·´ÏòÓòÃû£¬
ndc restart
nslookup
default nameserver is "ns.com.abc.1.1.192.in-addr.arpa"
why?

·´ÏòÅäÖÃÎļþÓÐÎÊÌ⣬һ°ãÊÇÒòΪÔÚÃû×ÖºóÃæÉÙÁ˾äµã(.)ËùÖ¡£
·µ»Ø




¶þ¡¢Óʼþ·þÎñÆ÷²¿·Ö
¡ôÎÒµÄÓʼþ·þÎñÆ÷¿Õ¼ä²»×㣬ÎÒÏ£ÍûÄÜÀ©´óÓ²Å̿ռ䣬ÎÒÏëµ½Á˼¸¸ö·½°¸ 
1¡¢Ôö¼ÓÐÂÓ²ÅÌ 
2¡¢¸ü»»Ó²ÅÌ 
3¡¢¸ü»»¼ÆËã»ú 
¿ÉÊÇÎÒ²»ÖªµÀ¾ßÌåµÄ×ö·¨ÒÔ¼°ÔõÑù²ÅÄܾ¡Á¿Éٵĸıäԭϵͳ

¼Ó¸öеĴóÓ²Å̾ͿÉÒÔÁË£¬Äã¿ÉÒÔ°ÑËùÓеÄÓʼþĿ¼¶¼moveµ½ÐµÄÓ²ÅÌÖУ¬½Ó×ÅÔÚÔ­Ó²ÅÌÖÐ×öÒ»¸öÈíÁª½Óµ½ÐÂÓ²ÅÌÖеÄĿ¼¾Í¿ÉÒÔÁË¡£
·µ»Ø
¡ô½ñÌìͻȻ·¢ÏÖ£¬ÓÐÈËͨ¹ýÎÒµÄsendmail·þÎñÆ÷Ⱥ·¢À¬»øÓʼþ£¬Ôì³Éϵͳ̱»¾¡£ 
Çë½Ì£¡ÈçºÎÉèÖÃSMTP rulesÀ´·ÀÖ¹ËûÈ˶ñÒâʹÓÃÎÒµÄSMTP·þÎñÆ÷¡£

¿ÉÒÔÉèÖÃaccessÎļþ£¬Ö»ÔÊÐíÄÚ²¿ÍøÂçʹÓÃÓʼþ·þÎñÆ÷×÷relay
·µ»Ø
¡ôÎÒ°²×°ÁËÒ»¸öQMAIL£¬ÒÔÇ°ÓõÄÊÇCHECKPASSWORDÀ´Ð£ÑéÓû§£¬Ò»Ö±¹¤×÷ºÜºÃ£¡µ«×î½üÎÒÐÂ×öÒ»¸ömailϵͳ£¬Ê¹ÓÃvpopmailÀ´ÑéÖ¤Óû§£¬ÏµÍ³×°Íêºó£¬smtpºÍpop3¶¼Æô¶¯ÁË£¬¿ÉÒÔ·¢ÐÅ£¬µ«È´ÎÞ·¨ÓÃpopÊÕÐÅ£¬ÏµÍ³ÀÏ˵ÎÒµÄÃÜÂë²»¶Ô£¬¿ÉÃ÷Ã÷ÃÜÂëÊǶԵģ¡ÎÒÊÇÓÃ/HOME/VPOPMAIL/BINÏÂÃæµÄVADDUSERºÍVPASSWDÀ´¼ÓÓû§ºÍ¸ÄÃÜÂëµÄ£¬ÇëÎÊÓÐÄÇÀï²»¶Ô£¿
Óû§ÃûΪ id@domain.name ¶ø²»ÊÇ id 
ÃÜÂëΪpassword
·µ»Ø
¡ôÎÒÓõÄÊÇlinux6.1ÉϵÄsendmail£¬Óû§½ÓÊÕÓʼþÓÐʱÑéÖ¤ÃÜÂëʱ¼äºÜ³¤£¬ÉõÖÁ³¬Ê±£¬ÇëÎʸÃÔõô½â¾ö£¿ 
ÔÚ/var/log/messagesÖлáÓÐÕâÑùµÄÐÅÏ¢ 
Feb 22 09:24:11 localhost inetd[14651]: /usr/sbin/in.identd: exit signal 0xf 
/usr/sbin/in.identd: exit signal 0xf ÊÇʲôÒâ˼£¿ 
ÔÚ/var/log/maillogÀï»á³öÏÖ 
Feb 26 16:59:08 localhost ipop3d[2866]: Login user=wlx host=[192.168.7.178] nmsgs=0/0 
Feb 26 16:59:19 localhost ipop3d[2866]: Connection reset by peer while reading line user=wlx host=[192.168.7.178

Óиö±¿°ì·¨,¾ÍÊǽ«ÄãµÄÓû§µÄIPµØÖ·¶¼¼ÓÈëµ½hostsÎļþÀïÈ¥. 
»òÕßÓÃQpopper´úÌæSendmailµÄPop,ÔÚÆô¶¯Qpopperʱ¼ÓÈë-rµÄ²ÎÊý½«·´Ïò½âÎö½ûÖ¹µô.
·µ»Ø
¡ôRedHat 6.2ϵÄSendmail 8.9.3ȱʡ״̬ÏÂÊDz»ÊÇ¿ÉÒÔ±»±ðÈ˵±×÷Óʼþת·¢·þÎñÆ÷Óã¿
ȱʡ״̬ÊDz»Ö§³Öopen relay£¬Ò»°ãËüÖ»ÔÊÐílocalhostºÍlocaldomainͨ¹ýÓʼþ·þÎñÆ÷×÷ת·¢¡£
·µ»Ø
¡ôÎÒÓÐһֱ̨½Ó½éÈëintenetµÄmail·þÎñÆ÷£¬ÏÖÒÔÕý³£¹¤×÷£¬µ«´óÁ¿µÄÊÕ·¢À´µÄÓû§Î´¶ÁÐżþ¶¼·ÅÔÚ/var/spool/mail/Ï£¬¶øÎÒµÄhome·ÖÇøÈÝÁ¿ºÜ´ó£¬È´Ã»ÓÃÉÏ£¬Çë½ÌÎÒÈçºÎ½«Æä·Åµ½Óû§Ä¿Â¼Ï£¿
Èç¹ûÄãµÄsendmailʹÓÃprocmail×÷ΪMDAµÄ»°£¬¿ÉÒÔʹÓÃprocmailÀ´Ö¸¶¨ÊÕÏÂÀ´µÄÓʼþ´æ·ÅÔÚÓû§µÄhomeĿ¼¡£·½·¨ÈçÏ£º 
1¡¢ÔÚ/etc/Ͻ¨Á¢procmailrcÎļþ¡£ 
2¡¢ÔÚÆäÖÐÖ¸¶¨»·¾³±äÁ¿MAILµÄ·¾¶£¨¿ÉÉèΪ$HOME/mbox»òÆäËü£©
·µ»Ø
¡ôÔõôÅäÖÃʹµÄsendmailʹÓÃprocmail×÷ΪMDA°¡£¿
MDAÖ¸µÄÊÇMAIL DELIVERY AGENT(Óʼþ´«Êä´úÀí£©£¬Ò»°ãsendmailµÄrpm°ü¶¼½«procmailĬÈÏÅäÖÃΪÆäMDA£¬Èç¹ûûÓУ¬¿ÉÒÔÔÚsendmail.mcÎļþÖмÓÈëMAILER(procmail)ÕâÒ»ÐУ¬È»ºóÉú³Ésendmail.cfÎļþ¼´¿É¡£
·µ»Ø
¡ôÇëÎÊ£ºµ±¹«Ë¾Ô±¹¤³ö²îʱ£¬ÈÃÆä×öÒ»µãССµÄÉèÖã¬È»ºóÆäËûÔ±¹¤·¢¸øËûÄÚ²¿ÕʺŵÄÓʼþÄܹ»×Ô¶¯µÄת·¢µ½SINA»òÕßÆäËûµÄÓÊÏä¡£
ÔÚÓû§Ö÷Ŀ¼Ï½¨Á¢Ò»¸öÎļþ£¨Èç¹ûÊÇsendmail£¬Îª.forward£»Èç¹ûÊÇqmail£¬Îª.qmail£©£¬Ð´Èëת·¢µÄµØÖ·¾ÍÐС£
·µ»Ø
¡ôÎÒµÄ/VAR/LOGĿ¼µÄMESSAGES,MAILLOG,SECUREµÈÈÕÖ¾ÎļþÓÉÓÚϵͳÔËÐÐʱ¼ä³¤ºóÎļþÌ«´ó£¬ÎÒɾµôÁËÒÔºó£¬ÓÖ½¨Á¢ÁËͬÑùÃû×ÖµÄÎļþ(ÓÃTOUCH)£¬µ«ÊÇÎÞÂÛÖØÆð¶àÉٴΣ¬ÕâЩÎļþµÄ×Ö½ÚÊýʼÖÕÊÇ0£¬²»»áÔÙÔö³¤ÁË£¬ÇëÎÊÈçºÎ½â¾ö£¿
¼ì²éÒ»ÏÂÆäȨÏÞÊôÐÔ£¬ÔÚ/var/logϵÄÎļþÒ»°ãΪ600£¨Ö»¶Ôroot¿É¶Áд£©£¬ËùÓÐÕßΪroot¡£
·µ»Ø
¡ôÎÒ·¢ÏÖÎÒµÄÓʼþ·þÎñÆ÷Ó²Å̵ÆÒ»Ö±¿ñÉÁ£¬¾­¹ý¼ì²é¹ØµôËùÓеÄsendmail½ø³Ì£¬Ó²Å̵ƲŲ»ÉÁ¡£µ«ÊÇÆô¶¯sendmailÓв»¾ÃÓÖ³öÏÖÕâÑùµÄÎÊÌâ
¿ÉÒÔ¼ì²éÒ»ÏÂlogÎļþÒÔÈ·ÈÏÊÇ·ñÓÐÈËͨ¹ýÄãµÄÓʼþ·þÎñÆ÷·¢ËÍ´óÁ¿À¬»øÓʼþ£¬ÁíÍ⣬sendmailµÄ½ø³ÌÏÔʾӦ¸ÃÒ²Äܹ»ÌṩһЩÓÐÓõÄÐÅÏ¢¡£
·µ»Ø
¡ôÎÒµÄÎÊÌâÊÇ£ºÎÒÓÃOutlook 5¿ÉÒÔ·¢Ðŵ½µ½·þÎñÆ÷£¬Ó¦¸ÃSMTPûÓÐÎÊÌ⣬ֻÊDz»ÄÜÊÕÐÅ£¬µ«ÎÒÒÑ°Ñ/etc/xinetd.d/pop3sÖÐdisableÉèΪno£¬¿É»¹ÊDz»ÐС£
Ê×ÏÈÒªÌáÐÑ×¢ÒâµÄÊÇpop3s²»Í¬ÓÚpop3£¬ËùÒÔÄãÉèÖøÃÏûÓÐ×÷Óã»Èç¹ûÍêÈ«°²×°µÄ»°£¬Ò»°ãÔÚ/etc/xinetd.dÏ»áÓÐÒ»¸öipop3Îļþ£¬Õâ¸ö²ÅÊÇÕæÕýÓ¦ÓÃÓÚpop3 110¶Ë¿ÚµÄ£¬Èç¹ûûÓеĻ°£¬Ò²¿ÉÒÔ×Ô¼º´´½¨Ò»¸öÕâÑùµÄÎļþ¡£
·µ»Ø
¡ôÎÒµÄlinuxÉÏÏÖÒѵ÷ÊÔºÃsendmail,ÎÒ»¹Ïë×°qmailѧѧ£¬×°ÉϺó»áÓгåͻô£¿
¹²´æ¿Ï¶¨»áÓÐÎÊÌ⣬±ÈÈç˵£¬Á½ÕßʹÓõĶ¼ÊÇͬÑùµÄ¶Ë¿Ú£¬Èç¹û¹²´æ¾Í»áÓгåÍ»¡£Èç¹ûÄãµÄsendmailÔËÐкÜÖØÒªµÄ»°£¬½¨ÒéÄãʹÓÃÁíÍâµÄ»úÆ÷À´ÊÔÓÃqmail¡£
·µ»Ø
¡ôimap-devel-x.xx.xx.....rpmÊÇʲô£¿ 
Óëimap-x.xx.xx.....rpmÓйØÂð£¿

Õâ¸örpm°üÖ÷Òª°üÀ¨¿ª·¢imapÓ¦ÓóÌÐòµÄһЩlibrary,includeÎļþµÈ¡£ 
¶øimapµÄrpm°ü°üÀ¨µÄÊÇimapºÍpop3ЭÒéµÄÊØ»¤³ÌÐò¡£
·µ»Ø
¡ô°ÑcyrusËùÓÐÓû§µÄÓÊÏäÈÝÁ¿¶¼ÏÞ¶¨ÔÚÒ»¸ö¹Ì¶¨Öµ£¬Ò²¾ÍÊÇ˵ÓÃcm¸øÓû§´´½¨ÍêÐÅÏäºó£¬Óû§ÐÅÏäµÄÈÝÁ¿ÒѾ­±»ÏÞ¶¨ÔÚÒ»¸ö¹Ì¶¨µÄÖµÁË£¬ÕâÑùÓз½·¨¿ÉÒÔʵÏÖÂð£¿
ÓУ¬ÔÚimapd.conf ÖÐÓÐÉèÖà £¬ÊÇ·ñÒ»¿ªÊ¼¾ÍÓÃÏÞ¶¨ÈÝÁ¿£¬Çë²Î¿¼£ºhttp://www.nada.kth.se/cgi-bin/man?p=imapd.conf&s=5&ss=&M= 
·µ»Ø
¡ôÎÒÔÚmail server£¨IP:192.168.1.1£©ÉÏ×°ÁËsendmail£¬»úÆ÷dnsÃûΪmail.net£¬ÏÖÔÚ¿ÉÊÕ·¢username@mail.netÐÎʽµÄÓʼþ£¬µ«²»ÄÜÊÕ·¢username@192.168.1.1ÕâÖÖÐÎʽµÄÓʼþ£¬¸ÃÈçºÎÅäÖã¿

ÄãµÄд·¨ÓÐ´í£¡Ó¦¸ÃÊÇusername@[192.168.1.1]
ÓÃIPµØÖ·ÊÕ·¢ÓʼþÖ»ÄÜʹÓÃusername@[ip_address]µÄÐÎʽ£¬Õâ²»ÊÇÓû§Ï°¹ß²»Ï°¹ßµÄÎÊÌâ¡£ 
·ñÔò£¬¼´Ê¹ÄãµÄ·þÎñÆ÷Äܹ»½ÓÊÜûÓÐ[ ]µÄ¸ñʽ£¬ÆäËû·þÎñÆ÷»¹ÊÇ¿ÉÄܲ»½ÓÊܵġ£ 
Äã¿ÉÒÔÔÚsendmail.cfµÄDMÏîÐ޸ijɠ
DM[a.b.c.d] 
a.b.c.dÊÇÄãµÄ·þÎñÆ÷µÄIPµØÖ·£¬Í¨¹ýËü·¢³öµÄÓʼþ¾ÍÊÇusername@[a.b.c.d]µÄÐÎʽÁË¡£
·µ»Ø
¡ôpostfixÄÜ»ùÓÚWEB·½Ê½ÊÕ·¢Óʼþ£¬ÐÞ¸ÄÃÜÂëÂð£¿
ÄãÓÃldap or mysql ×÷ÈÏÖ¤£¬ÔÚ×öÒ»¸öÒ³Ãæ³ÌÐò¸Ä Êý¾Ý¾Í¿ÉÒÔÁË¡£ 
ÎÒÓÐÒ»¸öÒ³ÃæÓÐһЩ¹ØÓÚÕâ·½ÃæµÄÄÚÈÝ£¬µØÖ·ÊÇ http://ai_ya.mytang.com»òÕßhttp://ai_yaya.home.chinaren.com
·µ»Ø
¡ôqmailµÄ°²×°±ØÐëÓÐdns½âÎöÂð£¿
×îºÃ×öDNS¡£²»È»Äã¾Íдµ½HOSTSÀï.
·µ»Ø
¡ôÎÒµÄqmail²»ÄÜÆô¶¯£¬smtpºÍpop¶¼ÄÜÆðÀ´£¬µ«ÊÇ/var/qmail/rcÀïµÄ¶«Î÷Æô¶¯²»ÁËÈÕÖ¾´íÎóÈçÏ£º 
alert: cannot start: unable to open mutex 

touch /var/qmail/sendmutex 
chown qmails.qmail /var/qmail/sendmutex
·µ»Ø
¡ôÎÒÏ뽨Á¢ÕâÑùµÄEMAIL»º³å·þÎñÆ÷£¬Ê×ÏÈ´ÓINTERNETÉÏÊÕÐŵ½EMAIL»º³å·þÎñÆ÷£¬È»ºó¾ÖÓòÍøÄÚµÄÓû§µ½Õâ¸ö»º³å·þÎñÆ÷ÊÕÈ¡ËûÃǵÄEMAIL£¬Ó¦¸ÃÈçºÎ×ö£¿
ÒÔÇ°ÎÒÔø¾­Óùý£¬ËƺõÓÐÁ½ÖÖ·½°¸£¬ 
Ò»¸öÊǹÜÀíԱͬÒâÉèÖÃfetchmail£¬¶¨ÆڰѺܶàÈ˵ÄÐÅ×¥»ØÀ´¡£ 
ÁíÒ»¸öÊǸöÈË×Ô¼ºÉèÖÃ×Ô¼ºµÄfetchmail 
µ«ÎÞÂÛÄĸö·½°¸£¬¶¼ÐèҪÿ¸öÈËÔÚ±¾µØÓÐÐÅÏ䣬²¢ÇÒÐèÒªÔÚÅäÖÃÎļþÖÐдÃ÷ÎÄÃÜÂë¡£¾ßÌåµÄ×ö·¨¿ÉÒԲο¼man
fetchmail
·µ»Ø
¡ôÈç¹ûÏëÿ¸ô15·ÖÖÓÖ´ÐÐfetchmail -v -aÓ¦¸ÃÈçºÎ×ö£¿
ʹÓÃATÃüÁîÔÚijһ¸öʱ¶ÎÄÚÈç8£º00--18£º00ÿ¸ô15·ÖÖÓÖ´ÐÐfetchmail -v -aÓ¦¸ÃÈçºÎдÕâ¸öÓï¾ä¡£
ÎÒÏëÄãÓ¦¸ÃÓÃcrontabÀ´×öÖظ´¶¨Ê±Ö´ÐС£atÊʺÏÓÃÀ´×öµ¥´Î¶¨Ê±ÈÎÎñ¡£ 
crontab -e±à¼­ÈÎÎñÇåµ¥¡£ 
¸ñʽÊÇ 
*/15 8-18 * * 1-5 (your_command_script.sh) 
ÊÇ˵ÖÜÒ»µ½ÖÜÎåµÄ 8 ʱÖÁ 18 ʱÿ¸ô15·ÖÖÓÖ´ÐÐÒ»´Îyour_command_script.shÕâ¸öÃüÁ 
µ±È»£¬Ëü¿ÉÒÔÊǽű¾Îļþ£¬Ò²¿ÉÒÔÊÇÒ»¸öÃüÁî¡£ 
·µ»Ø
¡ôfetchmail »á¸øUSER·¢ËÍÿһ´ÎÖ´ÐÐfetchmailµÄ״̬±¨¸æ¡£ÈçºÎ½ûÖ¹Ïò¸ÃÓû§·¢ËÍ´ËÏûÏ¢£¿
ÔÚcrontabÀïÃæÖض¨Ïò±ê×¼Êä³öºÍ´íÎóÊä³öµ½ÆäËûÎļþ¡£ 
*/15 8-18 * * 1-5 (your_command > /var/log/my.log 2>/var/log/my_error.log) 
¾Í¿ÉÒÔ°ÑËüµÄÊä³öÖØж¨Ïòµ½/var/log/my.log 
°ÑËüµÄ´íÎóÊä³ö¶¨Ïòµ½/var/log/my_error.log 
ÄãÓ¦¸Ã¾ÍµÃ²»µ½ÄǸöÐÅÏ¢ÁË¡£  
·µ»Ø
¡ôsendmail ¿É·ñ½¨Ò»¸öÓʼþ×é! 
È磺°Ñ¼¸¸öÕʺŷÅÔÚÒ»¸ö×éÀÎÒÓÃÕâ¸ö×é·¢Óʼþ£¬Õâ¸ö×éÀïµÄ³ÉÔ±¶¼¿ÉÊÕµ½ÏàͬµÄÓʼþ£¿

½¨¸ö±ðÃû¾ÍÐÐÁË£¬sendmailÖеÄaliasesÌṩÁËÕâÑùµÄ¹¦ÄÜ¡£
¾ÙÀýÀ´Ëµ°É£¬Èç¹ûÄãÏëʹÓÃxuser×飬ÀïÃæ·ÅÖÃÁ½¸öÓû§£ºaºÍb£¬ÄÇôÄã¿ÉÒÔÔÚ/etc/aliasesÎļþÖÐÔö¼ÓÒ»ÐУº 
xuser:a,b 
Èç¹ûÄãÏëÔöÌí¸ü¶àµÄÓû§£¬¿ÉÒÔ¼ÌÐøÔÚbºóÌí¼Ó¡£ 
ÐÞ¸ÄÍê±ÏÖ®ºó£¬Ê¹ÓÃnewaliasesÃüÁîʹÐÞ¸ÄÉúЧ¡£
·µ»Ø
¡ôredhat linux7.0ÀïÕÒ²»µ½inetd.conf,ÄÇtelnet,pop3,smtpÔÚÄǶùÉèÖã¿
µ½/etc/xinetd.d/Ŀ¼ÀïÈ¥¿´¿´°É. 
·µ»Ø
¡ôpop3ºÍimap²»Äܹ²´æ£¬ÊÇÂð£¿
pop3ºÍimap¶¼ÊÇ¿Í»§¶Ë´Ó·þÎñÆ÷ÓʼþÊÕÈ¡µÄ·½Ê½,Òò´Ë¶ÔÓÚͬһ̨·þÎñÆ÷µÄͬһÓò,Äã²»¿ÉÄܼÈ×÷pop3ÓÖ×÷imap
·µ»Ø
¡ôÇëÎÊ aliasesÓï·¨ÀïÓÐ:include:Âð?ÔõôʹÓÃ?
man aliases 
...... 
Include File 
:include: /path/name 
The aliases in pathname are added to the aliases 
for name. 
·µ»Ø
¡ôÈçºÎÏÞÖÆÓû§ÓʼþµÄ×î´óֵΪ10M£¿
ÔÚsendmail.cfÖÐÉèÖãº
# maximum message size 
#O MaxMessageSize=1000000
·µ»Ø
¡ôÎÒÔÚREDHAT6ÓÃqpopper3.0ÌṩPOP3·þÎñ£¬ÓÃtelnet localhost 110²âÊÔÕý³££¨·þÎñÒÑÕý³£ÔËÐУ©£¬µ«µÇ¼ʱ£¬ÏµÍ³×ÜÊÇ·µ»Ø¡°-ERR [AUTH] Password supplied for "xy" is incorrect.¡±£¬µ«´ËµÇ¼ÕʺŵÄÃÜÂëÊǾø¶ÔûÓдíµÄ£¬ÎÒÊÔ¹ýºÃ¼¸´Î£¬¶¼ÊÇÕâÑù£¬ÇëÎÊÓÐʲô½â¾ö°ì·¨£¿
Äã±àÒëqpopperʱÊÇ·ñʹÓÃÁËÔÊÐíshadowÃÜÂëµÄÑ¡Ï
Èç¹ûÄãʹÓÃÁËshadowÃÜÂ룬ÄãÓ¦¸ÃÔÚconfigureʱ¼ÓÒÔÏÂÑ¡Ï 
./configure --enable-specialauth
·µ»Ø
¡ôÈçºÎSENDMAILµÄ·¢ÐÅÐòÁУ¬ÎÒÏëÖªµÀÓм¸·âÐÅÔڵȴý·¢ËÍ
mailq
·µ»Ø
¡ôÎÒÔÚredhat7.0Àï°²×°ÁËcyrus
imapd2.0.12,ÔÚoutlookÀïÃæ¿ÉÒÔÊպͷ¢£¬µ«ÊÇÔÚ·¢µÄʱºòËü»á³öÏÖÕâÒ»¾ä£º"ÎÞ·¨½«¡°·¢¼þÏ䡱Îļþ¼ÐÖеÄһЩÓʼþ¸´ÖƵ½¡°ÒÑ·¢ËÍÓʼþ¡±Îļþ¼ÐÖС£
ÓʼþÎÞ·¨¼ÓÔص½ IMAP ·þÎñÆ÷¡£·þÎñÆ÷¾Ü¾ø½ÓÊÜ¡£ Ö÷Ìâ 'Re: ll',
ÕʺÅ: '192.168.1.67', ·þÎñÆ÷: '192.168.1.67', ЭÒé: IMAP, ·þÎñÆ÷ÏìÓ¦:
'Permission denied', ¶Ë¿Ú: 143, °²È«(SSL): ·ñ, ´íÎóºÅ: 0x800CCCD2"
ÇëÎÊÕâÊÇʲô»ØÊ£¬ÊDz»ÊÇȨÏÞÎÊÌ⣬Çë¶à¶àÖ¸½Ì¡£

Ó¦¸ÃÊÇOUTLOOKÀïµÄ IMAP
Ŀ¼ûÉè¶Ô£¬ÊÇ "INBOX." £¬×¢ÒâÀïÃæÓÐÒ»¸ö"."£¬¿É±ð©ÁË¡£

·µ»Ø
¡ôΪʲôÎÒµÄDNS²»ÄÜÓÃresolv.confÖеĵڶþ¸önameserver?
ÕâÁ½¸önameserver IPÒ»¸öÊDZ¾»úµÄ£¬Ò»¸öÊÇISPµÄ£¬ÈÎÒâÒ»¸ö×öµÚÒ»nameserver£¬ÓÃnslookup¶¼Ã»ÎÊÌ⣬µ«µÚ¶þnameserverȴûÆð×÷Óã¬ÎªºÎ£¿

µÚ¶þ¸öÊDZ¸Óõġ£µÈµÚÒ»¸ö»µÁ˲ÅÓÃ

·µ»Ø

¡ôpop3·þÎñÊÇÄĸörpm°üÌṩµÄ£¿

imap

·µ»Ø
¡ôÎÒʹÓõÄÊÇRedHat 7.1£¬±¾»úÒ»ÇÐÕý³£
telent localhost 25¿ÉÒÔ£¬
µ«ÊÇ·þÎñÆ÷û¿ª25¶Ë¿Ú£¬´ÓÍøÂçÎÞ·¨·ÃÎÊ£¬
sendmail²»ÊÇÓÉxinetd¿ØÖÆ£¬´ÓÄÄÀï´ò¿ª25¿ÚÄØ£¿


RH7.1ĬÈÏÇé¿öSMTP½ö°ó¶¨127.0.0.1£¬Òò´Ë²»ÄÜ´ÓÍøÂç·ÃÎÊ£¬Òª´ò¿ªSMTP£¬Èçϼ´¿É£º
edit /etc/sendmail.cf
ÕÒµ½£º
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
Ìí¼Ó£º
# SMTP daemon options
O DaemonPortOptions=Port=smtp,Addr=ÄãµÄIP, Name=MTA
±£´æ£¡

·µ»Ø
¡ô#./config
Your hostname is ec35.e-sealand.com.
soft error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.
ÇëÎÊ£¬ÕâÊÇÔõô»ØÊ£¬Çë¸÷λָ½Ì!!!

ʹÓÃ
# ./config-fast ec35.e-sealand.com
ÒòΪÄãµÄÓòÃûûÓÐdns½âÎö¡£

·µ»Ø
¡ôÈçºÎÖ±½ÓÓÃRootÕʺÅÊÕÐÅ£¿

×îºÃÊÇÉèÖÃÒ»¸ö±ðÃû£¬½«rootµÄÐżþת¸øËü£¬È»ºóÓÃÕâ¸öÒ»°ãÕ˺ÅÊÕÐÅ¡£

·µ»Ø
¡ôÔÚsendmail.mcÀï¼ÓÉÏFEATURE(`blacklist_recipients'')dnl
ÓÐʲô×÷Ó𡣿

blacklist_recipients±íʾ´ò¿ªÕë¶ÔÊÕ¼þÈ˵ĺÚÃûµ¥£¬ÔÊÐíÁË´ËÏîÖ®ºó£¬Äã¾Í¿ÉÒÔÔÚaccessÖÐ×÷Ïà¹ØµÄȨÏÞÉèÖá£
·µ»Ø
¡ôÔÚqmailÖУ¬Ôõô¿ØÖÆÓʼþÎļþµÄ´óС£¿
All of qmail's system configuration files,
with the exception of the .qmail files in ~alias, reside in /var/qmail/control.
The qmail−control man page contains a table like the following:
ÆäÖÐÓйؿØÖÆÓʼþÎļþµÄ´óСµÄÈçÏ£º
Control¡¡¡¡¡¡Default¡¡¡¡¡¡Used by Purpose
databytes¡¡¡¡0¡¡¡¡¡¡¡¡¡¡¡¡qmail−smtpd max number of bytes in
message(0=no limit)

·µ»Ø
¡ôVpopmail+Qmail, ÎÒÓõÄÓû§ÃûÊÇme@host.com ÐÎʽÓÃtelnet localhost 110 
ÏÂuser name@host.com OK; pass pw OK; 
µ«ÔÚoutlook ÏÂ×ÜÊÕ²»µ½ÐÅ£»¾ßÌ屨µÄÊÇ0·âÐÅ,ÎÒ²»ÖªÐŶ¼·¢µ½ÄĶùÁË£¿
ÈÕÖ¾Öб¨´íÐÅÏ¢ÈçÏÂ:
y 30 11:03:53 debian qmail: 991191833.075177 status: local 1/10 remote 0/20
May 30 11:03:53 debian qmail: 991191833.098897 delivery 34: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
May 30 11:03:53 debian qmail: 991191833.099505 status: local 0/10 remo

Ôì³ÉÕâÖÖÇé¿öµÄÔ­ÒòºÜ¶à¡£»òÐíÄã¿ÉÒÔ´ÓÒÔÏÂÁ½¸ö·½ÃæÈ¥¼ì²é£º
1¡¢ÄãµÄQmailÊÇÔõô°²×°µÄ£¬ÊÇÓÃrpm°ü°²×°µÄÂð£¿
2¡¢¼ì²é/home/vpopmail/domain/xxx.com/ϸ÷ÎļþµÄȨÏÞÊôÐÔ£¨°üÀ¨Òþº¬Îļþ£©£¬¿´ÊÇ·ñÕý³£¡£
Èç¹û»¹ÊDz»ÐУ¬ÓпÉÄÜÊÇcdbÎļþËð»µÁË¡£Äã¿ÉÒÔÔËÐÐqmail-newuÊÔÊÔ£¬Ëü¿ÉÒÔÖؽ¨cdbÎļþ¡£
ÔÙ²»ÐеĻ°£¬ÄÇôÄãÖ»ºÃÖØд´½¨ÐéÄâÓò¡£





Ïà¹ØÎÄÕ£º
  • ×Ô¼ºµçÄÔ×öSMTP·þÎñÆ÷²»ÇóÈË
  • ×Ô¶¨Exchange2000 OWAµÄµÇ¼½çÃæ
  • ×ÓÍøÑÚÂëºÍipµØÖ·µÄ¹Øϵ
  • ÖØÐÂÅäÖÃDomino·þÎñÆ÷
  • ÔõÑùʵÏÖEXCHANGA±¸·Ý
  • ÔÚ¾ÖÓòÍøÖÐʵÏÖMSNͨѶ·þÎñ
  • ÔÚrhas3.0ÉϽ¨Á¢Ò»¸öÍêÕûµÄÓʼþϵͳ
  • ÔÚREDHAT9.0Ï°²×°igenus
  • ÔÚR5ÓʼþÖÐÈçºÎ·½±ãµØ¼à¿ØÓʼþµÄ·µ»Ø»ØÖ´£¿
  • ÔÚLinuxϵͳÉÏ°²×°ºÍÅäÖÃDomino·þÎñÆ÷
  • ÓïÒôÓʼþ´«ÕæÇé-Pure VoiceʹÓÃС¼¼ÇÉ
  • ÓëÀ¬»øÓʼþ˵ÔÙ¼û(3)
  • ÓëÀ¬»øÓʼþ˵ÔÙ¼û(2)
  • ÓëÀ¬»øÓʼþ˵ÔÙ¼û(1)
  • ÓÊÏä·ÀÀ¬»øÓʼþ¹¦ÄÜÆÀ²â!
  • ÓÊ̳¶àÃæÊÖMDaemon
  • ÓÊÀ´ÓÊÈ¥-Foxmail³õ¼¶Ó¦ÓÃÎÊ´ð
  • ÓʼþÔ­ÎÄÏêϸ½éÉÜ--Óʼþ±àÂë½éÉÜ
  • ÓʼþÔ­ÎÄÏêϸ½éÉÜ--ÉñÆæµÄMIME
  • Óʼþ-ÓòÃû-DNSÏà¹Ø֪ʶ
  • Ïà¹ØÈí¼þ£º

  • Óʼþ·þÎñÆ÷Ö§³ÖSMTP/POP3/IMA ¡¡

  • ÏÂÔØÊ×Ò³©®¹ØÓÚÎÒÃÇ©®¹ã¸æ·þÎñ©®ÁªÏµ·½Ê½©®³£¼ûÎÊÌâ©®Òþ˽ÉùÃ÷©®·¨ÂÉÌõ¿î©®±¾Õ¾ÉùÃ÷©®ÏÂÔØ°ïÖú©®·¢²¼Èí¼þ©®Õ¾µãµØͼ©®¹È¸èÎÀÐǵØͼ