sendmailµÄ°²×°£¬ÄúÊ×ÏÈÒª±£Ö¤ÓòÃûÌṩÉÌΪÄãµÄÖ÷»ú×öÁËMX¼Ç¼µÄÓòÃû½âÎö¡£ÎÒ×öµÄMX¼Ç¼ÈçÏ¡£
Ãû¡¡³Æ£ºabc.com
Àà¡¡ÐÍ£ºmx(10)
Ö÷»úÃû£ºmx1.abc.com
ͬʱ¸øÖ÷»ú×öÁËmx1.abc.comµÄA¼Ç¼¡£
²âÊÔMX¼Ç¼ÊÇ·ñÉúЧ£¬Äú¿ÉÒÔÓÃnslookup
#nslookup
> set q=mx
> abc.com
ÕâʱÄú¾Í»á´ÓϵͳÏÔʾ³öµÄÐÅÏ¢Öп´µ½ÄúµÄMX¼Ç¼ÊÇ·ñÉúЧ¡£
REDHAT7.0°²×°Íê±Ïºó£¬ÏµÍ³Ä¬ÈÏÒѾ°²×°ÁËsendmail-cf-8.11.0-8.i386.rpmÈí¼þ°ü£¬Çë¼ì²é/etc/ÏÂÊÇ·ñÓÐsendmail.cfÎļþ£¬Èç¹ûûÓУ¬Çë°²×°sendmail-cf-8.11.0-8.i386.rpmµÄÈí¼þ°ü£¬ÔÚlinuxµÄ¹âÅÌÖÐÓС£
¡¡¡¡
ÅäÖãº
/etc/sendmail.cf
Cwlocalhost¡¡abc mx1.abc.com
/etc/mail/access
Ìí¼Ó£º
1.2.3.4 RELAY£¨1.2.3.4ÊÇÎÒµÄIP£©
/etc/mail/local-host-names
¡¡¡¡
abc.com£¨Ìí¼ÓÒ»±ðÃû£¬ÎªÁËÊÕÈ¡user@abc.com¸ñʽµÄÐżþ£©
ΪÁËÓû§¿ÉÒÔʹÓÃfoxmail£¬outlookµÈÈí¼þ½øÐÐÊÕÐÅ¡£ÄúÐèÒª°²×°imap¡£´ò¿ªÏµÍ³µÄpop3¶Ë¿Ú¡£
Çë²é¿´/usr/sbin/ÏÂÊÇ·ñº¬ÓÐipop2d¡¢ipop3dÎļþ£¬ÈçûÓУ¬Çë°²×°imap-4.7c2-12.i386.rpmÈí¼þ°ü¡£
ÅäÖãº
/etc/xinetd.d/ipop2
ĬÈÏ£ºdisable=yes¡¡¸ÄΪ£ºdisable=no
/etc/xinetd.d/ipop3
ĬÈÏ£ºdisable=yes¡¡¸ÄΪ£ºdisable=no
/etc/xinetd.d/ipop3
ĬÈÏ£ºdisable=yes¡¡¸ÄΪ£ºdisable=no
/etc/xinetd.d/pops
ĬÈÏ£ºdisable=yes¡¡¸ÄΪ£ºdisable=no
×îºó£º
/etc/rc.d/init.d/xinetd restart
ÓʼþϵͳÓû§µÄÌí¼ÓÓëɾ³ý£º
Ìí¼Ó£º
# /user/sbin/useradd username mail
#passwd username
#chsh username
/bin/true(¸üÐÂÓû§µÄshells)
ɾ³ý£º
#/ /usr/sbin/userdel username
Õâʱ£¬Èç¹ûÄúµÄMX¼Ç¼½âÎö³É¹¦£¬¹¤×÷Õý³££¬ÉÏÊö²Ù×÷ÎÞÎó£¬Äú¾Í¿ÉÒÔÔÚwindows¿Í»§¶Ëͨ¹ýfoxmail£¬outlook½øÐÐÊÕ·¢ÓʼþÁË£¬ÉèÖãºÓÊÏ䵨ַ£ºusername@abc.com£¬Õ˺ţºusername£¬¿ÚÁî£ºÍøÂç¹ÜÀíÔ±»á¸æËßÄ㣬pop3£ºmx1.abc.com¡¡smtp£ºmx1.abc.com
,