| 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·þÎñÆ÷

Õ¾ÄÚËÑË÷

ÓʼþϵͳÏê½â

¡¡¡¡Ê×Ïȼòµ¥µÄ½éÉÜÒ»ÏÂÓʼþϵͳ£¬Ö÷ÒªÓÉÁ½²¿·Ö×é³É£ºsmtpЭÒé(¼òµ¥Óʼþ´«ÊäЭÒé)ºÍpop3(ÓʾÖЭÒéversion3)£¬smtpÓÃÓÚÓʼþÔÚÍøÂçÖеĴ«µÝ(mailer),¶øpop´¦Àí¿Í»§¶ËÓʼþµÄ½ÓÊÕ¡£ÓÉÓÚpop3µÄ¾ÖÏÞ£¬½«À´¿Ï¶¨Òª±»imap´úÌ棬imapÓнϺõÄĿ¼·þÎñÄÜÁ¦£¬¿ÉÒÔÔÚÏÂÔØ֮ǰ¿´µ½ÓʼþµÄÖ÷ÒªÐÅÏ¢ÈçÀ´Ô´¡¢±êÌâµÈ£¬»¹¿ÉÒÔÔ¶³Ìɾ³ýÓʼþµÈ£¬µ«Ä¿Ç°ISP»¹²»»áÇáÒ×ÓÃËüÀ´Ìæ»»pop.×¢Òâ²»ÒªÓëIAPµÄPOP¸ã»ìÏýÁË£¬ÄÇ
Êǵ±Ç°½ÓÈëµãµÄÒâ˼(Point OfPresent)¡£Ñ§µÃÔ½¶àÔ½ºýÍ¿:-(
    ×îÔçÔÚLinux´«µÝÓʼþÓõÄÊÇsmtp·þÎñ£¬ÔÚ/etc/inetd.confÀï¿ÉÒÔ¿´µ½ÕâÑùÒ»ÐУº
#smtp stream tcp nowait root /usr/bin/smtpd smtpd
ÏÖÔÚ»ù±¾¶¼ÓÃsendmailÕâÑù¹¦ÄÜÇ¿´óµÄdeamon³ÌÐòÀ´×ö(nntpÒ²ÊÇÈç´Ë)¡£ËùÒÔsendmailÖ»ÊÇÓʼþ´«µÝÕß(mailer),Ëü°ÑÕâ¸öÖ÷»úÉϵÄÓʼþ·¢Ë͵½ÆäËûµØ·½£¬×¢Òâµ½ÅäÖÃDNSʱÓÐÒ»ÏîMX(MaileXchang,ÓʼþÍø¹Ø)£¬Ê¹ÓÃsendmailÔÚÄãµÄÍøÄÚÒªÓÐÒ»¸öDNS·þÎñÆ÷¡£¶ø´¦ÀíÖ÷»úÉÏÔ¶³Ì¿Í»§µÄÓʼþ·þÎñÔòÒªÓÐpop·þÎñ£¬²é¿´inetd.confÓÐÕâô¼¸Ï
pop-2
stream tcp nowait root /usr/sbin/tcpd ipop2d
pop-3 stream tcp nowait
root /usr/sbin/tcpd ipop3d
imap stream tcp nowait root
/usr/sbin/tcpd imap
    Ôٲ鿴/etc/service¾ÍÖªµÀËüÃǶÔÓ¦µÄ¶Ë¿ÚºÅ£¬ÓÃtelnet host-name portÊÔÊÔÄÜ¿´µ½Ê²Ã´£¿LinuxÕâÑùµÄ¶«Î÷ͨ³£ÊÇÓÃÀ´×ö·þÎñµÄ£¬µ±È»ÓкܶàÈË°ÑËüÓÃ×÷¸öÈË×ÀÃæÒ²²»´í£¬µ«ÊÇÐÂÊ־Ͳ»ÖªµÀÈçºÎÈ¥ÊÕËûÃÇÔÚISPµÄÓʼþÁË£¬ÆäʵºÜ¼òµ¥£¬Ö»ÐèҪװ¸öpop/imapµÄ¿Í»§¶ËÈí¼þ¾ÍÐÐÁË£¬netscapeµÄÌ×¼þ¾ÍÊǺܺõÄÑ¡Ôñ£¬KDE´øµÄÓʼþ¿Í»§¶ËÈí¼þÒ²²»´í£¬Ö§³Ö¶àÕʺţ¬¾ÍÊDz»Ö±½ÓÖ§³ÖÖÐÎÄ(ÓÃzhXwin°É)£¬»òÕßÓÃfetchmail°ÑÓʼþ×¥»ØÀ´×ª·¢µ½±¾µØÖ÷»úµÄ¿Í»§£¬ÔÚ±¾µØÖ÷»úÉÏÓÃmail³ÌÐòÀ´¶Á¡£ÎҸоõmail³ÌÐòºÃÏóÊÇÖ±½Ó´¦ÀíÓʼþ¶ÓÁУ¬²»Öª¶Ô²»¶Ô¡£Ê¹ÓÃmail³ÌÐòÎʵÃ×î¶àÎÊÌâÊÇ£¬ÔÚÊäÈëÕýÎÄʱÔõô½áÊø£¿ÁíÆðÒ»ÐÐÊäÈëÒ»¸ö"."¾ÍÐÐÁË£¡
    ÉÏÃæ½²µÄÊÇÏÖÔÚinternetÉϵÄÓʼþϵͳ£¬ÔÚinternet³öÏÖÒÔÇ°µç×ÓÓʼþϵͳ¾ÍÓÐÁË£¬±ÈÈçÔÚuucp/BBSÉÏ£¬»¹ÓÐÆäËüÀàÐ͵ÄÍøÂçÉÏ£¬¾ÍÔÚinternet·¢´ïµÄ½ñÌ죬ÕâÑùµÄÍøÂçϵͳÈÔÈ»ÓëÖ®²¢´æ¡£AOL¡¢Ó®º£Íþ(IHWY)µÄÍøÂçÉϾͲ»ÊDZê×¼µÄInternetµç×ÓÓʼþ¡£
    ÎÒÒÔÇ°¾ÍÉϹýµçОֵĻùÓÚX.25Íø£¨×¼È·µÄ˵Ӧ¸ÃÊÇÖйú¹«Ó÷Ö×é½»»»Êý¾ÝÍøCHINAPAC)µÄµç×ÓÓʼþϵͳ£¬ÓŵãÊÇÕæÕýµÄÕʺÅÂþÓΣ¬È±µãÊÇËÙ¶ÈÌ«Âý£¨ÖÁ¶à9600bps,x.25±¾À´¾Í²»¿ì)£¬ºóÀ´³ÐŵҪ½¨Ò»¸öX.400Íø¹ØÓëInternetÉϵÄÓʼþϵͳת·¢Ðżþ£¬Ò²²»ÖªµÀºóÀ´ÔõÑùÁË£¬ÒòΪÎÒÔçÒѲ»ÓÃËü£¬ÔÚIP overeverthingµÄ½ñÌì......

¹ØÓÚmail list¹¦ÄÜ£¬¿ÉÒÔÓÃsendmailµÄ±ðÃûÀ´×ö£¬»òÕßÓÃרÃŵÄÈí¼þ
href="http://infosite.heha.net/linux/ftp@ftp.greatcircle.com/pub/majordomo/default.htm">majordomo.

µ½Öйú×ÔÓÉÈí¼þ¿â»òÕß
href="http://ftp.swjtu.edu.cn/">swjtu.edu.cnÉÏÈ¥¿ÉÒÔËÑÑ°µ½¡£ËüµÄFAQÓÉ
href="http://www.cis.ohio-state.edu/~barr/default.htm">barrά»¤¡£

ÖÁÓÚWebMail,¿ÉÒÔµ½
href="http://www.perl.com/">http://www.perl.com/ÉÏÕÒÕÒÓÐûÓÐÏֳɵÄCGI.ÏֳɵÄÈí¼þÆäʵҲºÜ¶à

ÈçWeMail,
href="http://www.lugs.ch/lugs/mitglieder/norbert.kuemin/wmf.html">WebMail
Folder,WebMail Module(Roxen),
href="http://www.fetchmail.com/">Fetchmail(Ò²¿ÉÒÔÓ´,ÉÌÒµÐÔµÄ)

href="http://horde.org/imp/default.htm">IMP(IMAP WebMail)ÒÔ¼°
href="http://www.chaotika.net/code/HTMail">HTMail¡£

²Î¿¼±±¾©¾ãÀÖ²¿µÄÎÄÕ£º
href="http://infosite.heha.net/linux/network/html/misc/network-sendmail_cf.html">ÅäÖÃÎļþsendmail.cfµÄ¼òµ¥½âÊÍ¡£

href="http://infosite.heha.net/linux/network/html/misc/network-sendmail-bug.html">¹ØÓÚsendmailÀÏ°æ±¾µÄÒ»¸ö°²È«Â©¶´

href="http://infosite.heha.net/linux/network/html/misc/network-hotmail-bug.html">¹ØÓÚhotmailµÄ°²È«Â©¶´
(×öWebMailÒ»¶¨Òª²Î¿¼Ò»ÏÂ!)

ÂÞÂÞàÂàÂдÁËÒ»¶Ñ£¬Ï£Íû¶ÔÐÂÐÂÊÖÓÐËù°ïÖú£¬ÏÂÃæÊÇһЩÎʴ𼯣º

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#notify">ÈçºÎ½ûÖ¹consoleÏÂÐÂÓʼþµ½´ïÌáʾ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#start">pop3Æô¶¯ÆðÀ´ÁËÂð?

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#account">ÈçºÎ½¨Á¢Ò»¸öÓʼþÕʺţ¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#cannot-send">ΪʲôÄÜÊÕ²»ÄÜ·¢Óʼþ£¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#error-on-get">ΪʲôͻȻ²»ÄÜÊÕÓʼþ£¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#pine">ÅäÖÃpineÈ¥ÊÕpop3Óʼþ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#big">sendmailÈçºÎ¾ÝÊÕ´óµÄÐżþ?

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#about-dns-MX">DNSÀïÏà¹ØÉèÖõÄÎÊÌâ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#MX-firewall">·À»ðǽÄÚÍâÓʼþÍø¹ØµÄÉèÖÃÎÊÌâ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#redundancy">Óʼþ·þÎñÆ÷Ë«±¸·ÝµÄÉèÖÃÎÊÌâ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#multi-domain">sendmailÖ§³Ö¶àÓòÃûÂð£¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#delete-mail">ÈçºÎɾ³ýδ·¢³öµÄÓʼþ£¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#raner-tips">ranerдµÄtips

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#redhat5.1">Redhat
5.1ÎĵµÀïµÄÏà¹Ø²¿·Ö
·¢ÐÅÈË: rudey (huihui), ÐÅÇø: Linux
±ê¡¡Ìâ: Re: [ÇóÖú]ÈçºÎ½ûÖ¹ÐÂÓʼþµ½´ïÌáʾ?
·¢ÐÅÕ¾: BBS
ˮľÇ廪վ (Mon Dec 7 01:00:38 1998)

: ±È½Ï·³ÈË,¿ÉÒÔÈ¥µôÂð?

biff n

> ÎÒ×öÁËLANÖеÄÒ»¸ömail server(red hat 5.0 ,kernel
2.0.1),¿ÉΪºÎÖ»ÄÜÔÚWIN95ÏÂÓÃNETCAPE4.0·¢ÐÅ,
> ¶ø²»ÄÜÊÕÐÅ£¬Ëü³öÏÖ"pop3 server error"
ÐÅÏ¢¡£ÇëÎÊÊÇ·ñÖ»ÐèÅäÖÃ/etc/inetd.conf ºÍ/etc/services
> ÖÐpop3 ·þÎñ£¬»ò»¹ÓбðµÄÅäÖÃ?
ÁíÍâÈçºÎÅжÏÎÒµÄserverÊÇ·ñÌṩpop3·þÎñ£¬ÈôûÓУ¬ÓÖÇëÎÊÈçºÎÅäÖÃ
> £¨ÇëÏêÊö³ÌÐò°²×°ºÍ±àÒë¹ý³Ì£©£¿

µ½/usr/sbinÏ¿´Ò»¿´ÓÐûÓÐipop3d, Èç¹ûûÓеĻ°¾ÍÊÇÄ㰲װʱ͵ÀÁûװ£¬ÖØ×°Ö®¡£

ʵ¼ÊÉÏ£¬°²×°RH5µÄʱºò£¬Ñ¡Ôñ¡°Everything¡±£¬×ܹ²Ò²Ã»¶àÉÙ£¨6XXM+£©ÓÖ¿ìÓÖ·½±ã
£¨ÎÒÖ»ÓÃ9·ÖÖÓ£©£¬¾ö²»»á³öÏÖÄãÕâÖÖÎÊÌâ¡£

Èç¹ûÓеĻ°£¬ÊÔÒ»ÊÔtelnet localhost 110, û·´Ó¦µÄ»°,Ó¦¸ÃÊÇÄãµÄ/etc/inetd.conf
ÓÐÎÊÌâ,
¿´¿´POP-3Ò»ÐÐÇ°ÃæÓÐûÓÐ#

 

×¢£º¼òµ¥µØ£¬ÓÃnetstat -a | grep pop¿´¿´ÓÐûÓÐÏÂÃæµÄÐÅÏ¢£º
tcp 0 0
*:pop-2 *:* LISTEN
tcp
0 0 *:pop
*:* LISTEN

 


> ÄãºÃ£¡ÎÒÏë×öÒ»¸ömailserver,µ«ÔÚ½¨Á¢pop3Óʼþ·þÎñÆ÷ʱ£¬²éµ½ÓÐqpopperÓëpop3d
>
Á½ÖÖ·þÎñ³ÌÐò¿ÉÓ㬺ÃÏóÌý˵qpopper ÄÜÓëwindow clientÏàÁ¬,²»¹ý±¾ÈËÏë±È½Ï¾ßÌå
> Çå³þ¶þÕßÓÐÇø±ð£¬Çë´Í½Ì£¡²»Ê¤¸Ðл

 

ûʲô±¾ÖÊÇø±ð, pop-3ЭÒ鼫Ϊ¼òµ¥,¼¸°ÙÐгÌÐò¶øÒÑ,¸÷ÖÖʵÏÖ¶¼²î²»¶à,·¸²»×ÅΪ´Ë
·ÑÐÄ,¸ßÐ˵Ļ°Äã¿ÉÒÔ×Ô¼ºÐ´Ò»¸ö.

ÏëÖªµÀÇø±ðµÄ»°,¿´¿´ËûÃǵÄÔ´´úÂë²»¾ÍÐÐÁË?ÏëÓúÃLINUX, ûÓÐÕâµãÄÍÐĺͱ¾ÊÂÊDz»

ÐеÄ.²»ÒªÓø÷ÖÖ"ÎÒÊdzõѧÕß...."Ö®ÀàµÄ»°¸ø×Ô¼ºÍÆжÔðÈÎ,"´ÓÀ´¾ÍûÓÐʲô¾ÈÊÀÖ÷,
Ò»Çж¼Òª¿¿ÎÒÃÇ×Ô¼º!"

 

 


¡¾ ÔÚ badi (¶¼ÊÐÒ¹¹éÈË) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ¡¾ ÔÚ cop (cop) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: :
ÔÚÅäÖÃÍêÓʼþϵͳºó,ÇëÎÊÔõÑùʹÓÃ, ÔÚmail to XXXºó³öÏÖsubject, ÌíÈë
: :
ºó,²»ÖªÔõÑù×öÁË.ÁíÍâsendmailºóPOPµÄʹÓó¡ºÏµÄÇø±ð.ÓÃWindows×ö¿Í»§
: : ʱ,ÔõÑùÓÃ?
: 1.mail½áÊøÓÃ"."

: 2.ÐèÒªqpopper,Ëæ±ãÕÒÒ»¸öftpÏÂÀ´.
qpopºÃÏñÊÇÓÃÃ÷ÎÄ×öÉí·ÝÑéÖ¤°É?Ìý˵apop¿ÉÒÔ½â¾öÕâÖÖÎÊÌâ,µ«ÊÇһֱûÓÐÕÒµ½.

×¢£ºÈ¥ÕÒ
href="http://www.serc.rmit.edu.au/~tobbe/epop">epop,°Ñpop3¿Í»§¶ËÓë·þÎñ¶Ë¼ò½àµØ¼¯³Éµ½Ò»¿é£¬Ò²Ö§³ÖapopµÄÃÜÎÄÑéÖ¤¡£

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

> ÎÒÏëÔÚLANÖÐ×öÒ»¸öpop3 mail server(slackware3.4),¿Í»§Îªwin95µÄIE,»òNetscape.
>
1. ÔÚlinuxÉÏÊÔtelnet localhost 110,·´Ó¦Îª¡°+OK,POP3 server ready...¡±
> 2.
ÇëÎÊÊÇ·ñÐèÒª½¨Á¢¿Í»§µÄÓйØÐÅÏ¢£¨Õʺš¢¿ÚÁîµÈµÈ£©£¿ÈçºÎ½¨Á¢£¿
> 3. ÇëÎÊÏÂÒ»²½´ÓºÎÈëÊÖ£¿»ò´ÓÄÇÀï²éÔÄ×ÊÁÏ£¿£¨howtoÖÐËƺõûÓÐpop3
severµÄ˵Ã÷£©¡£

¼òµ¥µØ£¬ÄãÖ»ÒªÔÚÕą̂linux boxÉÏΪÓû§¿ªÒ»¸öÆÕͨµÄÕʺžÍÍòÊ´ó¼ªÁË¡£ÒÔºóÓû§Ê¹
ÓÃͬÑùµÄÕʺźͿÚÁî¾Í¿ÉÒÔͬʱµÇ¼ºÍPOP-3ÊÕÐÅÁË¡£

POP-3Æäʵ¼òµ¥µÄÒ»ËúºýÍ¿£¬²»ÐÅÈ¥¿´¿´Ô´´úÂ룬¼«Îª¼òµ¥¡£
-----
Ò¦·É href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

> ÎÒÏÖÔÚµÄmailÄܹ»½ÓÊÕ£¬µ«²»ÄÜ·¢ËÍ£¬·¢ËÍʱÌáʾ·þÎñÆ÷¾Ü·¢£¬ÕâÊÇÔõô»ØÊ£¬ÉÏ»ØÄÇλ
>
lhÐÖÌù¸øÎÒµÄDNSÒ²²»ÐУ¬¿´¹ýÖ®ºó¸Ð¾õ·Ç³£ÂÒ£¬ºÍͨ¹ýHOWTOµÃµ½µÄ¸ÅÄîºÃÏñÍêÈ«ÊÇÁ½Âë
> ÊÂÒ»Ñù¡£

ÔÚ/etc/mail/name_allowÖмÓÉÏÄãÏëÔÊÐíµÄÓò»òÕß×ÓÓò¾ÍÐÐÁË¡£
ÄÇÊÇ´ÓRedHat 5.0¿ªÊ¼Ôö¼ÓµÄAnti-spam¹¦ÄÜ,

ÉèÖÃÒ»ÏÂ/etc/mailĿ¼¡£
²Î¿¼
href="http://docs.shiuol.com.cn/rhmanual/manual/doc012.html">http://docs.shiuol.com.cn/rhmanual/manual/doc012.html

> My sendmail version is v.8.
> I can both send email in linux box
and mail client of win95. But I can
> receive the pop3 email sent in
linux box only. I don't know why.
> When I telnet localhost 25 and telnet
localhost 110 in linux box, they are
> all OK.
ÄãµÄÒâ˼ÎÒÏëÊÇÕâÑùµÄ£º

 

Äãͨ¹ýlinuxbox×÷Ϊpop3ºÍsmtp·þÎñÆ÷£¬ÈÃËûÈ¥ÊÕ·¢Ðżþ£¬ÄãÔÚÁíÍâһ̨ÎÁ95µÄ»úÆ÷ÉÏÔĶÁ¡£
ÏÖÔÚÄØ£¬Äã×°ÁËRedHat5.1,
·¢ÏÖ²»ÄÜͨ¹ýSMTPת·¢³öÈ¥£¬Ò²²»ÄÜÊÕµ½ISPÉϵÄÓʼþ£¬ÊÇ°É£¿
ÏÖÔÚÎÒ¾ÍÊÇÕâÑùµÄ,ÈÃËûÿÌìÍíÉÏ2:00×Ô¶¯²¦ºÅÊÕ·¢Óʼþ.

Ê×ÏÈ£¬ÄãÒª¶¨Ê±ÔËÐÐfetchmail£¬´ÓÄãµÄISPÄÇÀï°ÑÓʼþÈ¡»ØÀ´£¬´æµ½Õâ¸öLINUXÉÏ£¬¾ßÌåÉèÖã¬
×îºÃ¿´¿´man
fetchmail£¬ºÜÏêϸ£¬ºÜ¼òµ¥¡£

RH5.1È¡ÏûÁËȱʡµÄSMTPת·¢¹¦ÄÜ, ÄãÈç¹ûÒªÓÃ,Çë°ÑÄãµÄÎÁ95»úÆ÷µÄIPµØַдµ½

/etc/mail/ip_allow¼°/etc/mail/relay_allowÁ½¸öÎļþÀï, Ò»¸öIPдһÐÐ.


>>>>>>> problem:

>>>>>>> I configured sendmail.cf and
install pop3. I can send mail
>>>>>>> from Linux
command line with mail command to outside.
>>>>>>> but
we can't send mail from a pc mail to outside.
>>>>>>>
error message :
>>>>>>> The mail server responded:

>>>>>>> <...@.......> We do not relay

>>>>>>> why?

 

>>>>>>
ÓÖÊÇÕâÖÖÀϵĵôÑÀµÄÎÊÌâ¡£°ÑÄãµÄ¿Í»§»úµÄµØַдµ½/etc/mail/ip_allowÀÖØÆô¶¯sendmail.

>>>> Èç¹ûÏëËùÓлúÆ÷¶¼¿ÉÒÔÊÇ¿Í»§»ú£¬ÈçºÎȥд£¿

>>>> °ÑËùÓпͻ§»úµÄµØÖ·¶¼Ìî½øÈ¥£¬Ò»ÐÐдһ¸ö£¬±ÈÈ磺
>>>> xxx.xxx.xxx.1

>>>> xxx.xxx.xxx.2
>>>> xxx.xxx.xxx.3

>>> ×îºÃÄÜÉ趨µØÖ··¶Î§»òÍø¶Î¶¨ÒåÓʼþ¿Í»§»ú¡£ÒòΪ±¾ÈËÒò¹¤×÷¹Øϵ£¬ÕÆ¿Ø
>>>
16¸öCÀàIP£¬Èç¹ûÊÇÒ»ÐÐÒ»¸öipÕâÑùLinuxµÄmail¿Í»§»úÉ趨¾ÍÌ«Âé·³ÁË¡£
>>>
Èç¹ûmail¿Í»§³ö²îÔÚÍ⣬ϣÍûͨ¹ýinternetÔ¶³ÌÈ¡µç×ÓÓʼþ£¬Æä²»ÊÇҪץϹ¡£
>>> ÎÒÏëlinuxµÄmailÉ趨²»»á½ö½öÈç´Ë°É¡£


>> Class C
>> aaa.bbb.ccc
>> class b
>>
aaa.bbb
>> class a
>> aaa
>> --
>> Sida


> ±¾À´RedHat 5.0ÒÔÇ°µÄ°æ±¾Ã»ÕⶫÎ÷,Ö»²»¹ý·¢ÏֺöàÈËÓÃRedHat Linux·¢ËÍÀ¬»øÓʼþ,
> Õâ²Å²»µÃÒѼÓÉϵÄ.
ÄãÍêÈ«¿ÉÒԸĸÄsendmail.cfÈ¥µôÕâЩÏÞÖÆ. ÔÙ˵ÁË, д¸öperl½Å
> ±¾Éú³ÉÕâ¸öÎļþÓÖ²»·ÑÊÂ.

ллҦ·É¼°¸÷λ´óÏÀ¡£My linux mail server is ok now!

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

>>> ¸÷λºÃ£¡
>>>
ÎÒÔÚSlackWare3.4ÉϽ¨Á¢ÁËÒ»¸öÓû§£¬Ö»ÄÜ·¢Óʼþ£¬²»ÄÜÊÕÓʼþ£»¶øÁíÒ»Óû§¾Í¿ÉÒÔ¡£ÁíÓÐÒ»Óû§Ò»Ö±¿ÉÒÔÊÕ·¢Óʼþ£¬Í»È»²»ÄÜÊÕÓʼþ¡££¨ÔÚSlackware3.4ÉÏÕý³££¬ÔÚClient¶Ë[IE]ÀÏÌáʾÃÜÂë´íÎó£¬ÈôÓÊÏäΪ¿Õ£¬ÔòÒ»ÇÐÕý³£¡££©Íû¸÷λ°ï°ïæ¡£

>> °Ñ /var/tmp/.pop/ ÏÂÃæµÄÎļþɾµô¾ÍÐÐÁË¡£

> ÇëÎÊÕ⼸¸öÎļþÊÇÔõÑùÐγɵģ¿
> ls /var/tmp/.pop
> xxx
> yyy
> zzz
when somebody downloading mail by pop3, but have some problem(like: passwd error, lost carrier....).

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK


·¢ÐÅÈË: pear (´óѼÀæ), ÐÅÇø: Linux
±ê Ìâ: ÈçºÎÔÚPineÖÐÊÕÈ¡POP3·þÎñÆ÷ÖеÄÐżþ
·¢ÐÅÕ¾: ¹ãÖÝÍøÒ× BBS
(Mon Nov 23 18:36:13 1998), תÐÅ

ÔÚʹÓÃLinuxµÄ¹ý³ÌÖÐ,ÉÏÍøÊÕÈ¡ÐżþÒ²ÊÇÒ»¼þ¾­³£Òª×öµÄ¹¤×÷.ʹÓÃXwindow+

NetscapeµÄÅóÓÑ¿ÉÄܾÍûÓÐʲôÎÊÌâ.¿ÉÊÇÈÔÓÐЩÈËÔÚʹÓÃ×Ö·û½çÃæ,ËûÃÇÈÔÈ»ÓÃ

Pine×÷ΪÊÕ·¢ÓʼþµÄ¹¤¾ß.PineµÄ³õʼÉèÖÃÊǶÁÈ¡±¾µØ·þÎñÆ÷µÄÓʼþ,ÈçºÎÓÃPine
À´¶ÁÈ¡POP3·þÎñÆ÷ÉϵÄÓʼþÄØ?

·½·¨ÈçÏÂ:ÔÚPineµÄÉèÖÃÎļþ($HOME/.pinerc)ÖмÓÈë
Inbox Path =
{YourPopServer/pop3/user=YourName}INBOX
È»ºóÖØÐÂÆô¶¯Pine¼´¿É.

×¢£ºÔÚpineÀïÖ±½ÓÑ¡setupÅäÖÃÒ²¿ÉÒÔ¡£»¹ÒªÅäÖÃsmtp-serverÈ¥·¢ÐÅ¡£

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

±ê¡¡Ìâ: Re: sendmailÈçºÎ¾ÝÊÕ´óµÄÐżþ?
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Nov 30 17:24:15 1998)

O MaxMessageSize=1000000ÔÚ
/etc/sendmail.cfÖÐ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

> Dear Ladies and Gentlemen,
>> My DNS server and mail
server are installed on the same machine.
>> And the machine name is
just the domain name. Before I installed
>> DNS, the sendmail worked.
But After I installed DNS, I got
>> a error message returned to the
postmaster said:
>> 553 3lab.org. Config error: mail loops back to me
(MX problem?)
>> 554 ... Local configuration
error
>> In the named.hosts, there is a line read 'MX 10 3lab.org.'.

>> '3lab.org' is either my domain name and my host name.
>>
Is anything wrong?

 

> ²»Òª°ÑhostnameºÍdomain name¸ã³ÉÒ»Ñù£¬ÎÒÏëÄãÊÇÏëÈÃÄãµÄÓʼþµØÖ·±ä³É
> xxx@3lab.org
.Õâ²ÅÏ뵱ȻµØ²ÉÓÃÁËÕâô¸ö°ì·¨¡£
> ʵ¼ÊÉÏ£¬ÄãÍêÈ«¿ÉÒÔ¸øÕą̂»úÆ÷ÆðÈκÎÃû×Ö£¬¼ÙÉèÊÇserver.3lab.org ,
>
ÄÇô£¬ÔÚDNSµÄzoneÎļþÀïÉèÖÃ
>
> 3lab.org
IN MX 10 server.3lab.org

>
IN NS
server.3lab.org
>
> @ORIGIN 3lab.org
>
server IN A
a.b.c.d

>
IN CNAME ns

>
IN CNAME mail
>
>
È»ºó£¬ÔÚ/etc/sendmail.cwÀï¼ÓÉÏ3lab.org¾Í¿ÉÒÔÁË¡£
> ¿´À´ÄãÒªºÃºÃѧϰһÏÂDNS ¡£

 

Hello Yao fei,
It was settled. Thank you.
There is no
/etc/sendmail.cw file in my linux.
But I did find a 'Cwlocalhost' item in
the
/etc/sendmail.cf file. So I changed that clause
to 'Cwgtt.me', then
it works.

 


> Another thing that I don't inderstand is the
> differences
between 'Cwxxx' and 'DMxxx'.

 

DmÊÇÖ¸±¾»ú·¢³öµÄEmailÓòµÄµØÖ·¡£
CwÊÇÖ¸±¾»ú½ÓÊÕµÄEmailÓòµÄµØÖ·¡£
--
Sida

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 

>>> ×°ÁËÒ»¸ö Linux Ïë×öemail server,µ«ÊÇÒòΪʹÓ÷À»ðǽ,ÎÒµÄLinuxµÄip²»ÊǺϷ¨ip,

>>> Òò´ËÏë²ÉÓÃmail exchangerÀ´ÊµÏÖÊÕinternet email,ÔÚÉêÇëÓòÃûµÄʱºò¼ÓÁËÒ»¸ö

>>> mail exchangre ,ÒÔÇ°ÔÚѧУÀïµÄʱºòÓÃNT·þÎñÆ÷ÊÕÐųɹ¦¹ý,µ«ÊÇÏÖÔÚÿ´Î·¢ÐŸøÎÒ

>>> µÄLinux ,¶¼»áÊÕµ½mail exchanger µÄÐÅ,¸æËßÎÒhost unknown,Çë½Ì¸÷λ¸ßÊÖÓ¦¸ÃÔõô°ì?

 

>> ÓòÃûMX(mail exchange)ÊÇת»»Óòµ½Ö÷»ú£¬Ö÷»úÒ»¶¨ÒªÊǺϷ¨IP!
>>
¡°ÒÔÇ°ÔÚѧУÀïµÄʱºòÓÃNT·þÎñÆ÷ÊÕÐųɹ¦¹ý¡±¿Ï¶¨²»ÊÇÓÃÕâÖÖ·½·¨¡£
>>
FirewallºóµÄmailÖ÷»ú£¬ÐèÒªÔÚFirewallÉÏÉèÖÃportmap.
>> --
>> Sida

 

> ¿ÉÊǵÄÈ·ÓÐÈËÕâô×öÊÇ¿ÉÒÔµÄ,¶øÎҾͲ»ÖªµÀÔõô×ÜÊDz»³É¹¦..:(ÔÙÇë½ÌÒ»ÏÂ,Õâ¸ö
> portmapÊǸöɶ¶«¶«?Ó¦¸ÃÔõÑùÉèÖÃ?

> ¶àлÁË!

 

ÎÒÏë²»¿ÉÄÜ°É£¬MX¿Ï¶¨²»ÐС£Äã´ó¸ÅÊÇÖ¸µÄmail router£¨ÕÒ²»µ½ºÃ˵·¨ÁË£¬
ÓÃnetscape mail
serverµÄ°É£©¡£¾ÍÊÇÓÐһ̨ºÏ·¨Ö÷»ú£¬Ëü×öÍø¹Ø£¬°ÑMXÖ¸
ÏòËü£¬ËüÔÙ°ÑijЩÓòÃûµÄµÄÐÅת·¢ÄÚ²¿ÍøµÄ»úÆ÷ÉÏ¡£Èça¹«Ë¾ÓÐÒ»ºÏ·¨IP

202.96.238.123, 202.96.238.123Õą̂»úÆ÷ÓÐË«Íø¿¨£¬ÄÚ²¿µØÖ·ÊÇ192.168.2.1,

a.comµÄMXÖ¸Ïò202.96.238.123(ºÏ·¨£©£¬tech.a.comµÄMXÒ²Ö¸Ïò202.96.238.123£¬

µ«ÄÚ²¿tech²¿µÄ¿ÉÓÃ192.168.2.100À´ÊÕÐÅ¡£ÒòΪ202.96.238.123°ÑÐÅת¸øÁË192.168.2.1.

ÎÒ˵µÄºÜ²»Çå³þ£¬²»ÖªÄãÊDz»ÊÇÕâ¸öÒâ˼¡£

 


> I have a big problem. Here is the scenario:
> Our corporate email
system is Microsoft Exchange (NT-based). However, our
> internet gateway,
and also SMTP Relay host, is Linux/sendmail. Our MX
> record points to
the Linux machine (glory.prio.no, 194.19.122.161). When
> sendmail
receives something it doesn't know the address of (say
> ELSE@prio.no),
and who IS a user in Exchange, it bounces the mail.

 

sendmail on linux box is probably setup to accept mail for user@prio.no

If the scenario is like this "there are some users@prio.no who are on

linux and some users@prio.no who are on linux", you can use aliases to

forward the nt users email to forward to NT smtp(I hope) server.

Otherwise, change sendmail.cf so that it doesn't call itself prio.no, only

glory.prio.no

 

To change sendmail.cf, find a line with the text "Cw" at the begininning,

and remove only prio.no from that line leaving "Cw" with anything else or

even blank.

 

> How can I set it up to forward all mail from unknown users to the SMTP

> connector on NTSPRIO2 (ntsprio2.prio.no, 194.19.122.162), which is our

> Exchange server? The Exchange SMTP program already transfers all
outbound
> mail through the Linux box (has it set up as an SMTP relay
host), but, as
> I've pointed out, doesn't want to receive mail because
sendmail is
> incorrectly set up.

 

In your sendmail.mc put these lines :
FEATURE(mailertable, hash
/etc/mail/mailertable)
define(`LUSER_RELAY', ntsprio2.prio.no)dnl

 

And in mailertable

prio.no
esmtp:ntsprio2.prio.no
.prio.no
esmtp:ntsprio2.prio.no

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 

> ´ó¼ÒºÃ£¡
>
>
½üÈÕÅöµ½ÕâÑùÒ»¸öÎÊÌ⣬ÎÒÏë¸øµ¥Î»µÄÓʼþ·þÎñÆ÷hostA£¬Å䱸
> һ̨´ÎÓʼþ·þÎñÆ÷hostB£¬ÒÔ·À±¸hostAÔÚdown»ú»òæµÄʱºòÂäµôÓʼþ£¬

> ÏÖÔÚDNSµÄÉèÖÃÒѾ­ºÃÁË£¬¼ÙÉèÈçÏ£º
>
>
domain.my
in MX 10 hostA.domain.my.

>
in MX 20 hostB.domain.my.
>
>
hostA
in A xxx.xxx.xxx.50
>
hostB
in A xxx.xxx.xxx.51
>
> hostA¡¢hostB¾ù°²×°Ê¹ÓÃµÄ RedHat
5.1+sendmail .
> ÔÚhostA µÄsendmail.cw ÉèÖúÃ, domain.my µÄÓòÃû¡£
>

> ok!ÏÖÔÚ½«hostA ¹ÊÒâµ±µô£¡ÁíÕǪ̀»úÆ÷ hostC À´ÊÔÊÔ£º
> ----------------------

> #:sendmail -v master@domain.my
> test
> test
> .

> master@domain.my... Connecting to hostA.domain.my. Via esmtp...

> master@domain.my... Connecting to hostB.domain.my. Via esmtp...

> ...
> ...
> ...
>
> ¿´À´hostBÊǽÓÊÕÁË´ÎÐÅ£¬µ«ÊÇhostB
²¢Ã»ÓаѴËÐÅÔÙת¸ø hostA.
> hostB ¸æËßÎÒ£º
>
> 553 hostB.domain.my.
Config error: mail loops back to me (MX problem?)
> 554
... Local configuration error
>
> ÎÒ²»Öª
hostB µÄsendmail ¸ÃÈçºÎÅäÖã¬ÄÇλ´óϺ¸øÎÒ½â´ð½â´ð£¬ÏÈлÁË£¡

 

Èç¹ûHOSTB relayÓòÃûdomain.my,²¢ÇÒwÀ಻ÉèÖÃdomain.myµÄ»°,ÅäÖÃÓ¦¸Ãû
ÎÊÌâ,¿ÉÄÜÊÇÆô¶¯sendmailʱÓÃ-q1h,
HOSTBÔÚ1Сʱºó´¦Àíqueue²Åת·¢¸øHOSTA°É.
--
Sida

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


±ê Ìâ: Re: Çó½Ì£¡SendmailÄÜ·ñÖ§³Ö¶àÓòÃû£¿
·¢ÐÅÕ¾: ¹ãÖÝÍøÒ× BBS (Tue Oct 13 08:38:29 1998), תÐÅ

 


¡¾ ÔÚ send (Á÷ÀËè) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ¸÷λ´óϺ£º
: ÄÜ·ñÈÃsendmailÖ§³Ö¶àÓòÃû£¿»ò×ÅÓÐûÓбðµÄ
:
Óʼþ·þÎñÆ÷Èí¼þ¿ÉÒÔ×öµ½£¡
: лл£¡
ÔÚ/etc/sendmail.cf ÖмÓÒ»ÐУºFw/etc/sendmail.cw

È»ºóÔÚ/etcĿ¼ÏÂÉú³ÉÎļþsendmail.cw£¬°ÑËùÓеÄÓòÃûдµ½ÀïÃ棬¾ÍÐÐÁË¡£
µ±È»£¬ÄãÔ¤ÏÈҪΪÄãµÄ»úÆ÷ÉêÇëÕâЩÓòÃû¡£

 

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


> Please , who can say how to remove my mail from the sendmail queue if I

> have send it bu sendmail still has it in its queue and I don't want
that
> mail to be sent.

 

Better than that ... Has an interface to the sendmail daemon been written.

A sendmail administrator and manager. Something that would help the

system adminstrator manage the queue (ie. Send now, rm, etc.) and other

configurable aspects of sendmail outside of sendmail.cf and its

commandline options? I don't think sendmail, mailq, nor newaliases has

that feature.

 

>> if you are root just go to /usr/spoolmqueue and delete the
appropriate
>> file. Otherwise, it'll probably be sent next time
sendmail rolls around.,

 

> But isn't there better way to do it. Because it is hard to quickly

> determine the appropriate file(s) in /var/spool/mqueue.

 

Running mailq to list the messages in the queue will give you a good idea

of the filename to delete.

 

There is no real 'easy' way to find the specific message. You can use
the
mqueue program (a symbolic link to sendmail which is the
equivalent of
sendmail -bp) to find your message. If you have time to
remove just one file
then remove the 'qf' file. The 'df' file holds the
text, but the sendmail
does not attempt to deliver a message which has
a data file but no queue
file.
Of course, the best method is to not send the message in the first
place.
If you are not the root user, then there is no recall function. A
message
sent is sent.

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


·¢ÐÅÈË: raner (±ÏÉèºÃÎÞÁÄѽ!), ÐÅÇø: Linux
±ê Ìâ: ¹ØÓÚsendmailµÄ±ðÃûºÍforward
·¢ÐÅÕ¾:
BBS ˮľÇ廪վ (Sat Apr 11 15:51:29 1998)

 

¶¼ÊÇһЩsendmailµÄСÍæÒâ, ¾­³£ÓÐÈË»áÎÊ, ÕûÀíÒ»ÏÂ

 

(1) ¹ØÓÚÖ±½ÓÓÃIPµØÖ··¢ÐÅ

 

mail user@[166.111.IP.Address]

Ö»ÒªÓÃ[]½«IPµØÖ·À¨ÆðÀ´¾ÍÐÐÁË

 

(2) ¹ØÓÚalias

 

sendmailÔÚ/etcÏÂÓÐÁ½¸öÎļþ aliasesºÍaliases.db,
ºóÕßÊÇÇ°ÕßÓÃnewaliases
Éú³ÉµÄ±ðÃûÊý¾Ý¿â. Äã¿ÉÒÔÊÖ¹¤±à¼­/etc/aliases,
È»ºóÔËÐÐnewaliases¸üÐÂÊý¾Ý
¿â(ÆäʵnewaliasesÊǸöµ½sendmailµÄ
symlink)

 

eg: nickname : user@hotmail.com

alias-name:
real-user-account

 

ÔòÒÔºómail nickname¾Í¿ÉÒÔ½«Ðżĵ½user@hotmail.com´¦

¶ø±ðÈ˼ĸøalias-name@your.domain.nameµÄОͻáת¸øÕæÕýµÄÓû§real-user-account

 

(3) ¹ØÓÚforward

 

ÔÚÄãµÄ$HOMEĿ¼ÏÂÃæ±à¼­Ò»¸ö.forwardÎļþ, ÀïÃæдÉÏÄãÒªforwardµÄÄ¿µÄe-mail

µØÖ·»ò±¾»úµÄÓû§Ãû, ¾Í¿ÉÒÔ×Ô¶¯½«ÐÅ forwardµ½ÏàÓ¦µØÖ·

 

eg: .forward: user@hotmail.com


»ò other-user-account

Ôò¸ø´ËÈ˵Äe-mail»áforwardµ½hotmail»òother-user-account´¦

 

(4) ¹ØÓÚvacation

 

È¥ÕÒÒ»¸övacation°ü(ÈçRedHatµÄcontribÖÐÓÐvacationµÄrpm), ×°ÉϺó¾ÍÒ»¸ö

/usr/bin/vacation³ÌÐòºÍÒ»¸öman.

 

ÏÈÔËÐÐvacation, Ëü»áÈÃÄã±à¼­$HOME/.vacation.msgÎļþ, ¾ÍÊÇÒª·¢»Ø¸ø¶Ô·½

¸æËßËûÄãÏÖÔÚ²»¿´ÐŵĶ«Î÷À². È»ºó±à¼­$HOME/.forwardÎļþ, дÕâÑùÒ»¾ä

\username, "|/usr/bin/vacation username", username
Òª»»»ØÄã×Ô¼ºµÄÁË
È»ºóÔËÐÐvacation -I½¨Á¢$HOME/.vacation.db¾ÍºÃÁË
(¿´¿´man¸üÏêϸ)

 

(5) ¹ØÓÚsendmailµÄһЩÎļþ

 

/var/log/maillog sendmailµÄlog,
·ÖÎö´íÎóÓÐÓÃ
/var/spool/mail/$USER ½øÀ´µÄÐÅ, ÿ¸öÓû§Ò»¸öÎļþ

/var/spool/mqueue mail queue, ¿ÉÒÔÓÃmailq¿´¶ÓÁÐÖдý·¢µÄÐÅ


(mailqÒ²ÊÇ sendmailµÄsymlinkÁË)
dfxxxxxx ÕâÊÇÐŵÄÄÚÈÝ

qfxxxxxx ÕâÊÇÐŵÄsubjectºÍ±ðµÄÐÅÏ¢ (·´ÕýÿÐÅÒ»¸öºÅÁË, Åä¶ÔµÄ)

 


/etc/sendmail.cf sendmailµÄÅäÖÃÎļþ,
¸Ä¶¯Ëü¿ÉҪСÐÄ
/etc/sendmail.cw
¼ÙÈçÄãµÄ»úÆ÷ÓкöàaliasµÄ»°¾Í°ÑÃû×ÖдÔÚ


Õâ¸öÎļþÖÐ, ÕâÑùдÄĸö¶¼ÄÜÊÕµ½ÐÅ

 

-------
raner

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


Õª×Ô<> ¹©ÀÁÈËÃÇÔĶÁ

 

11.5 Sendmail

 

Ò»¸öĬÈϵÄsendmail.cfÎļþ½«±»°²×°ÔÚ/etcÏ¡£¸ÃÅäÖÃÎļþ¿É¹¤×÷ÓÚ½öʹÓÃSMTPµÄÕ¾µã¡£¶ø²»Äܹ¤×÷ÓÚUUCP

Õ¾µã£»Èç¹ûÄúҪʹÓÃUUCP½øÐÐÓʼþ´«Êä¾ÍµÃÖØÐÂÉú³ÉÒ»¸öеÄsendmail.cf¡£ÕâÑùµÄ»°£¬Äú¾ÍÐèÒª°²×°m4ºÍ

sendmailµÄÔ´´úÂë°ü¡£ÇëÄúÔĶÁsendmail Ô´´úÂëÖеÄREADMEÒÔ»ñÈ¡¸üΪÏ꾡µÄ´´½¨snedmailÅäÖÃÎļþµÄ·½
·¨¡£Ò²¿ÉÒÔ¿´
O'Reilly&Associates³ö°æµÄÒ»±¾ÓйØsendmailµÄ²»´íµÄ²Î¿¼Ê飨×÷ÕߣºBryan Costales).

 

Ò»ÖÖ³£ÓõÄsendmailµÄÅäÖÃÓÃһ̨»úÆ÷×÷ΪÍøÂçÖÐËùÓÐÖ÷»úµÄÓʼþÍø¹Ø¡£´ò¸ö±È·½£¬ÔÚºìñ×ÓÈí¼þ¹«Ë¾ÎÒ

ÃÇÓÐһ̨µØַΪmail.redhat.comµÄ»úÆ÷À´´¦ÀíÎÒÃÇËùÓеÄÓʼþ¡£ ÎÒÃÇÖ»Ðè¼òµ¥µÄ½«mail.redhat.comÒª

´¦ÀíÓʼþµÄ»úÆ÷µÄÃû×Ö¼ÓÈë/etc/sendmail.cw¡£ÏÂÃæ ÊǸÃÎļþµÄÒ»¸öÀý×Ó£º

 

# sendmail.cw - include all aliases for your machine

# here.
torgo.redhat.com

poodle.redhat.com
devel.redhat.com

 


ͬÑùÔÚtorgo,poodleºÍdevelµÄÄÇЩ»úÆ÷Öб༭/etc/sendmail.cf£¬Ê¹ÆäÏómail.redhat.com ÄÇÑù·¢ËÍÓÊ

¼þ£¬×ª·¢±¾µØµÄÓʼþ¸øredhat.com¡£ ±à¼­º¬DHºÍDMµÄÄÇЩÐУº

 

# who I send unqualified names to
#
(null means deliver locally)
Drmail.redhat.com

 

# who gets all local email traffic

Dhmail.redhat.com

 

# who I masquerade as (null for no masquerading)

Dmredhat.com

 

ÒÔÕâÖÖÅäÖã¬ËùÓз¢³öµÄÓʼþ¶¼ºÃÏóÊÇ´Óredhat.com·¢³öµÄ£¬¶øÈκη¢Íùtorgo.redhat.com ºÍÆäËü»úÆ÷

µÄÓʼþ¶¼½«·¢Ë͸ømail.redhat.com

 

Çë×¢Ò⣬Èç¹ûÄú½«ÄúµÄϵͳÅäÖÃΪÒÔÁíÒ»»úÆ÷Éí·Ý·¢ËÍÓʼþµÄ»°£¬ÈκÎÒÔ±¾ÏµÍ³ÎªÄ¿µÄµÄÓʼþ¶¼½«±»·¢ËÍ

ÖÁÄÇ̨Ö÷»ú¡£±ÈÈ磬ÓÉcron½ø³Ì¶¨ÆÚ²úÉúµÄ·¢Íøroot@poodle.redhat.com ÈÕÖ¾Îļþ¶¼½«·¢Ë͸ø

root@mail.redhat.com¡£

 


E.10.3 ÎÒÒѾ­Éý¼¶µ½ 5.0 , sendmail ²»ÔÙÏñÒÔÇ°Ò»Ñù´«ËÍÓʼþ .¸Ã×öʲô ?

 

ÓÉÓڶ෽ÃæµÄµç×ÓÓʼþÉÌʹÓÃδ֪µÄ Red Hat ϵͳ·¢ËÍÓʼþºÍһЩÆäËûÎÊÌâ, ÔÚ 5.0 ÖÐ, ÎÒÃǽ«(²»×÷
ΪÓʼþ´«µÝÕß)×÷ΪȱʡѡÏî .

 


Äã¿ÉÒÔ½«ÄãÔÊÐí´«µÝÓʼþµÄϵͳÃû³Æ¼ÓÈëµ½Îļþ
/etc/relay_allow

 

web Õ¾µã
href="http://www.informatik.uni-kiel.de/~ca/email/check.html">http://www.informatik.uni-kiel.de/~ca/email/check.html

½«¸æËßÄã¸ü¶à¹ØÓÚÕâ·½ÃæµÄÐÅÏ¢ .

 

Èç¹ûÄãÏ£ÍûijЩ·¢ËÍÀ¬»øÓʼþµÄÕ¾µã²»ÄÜ·ÃÎʵ½ÄãµÄ¼ÆËã»ú, Äã¿ÉÒÔʹÓà sendmail µÄһЩÐÂÌØÐÔ
¾Ü¾øËûÃǵķÃÎÊ. ½«ÕâЩվµãµÄµØÖ·¼ÓÈëµ½Îļþ
/etc/mail/deny ÖÐ, È»ºóΪËüÉú³ÉÒ»¸öÉ¢Áбí .

 

ÏÂÃæµÄÃüÁî¿ÉÒÔÉú³ÉÕâÖÖÉ¢Áбí .

 

makemap -v hash /etc/mail/deny < /etc/mail/deny ¡¡¡¡Ê×Ïȼòµ¥µÄ½éÉÜÒ»ÏÂÓʼþϵͳ£¬Ö÷ÒªÓÉÁ½²¿·Ö×é³É£ºsmtpЭÒé(¼òµ¥Óʼþ´«ÊäЭÒé)ºÍpop3(ÓʾÖЭÒéversion3)£¬smtpÓÃÓÚÓʼþÔÚÍøÂçÖеĴ«µÝ(mailer),¶øpop´¦Àí¿Í»§¶ËÓʼþµÄ½ÓÊÕ¡£ÓÉÓÚpop3µÄ¾ÖÏÞ£¬½«À´¿Ï¶¨Òª±»imap´úÌ棬imapÓнϺõÄĿ¼·þÎñÄÜÁ¦£¬¿ÉÒÔÔÚÏÂÔØ֮ǰ¿´µ½ÓʼþµÄÖ÷ÒªÐÅÏ¢ÈçÀ´Ô´¡¢±êÌâµÈ£¬»¹¿ÉÒÔÔ¶³Ìɾ³ýÓʼþµÈ£¬µ«Ä¿Ç°ISP»¹²»»áÇáÒ×ÓÃËüÀ´Ìæ»»pop.×¢Òâ²»ÒªÓëIAPµÄPOP¸ã»ìÏýÁË£¬ÄÇ
Êǵ±Ç°½ÓÈëµãµÄÒâ˼(Point OfPresent)¡£Ñ§µÃÔ½¶àÔ½ºýÍ¿:-(
    ×îÔçÔÚLinux´«µÝÓʼþÓõÄÊÇsmtp·þÎñ£¬ÔÚ/etc/inetd.confÀï¿ÉÒÔ¿´µ½ÕâÑùÒ»ÐУº
#smtp stream tcp nowait root /usr/bin/smtpd smtpd
ÏÖÔÚ»ù±¾¶¼ÓÃsendmailÕâÑù¹¦ÄÜÇ¿´óµÄdeamon³ÌÐòÀ´×ö(nntpÒ²ÊÇÈç´Ë)¡£ËùÒÔsendmailÖ»ÊÇÓʼþ´«µÝÕß(mailer),Ëü°ÑÕâ¸öÖ÷»úÉϵÄÓʼþ·¢Ë͵½ÆäËûµØ·½£¬×¢Òâµ½ÅäÖÃDNSʱÓÐÒ»ÏîMX(MaileXchang,ÓʼþÍø¹Ø)£¬Ê¹ÓÃsendmailÔÚÄãµÄÍøÄÚÒªÓÐÒ»¸öDNS·þÎñÆ÷¡£¶ø´¦ÀíÖ÷»úÉÏÔ¶³Ì¿Í»§µÄÓʼþ·þÎñÔòÒªÓÐpop·þÎñ£¬²é¿´inetd.confÓÐÕâô¼¸Ï
pop-2
stream tcp nowait root /usr/sbin/tcpd ipop2d
pop-3 stream tcp nowait
root /usr/sbin/tcpd ipop3d
imap stream tcp nowait root
/usr/sbin/tcpd imap
    Ôٲ鿴/etc/service¾ÍÖªµÀËüÃǶÔÓ¦µÄ¶Ë¿ÚºÅ£¬ÓÃtelnet host-name portÊÔÊÔÄÜ¿´µ½Ê²Ã´£¿LinuxÕâÑùµÄ¶«Î÷ͨ³£ÊÇÓÃÀ´×ö·þÎñµÄ£¬µ±È»ÓкܶàÈË°ÑËüÓÃ×÷¸öÈË×ÀÃæÒ²²»´í£¬µ«ÊÇÐÂÊ־Ͳ»ÖªµÀÈçºÎÈ¥ÊÕËûÃÇÔÚISPµÄÓʼþÁË£¬ÆäʵºÜ¼òµ¥£¬Ö»ÐèҪװ¸öpop/imapµÄ¿Í»§¶ËÈí¼þ¾ÍÐÐÁË£¬netscapeµÄÌ×¼þ¾ÍÊǺܺõÄÑ¡Ôñ£¬KDE´øµÄÓʼþ¿Í»§¶ËÈí¼þÒ²²»´í£¬Ö§³Ö¶àÕʺţ¬¾ÍÊDz»Ö±½ÓÖ§³ÖÖÐÎÄ(ÓÃzhXwin°É)£¬»òÕßÓÃfetchmail°ÑÓʼþ×¥»ØÀ´×ª·¢µ½±¾µØÖ÷»úµÄ¿Í»§£¬ÔÚ±¾µØÖ÷»úÉÏÓÃmail³ÌÐòÀ´¶Á¡£ÎҸоõmail³ÌÐòºÃÏóÊÇÖ±½Ó´¦ÀíÓʼþ¶ÓÁУ¬²»Öª¶Ô²»¶Ô¡£Ê¹ÓÃmail³ÌÐòÎʵÃ×î¶àÎÊÌâÊÇ£¬ÔÚÊäÈëÕýÎÄʱÔõô½áÊø£¿ÁíÆðÒ»ÐÐÊäÈëÒ»¸ö"."¾ÍÐÐÁË£¡

    ÉÏÃæ½²µÄÊÇÏÖÔÚinternetÉϵÄÓʼþϵͳ£¬ÔÚinternet³öÏÖÒÔÇ°µç×ÓÓʼþϵͳ¾ÍÓÐÁË£¬±ÈÈçÔÚuucp/BBSÉÏ£¬»¹ÓÐÆäËüÀàÐ͵ÄÍøÂçÉÏ£¬¾ÍÔÚinternet·¢´ïµÄ½ñÌ죬ÕâÑùµÄÍøÂçϵͳÈÔÈ»ÓëÖ®²¢´æ¡£AOL¡¢Ó®º£Íþ(IHWY)µÄÍøÂçÉϾͲ»ÊDZê×¼µÄInternetµç×ÓÓʼþ¡£

    ÎÒÒÔÇ°¾ÍÉϹýµçОֵĻùÓÚX.25Íø£¨×¼È·µÄ˵Ӧ¸ÃÊÇÖйú¹«Ó÷Ö×é½»»»Êý¾ÝÍøCHINAPAC)µÄµç×ÓÓʼþϵͳ£¬ÓŵãÊÇÕæÕýµÄÕʺÅÂþÓΣ¬È±µãÊÇËÙ¶ÈÌ«Âý£¨ÖÁ¶à9600bps,x.25±¾À´¾Í²»¿ì)£¬ºóÀ´³ÐŵҪ½¨Ò»¸öX.400Íø¹ØÓëInternetÉϵÄÓʼþϵͳת·¢Ðżþ£¬Ò²²»ÖªµÀºóÀ´ÔõÑùÁË£¬ÒòΪÎÒÔçÒѲ»ÓÃËü£¬ÔÚIP overeverthingµÄ½ñÌì......

 

¹ØÓÚmail list¹¦ÄÜ£¬¿ÉÒÔÓÃsendmailµÄ±ðÃûÀ´×ö£¬»òÕßÓÃרÃŵÄÈí¼þ
href="http://infosite.heha.net/linux/ftp@ftp.greatcircle.com/pub/majordomo/default.htm">majordomo.

µ½Öйú×ÔÓÉÈí¼þ¿â»òÕß
href="http://ftp.swjtu.edu.cn/">swjtu.edu.cnÉÏÈ¥¿ÉÒÔËÑÑ°µ½¡£ËüµÄFAQÓÉ
href="http://www.cis.ohio-state.edu/~barr/default.htm">barrά»¤¡£

ÖÁÓÚWebMail,¿ÉÒÔµ½
href="http://www.perl.com/">http://www.perl.com/ÉÏÕÒÕÒÓÐûÓÐÏֳɵÄCGI.ÏֳɵÄÈí¼þÆäʵҲºÜ¶à

ÈçWeMail,
href="http://www.lugs.ch/lugs/mitglieder/norbert.kuemin/wmf.html">WebMail
Folder,WebMail Module(Roxen),
href="http://www.fetchmail.com/">Fetchmail(Ò²¿ÉÒÔÓ´,ÉÌÒµÐÔµÄ)

href="http://horde.org/imp/default.htm">IMP(IMAP WebMail)ÒÔ¼°
href="http://www.chaotika.net/code/HTMail">HTMail¡£

²Î¿¼±±¾©¾ãÀÖ²¿µÄÎÄÕ£º
href="http://infosite.heha.net/linux/network/html/misc/network-sendmail_cf.html">ÅäÖÃÎļþsendmail.cfµÄ¼òµ¥½âÊÍ¡£

href="http://infosite.heha.net/linux/network/html/misc/network-sendmail-bug.html">¹ØÓÚsendmailÀÏ°æ±¾µÄÒ»¸ö°²È«Â©¶´

href="http://infosite.heha.net/linux/network/html/misc/network-hotmail-bug.html">¹ØÓÚhotmailµÄ°²È«Â©¶´
(×öWebMailÒ»¶¨Òª²Î¿¼Ò»ÏÂ!)

ÂÞÂÞàÂàÂдÁËÒ»¶Ñ£¬Ï£Íû¶ÔÐÂÐÂÊÖÓÐËù°ïÖú£¬ÏÂÃæÊÇһЩÎʴ𼯣º

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#notify">ÈçºÎ½ûÖ¹consoleÏÂÐÂÓʼþµ½´ïÌáʾ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#start">pop3Æô¶¯ÆðÀ´ÁËÂð?

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#account">ÈçºÎ½¨Á¢Ò»¸öÓʼþÕʺţ¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#cannot-send">ΪʲôÄÜÊÕ²»ÄÜ·¢Óʼþ£¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#error-on-get">ΪʲôͻȻ²»ÄÜÊÕÓʼþ£¿

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#pine">ÅäÖÃpineÈ¥ÊÕpop3Óʼþ

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#big">sendmailÈçºÎ¾ÝÊÕ´óµÄÐżþ?

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#about-dns-MX">DNSÀïÏà¹ØÉèÖõÄÎÊÌâ

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#MX-firewall">·À»ðǽÄÚÍâÓʼþÍø¹ØµÄÉèÖÃÎÊÌâ

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#redundancy">Óʼþ·þÎñÆ÷Ë«±¸·ÝµÄÉèÖÃÎÊÌâ

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#multi-domain">sendmailÖ§³Ö¶àÓòÃûÂð£¿

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#delete-mail">ÈçºÎɾ³ýδ·¢³öµÄÓʼþ£¿

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#raner-tips">ranerдµÄtips

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#redhat5.1">Redhat
5.1ÎĵµÀïµÄÏà¹Ø²¿·Ö

 

 

 


·¢ÐÅÈË: rudey (huihui), ÐÅÇø: Linux
±ê¡¡Ìâ: Re: [ÇóÖú]ÈçºÎ½ûÖ¹ÐÂÓʼþµ½´ïÌáʾ?
·¢ÐÅÕ¾: BBS
ˮľÇ廪վ (Mon Dec 7 01:00:38 1998)

: ±È½Ï·³ÈË,¿ÉÒÔÈ¥µôÂð?

biff n

 

 

 

> ÎÒ×öÁËLANÖеÄÒ»¸ömail server(red hat 5.0 ,kernel
2.0.1),¿ÉΪºÎÖ»ÄÜÔÚWIN95ÏÂÓÃNETCAPE4.0·¢ÐÅ,
> ¶ø²»ÄÜÊÕÐÅ£¬Ëü³öÏÖ"pop3 server error"
ÐÅÏ¢¡£ÇëÎÊÊÇ·ñÖ»ÐèÅäÖÃ/etc/inetd.conf ºÍ/etc/services
> ÖÐpop3 ·þÎñ£¬»ò»¹ÓбðµÄÅäÖÃ?
ÁíÍâÈçºÎÅжÏÎÒµÄserverÊÇ·ñÌṩpop3·þÎñ£¬ÈôûÓУ¬ÓÖÇëÎÊÈçºÎÅäÖÃ
> £¨ÇëÏêÊö³ÌÐò°²×°ºÍ±àÒë¹ý³Ì£©£¿

 

µ½/usr/sbinÏ¿´Ò»¿´ÓÐûÓÐipop3d, Èç¹ûûÓеĻ°¾ÍÊÇÄ㰲װʱ͵ÀÁûװ£¬ÖØ×°Ö®¡£

ʵ¼ÊÉÏ£¬°²×°RH5µÄʱºò£¬Ñ¡Ôñ¡°Everything¡±£¬×ܹ²Ò²Ã»¶àÉÙ£¨6XXM+£©ÓÖ¿ìÓÖ·½±ã
£¨ÎÒÖ»ÓÃ9·ÖÖÓ£©£¬¾ö²»»á³öÏÖÄãÕâÖÖÎÊÌâ¡£

 

Èç¹ûÓеĻ°£¬ÊÔÒ»ÊÔtelnet localhost 110, û·´Ó¦µÄ»°,Ó¦¸ÃÊÇÄãµÄ/etc/inetd.conf
ÓÐÎÊÌâ,
¿´¿´POP-3Ò»ÐÐÇ°ÃæÓÐûÓÐ#

 

×¢£º¼òµ¥µØ£¬ÓÃnetstat -a | grep pop¿´¿´ÓÐûÓÐÏÂÃæµÄÐÅÏ¢£º
tcp 0 0
*:pop-2 *:* LISTEN
tcp
0 0 *:pop
*:* LISTEN

 


> ÄãºÃ£¡ÎÒÏë×öÒ»¸ömailserver,µ«ÔÚ½¨Á¢pop3Óʼþ·þÎñÆ÷ʱ£¬²éµ½ÓÐqpopperÓëpop3d
>
Á½ÖÖ·þÎñ³ÌÐò¿ÉÓ㬺ÃÏóÌý˵qpopper ÄÜÓëwindow clientÏàÁ¬,²»¹ý±¾ÈËÏë±È½Ï¾ßÌå
> Çå³þ¶þÕßÓÐÇø±ð£¬Çë´Í½Ì£¡²»Ê¤¸Ðл

 

ûʲô±¾ÖÊÇø±ð, pop-3ЭÒ鼫Ϊ¼òµ¥,¼¸°ÙÐгÌÐò¶øÒÑ,¸÷ÖÖʵÏÖ¶¼²î²»¶à,·¸²»×ÅΪ´Ë
·ÑÐÄ,¸ßÐ˵Ļ°Äã¿ÉÒÔ×Ô¼ºÐ´Ò»¸ö.

ÏëÖªµÀÇø±ðµÄ»°,¿´¿´ËûÃǵÄÔ´´úÂë²»¾ÍÐÐÁË?ÏëÓúÃLINUX, ûÓÐÕâµãÄÍÐĺͱ¾ÊÂÊDz»

ÐеÄ.²»ÒªÓø÷ÖÖ"ÎÒÊdzõѧÕß...."Ö®ÀàµÄ»°¸ø×Ô¼ºÍÆжÔðÈÎ,"´ÓÀ´¾ÍûÓÐʲô¾ÈÊÀÖ÷,
Ò»Çж¼Òª¿¿ÎÒÃÇ×Ô¼º!"

 

 


¡¾ ÔÚ badi (¶¼ÊÐÒ¹¹éÈË) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ¡¾ ÔÚ cop (cop) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: :
ÔÚÅäÖÃÍêÓʼþϵͳºó,ÇëÎÊÔõÑùʹÓÃ, ÔÚmail to XXXºó³öÏÖsubject, ÌíÈë
: :
ºó,²»ÖªÔõÑù×öÁË.ÁíÍâsendmailºóPOPµÄʹÓó¡ºÏµÄÇø±ð.ÓÃWindows×ö¿Í»§
: : ʱ,ÔõÑùÓÃ?
: 1.mail½áÊøÓÃ"."

: 2.ÐèÒªqpopper,Ëæ±ãÕÒÒ»¸öftpÏÂÀ´.
qpopºÃÏñÊÇÓÃÃ÷ÎÄ×öÉí·ÝÑéÖ¤°É?Ìý˵apop¿ÉÒÔ½â¾öÕâÖÖÎÊÌâ,µ«ÊÇһֱûÓÐÕÒµ½.

 

×¢£ºÈ¥ÕÒ
href="http://www.serc.rmit.edu.au/~tobbe/epop">epop,°Ñpop3¿Í»§¶ËÓë·þÎñ¶Ë¼ò½àµØ¼¯³Éµ½Ò»¿é£¬Ò²Ö§³ÖapopµÄÃÜÎÄÑéÖ¤¡£

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 

 

> ÎÒÏëÔÚLANÖÐ×öÒ»¸öpop3 mail server(slackware3.4),¿Í»§Îªwin95µÄIE,»òNetscape.
>
1. ÔÚlinuxÉÏÊÔtelnet localhost 110,·´Ó¦Îª¡°+OK,POP3 server ready...¡±
> 2.
ÇëÎÊÊÇ·ñÐèÒª½¨Á¢¿Í»§µÄÓйØÐÅÏ¢£¨Õʺš¢¿ÚÁîµÈµÈ£©£¿ÈçºÎ½¨Á¢£¿
> 3. ÇëÎÊÏÂÒ»²½´ÓºÎÈëÊÖ£¿»ò´ÓÄÇÀï²éÔÄ×ÊÁÏ£¿£¨howtoÖÐËƺõûÓÐpop3
severµÄ˵Ã÷£©¡£

 

¼òµ¥µØ£¬ÄãÖ»ÒªÔÚÕą̂linux boxÉÏΪÓû§¿ªÒ»¸öÆÕͨµÄÕʺžÍÍòÊ´ó¼ªÁË¡£ÒÔºóÓû§Ê¹
ÓÃͬÑùµÄÕʺźͿÚÁî¾Í¿ÉÒÔͬʱµÇ¼ºÍPOP-3ÊÕÐÅÁË¡£

POP-3Æäʵ¼òµ¥µÄÒ»ËúºýÍ¿£¬²»ÐÅÈ¥¿´¿´Ô´´úÂ룬¼«Îª¼òµ¥¡£
-----
Ò¦·É

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


> ÎÒÏÖÔÚµÄmailÄܹ»½ÓÊÕ£¬µ«²»ÄÜ·¢ËÍ£¬·¢ËÍʱÌáʾ·þÎñÆ÷¾Ü·¢£¬ÕâÊÇÔõô»ØÊ£¬ÉÏ»ØÄÇλ
>
lhÐÖÌù¸øÎÒµÄDNSÒ²²»ÐУ¬¿´¹ýÖ®ºó¸Ð¾õ·Ç³£ÂÒ£¬ºÍͨ¹ýHOWTOµÃµ½µÄ¸ÅÄîºÃÏñÍêÈ«ÊÇÁ½Âë
> ÊÂÒ»Ñù¡£

 

ÔÚ/etc/mail/name_allowÖмÓÉÏÄãÏëÔÊÐíµÄÓò»òÕß×ÓÓò¾ÍÐÐÁË¡£
ÄÇÊÇ´ÓRedHat 5.0¿ªÊ¼Ôö¼ÓµÄAnti-spam¹¦ÄÜ,

ÉèÖÃÒ»ÏÂ/etc/mailĿ¼¡£
²Î¿¼
href="http://docs.shiuol.com.cn/rhmanual/manual/doc012.html">http://docs.shiuol.com.cn/rhmanual/manual/doc012.html

 

 

> My sendmail version is v.8.
> I can both send email in linux box
and mail client of win95. But I can
> receive the pop3 email sent in
linux box only. I don't know why.
> When I telnet localhost 25 and telnet
localhost 110 in linux box, they are
> all OK.
ÄãµÄÒâ˼ÎÒÏëÊÇÕâÑùµÄ£º

 

Äãͨ¹ýlinuxbox×÷Ϊpop3ºÍsmtp·þÎñÆ÷£¬ÈÃËûÈ¥ÊÕ·¢Ðżþ£¬ÄãÔÚÁíÍâһ̨ÎÁ95µÄ»úÆ÷ÉÏÔĶÁ¡£
ÏÖÔÚÄØ£¬Äã×°ÁËRedHat5.1,
·¢ÏÖ²»ÄÜͨ¹ýSMTPת·¢³öÈ¥£¬Ò²²»ÄÜÊÕµ½ISPÉϵÄÓʼþ£¬ÊÇ°É£¿
ÏÖÔÚÎÒ¾ÍÊÇÕâÑùµÄ,ÈÃËûÿÌìÍíÉÏ2:00×Ô¶¯²¦ºÅÊÕ·¢Óʼþ.

 

Ê×ÏÈ£¬ÄãÒª¶¨Ê±ÔËÐÐfetchmail£¬´ÓÄãµÄISPÄÇÀï°ÑÓʼþÈ¡»ØÀ´£¬´æµ½Õâ¸öLINUXÉÏ£¬¾ßÌåÉèÖã¬
×îºÃ¿´¿´man
fetchmail£¬ºÜÏêϸ£¬ºÜ¼òµ¥¡£

 

RH5.1È¡ÏûÁËȱʡµÄSMTPת·¢¹¦ÄÜ, ÄãÈç¹ûÒªÓÃ,Çë°ÑÄãµÄÎÁ95»úÆ÷µÄIPµØַдµ½

/etc/mail/ip_allow¼°/etc/mail/relay_allowÁ½¸öÎļþÀï, Ò»¸öIPдһÐÐ.

 

 


>>>>>>> problem:

>>>>>>> I configured sendmail.cf and
install pop3. I can send mail
>>>>>>> from Linux
command line with mail command to outside.
>>>>>>> but
we can't send mail from a pc mail to outside.
>>>>>>>
error message :
>>>>>>> The mail server responded:

>>>>>>> <...@.......> We do not relay

>>>>>>> why?

 

>>>>>>
ÓÖÊÇÕâÖÖÀϵĵôÑÀµÄÎÊÌâ¡£°ÑÄãµÄ¿Í»§»úµÄµØַдµ½/etc/mail/ip_allowÀÖØÆô¶¯sendmail.

 

>>>>> Èç¹ûÏëËùÓлúÆ÷¶¼¿ÉÒÔÊÇ¿Í»§»ú£¬ÈçºÎȥд£¿

 

>>>> °ÑËùÓпͻ§»úµÄµØÖ·¶¼Ìî½øÈ¥£¬Ò»ÐÐдһ¸ö£¬±ÈÈ磺
>>>> xxx.xxx.xxx.1

>>>> xxx.xxx.xxx.2
>>>> xxx.xxx.xxx.3

 

>>> ×îºÃÄÜÉ趨µØÖ··¶Î§»òÍø¶Î¶¨ÒåÓʼþ¿Í»§»ú¡£ÒòΪ±¾ÈËÒò¹¤×÷¹Øϵ£¬ÕÆ¿Ø
>>>
16¸öCÀàIP£¬Èç¹ûÊÇÒ»ÐÐÒ»¸öipÕâÑùLinuxµÄmail¿Í»§»úÉ趨¾ÍÌ«Âé·³ÁË¡£
>>>
Èç¹ûmail¿Í»§³ö²îÔÚÍ⣬ϣÍûͨ¹ýinternetÔ¶³ÌÈ¡µç×ÓÓʼþ£¬Æä²»ÊÇҪץϹ¡£
>>> ÎÒÏëlinuxµÄmailÉ趨²»»á½ö½öÈç´Ë°É¡£

 


>> Class C
>> aaa.bbb.ccc
>> class b
>>
aaa.bbb
>> class a
>> aaa
>> --
>> Sida

 


> ±¾À´RedHat 5.0ÒÔÇ°µÄ°æ±¾Ã»ÕⶫÎ÷,Ö»²»¹ý·¢ÏֺöàÈËÓÃRedHat Linux·¢ËÍÀ¬»øÓʼþ,
> Õâ²Å²»µÃÒѼÓÉϵÄ.
ÄãÍêÈ«¿ÉÒԸĸÄsendmail.cfÈ¥µôÕâЩÏÞÖÆ. ÔÙ˵ÁË, д¸öperl½Å
> ±¾Éú³ÉÕâ¸öÎļþÓÖ²»·ÑÊÂ.

 

ллҦ·É¼°¸÷λ´óÏÀ¡£My linux mail server is ok now!

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 

>>> ¸÷λºÃ£¡
>>>
ÎÒÔÚSlackWare3.4ÉϽ¨Á¢ÁËÒ»¸öÓû§£¬Ö»ÄÜ·¢Óʼþ£¬²»ÄÜÊÕÓʼþ£»¶øÁíÒ»Óû§¾Í¿É
>>>
ÒÔ¡£ÁíÓÐÒ»Óû§Ò»Ö±¿ÉÒÔÊÕ·¢Óʼþ£¬Í»È»²»ÄÜÊÕÓʼþ¡££¨ÔÚSlackware3.4ÉÏÕý³££¬ÔÚ
>>>
Client¶Ë[IE]ÀÏÌáʾÃÜÂë´íÎó£¬ÈôÓÊÏäΪ¿Õ£¬ÔòÒ»ÇÐÕý³£¡££©Íû¸÷λ°ï°ïæ¡£

 

>> °Ñ /var/tmp/.pop/ ÏÂÃæµÄÎļþɾµô¾ÍÐÐÁË¡£

 

> ÇëÎÊÕ⼸¸öÎļþÊÇÔõÑùÐγɵģ¿
> ls /var/tmp/.pop
> xxx
> yyy

> zzz

 

when somebody downloading mail by pop3, but have some problem(like:

passwd error, lost carrier....).

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


·¢ÐÅÈË: pear (´óѼÀæ), ÐÅÇø: Linux
±ê Ìâ: ÈçºÎÔÚPineÖÐÊÕÈ¡POP3·þÎñÆ÷ÖеÄÐżþ
·¢ÐÅÕ¾: ¹ãÖÝÍøÒ× BBS
(Mon Nov 23 18:36:13 1998), תÐÅ

 

ÔÚʹÓÃLinuxµÄ¹ý³ÌÖÐ,ÉÏÍøÊÕÈ¡ÐżþÒ²ÊÇÒ»¼þ¾­³£Òª×öµÄ¹¤×÷.ʹÓÃXwindow+

NetscapeµÄÅóÓÑ¿ÉÄܾÍûÓÐʲôÎÊÌâ.¿ÉÊÇÈÔÓÐЩÈËÔÚʹÓÃ×Ö·û½çÃæ,ËûÃÇÈÔÈ»ÓÃ

Pine×÷ΪÊÕ·¢ÓʼþµÄ¹¤¾ß.PineµÄ³õʼÉèÖÃÊǶÁÈ¡±¾µØ·þÎñÆ÷µÄÓʼþ,ÈçºÎÓÃPine
À´¶ÁÈ¡POP3·þÎñÆ÷ÉϵÄÓʼþÄØ?

·½·¨ÈçÏÂ:ÔÚPineµÄÉèÖÃÎļþ($HOME/.pinerc)ÖмÓÈë
Inbox Path =
{YourPopServer/pop3/user=YourName}INBOX
È»ºóÖØÐÂÆô¶¯Pine¼´¿É.

×¢£ºÔÚpineÀïÖ±½ÓÑ¡setupÅäÖÃÒ²¿ÉÒÔ¡£»¹ÒªÅäÖÃsmtp-serverÈ¥·¢ÐÅ¡£

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 

±ê¡¡Ìâ: Re: sendmailÈçºÎ¾ÝÊÕ´óµÄÐżþ?
·¢ÐÅÕ¾: BBS ˮľÇ廪վ (Mon Nov 30 17:24:15 1998)

 

O MaxMessageSize=1000000ÔÚ
/etc/sendmail.cfÖÐ

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


>> Dear Ladies and Gentlemen,
>> My DNS server and mail
server are installed on the same machine.
>> And the machine name is
just the domain name. Before I installed
>> DNS, the sendmail worked.
But After I installed DNS, I got
>> a error message returned to the
postmaster said:
>> 553 3lab.org. Config error: mail loops back to me
(MX problem?)
>> 554 ... Local configuration
error
>> In the named.hosts, there is a line read 'MX 10 3lab.org.'.

>> '3lab.org' is either my domain name and my host name.
>>
Is anything wrong?

 

> ²»Òª°ÑhostnameºÍdomain name¸ã³ÉÒ»Ñù£¬ÎÒÏëÄãÊÇÏëÈÃÄãµÄÓʼþµØÖ·±ä³É
> xxx@3lab.org
.Õâ²ÅÏ뵱ȻµØ²ÉÓÃÁËÕâô¸ö°ì·¨¡£
> ʵ¼ÊÉÏ£¬ÄãÍêÈ«¿ÉÒÔ¸øÕą̂»úÆ÷ÆðÈκÎÃû×Ö£¬¼ÙÉèÊÇserver.3lab.org ,
>
ÄÇô£¬ÔÚDNSµÄzoneÎļþÀïÉèÖÃ
>
> 3lab.org
IN MX 10 server.3lab.org

>
IN NS
server.3lab.org
>
> @ORIGIN 3lab.org
>
server IN A
a.b.c.d

>
IN CNAME ns

>
IN CNAME mail
>
>
È»ºó£¬ÔÚ/etc/sendmail.cwÀï¼ÓÉÏ3lab.org¾Í¿ÉÒÔÁË¡£
> ¿´À´ÄãÒªºÃºÃѧϰһÏÂDNS ¡£

 

Hello Yao fei,
It was settled. Thank you.
There is no
/etc/sendmail.cw file in my linux.
But I did find a 'Cwlocalhost' item in
the
/etc/sendmail.cf file. So I changed that clause
to 'Cwgtt.me', then
it works.

 


> Another thing that I don't inderstand is the
> differences
between 'Cwxxx' and 'DMxxx'.

 

DmÊÇÖ¸±¾»ú·¢³öµÄEmailÓòµÄµØÖ·¡£
CwÊÇÖ¸±¾»ú½ÓÊÕµÄEmailÓòµÄµØÖ·¡£
--
Sida

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 

>>> ×°ÁËÒ»¸ö Linux Ïë×öemail server,µ«ÊÇÒòΪʹÓ÷À»ðǽ,ÎÒµÄLinuxµÄip²»ÊǺϷ¨ip,

>>> Òò´ËÏë²ÉÓÃmail exchangerÀ´ÊµÏÖÊÕinternet email,ÔÚÉêÇëÓòÃûµÄʱºò¼ÓÁËÒ»¸ö

>>> mail exchangre ,ÒÔÇ°ÔÚѧУÀïµÄʱºòÓÃNT·þÎñÆ÷ÊÕÐųɹ¦¹ý,µ«ÊÇÏÖÔÚÿ´Î·¢ÐŸøÎÒ

>>> µÄLinux ,¶¼»áÊÕµ½mail exchanger µÄÐÅ,¸æËßÎÒhost unknown,Çë½Ì¸÷λ¸ßÊÖÓ¦¸ÃÔõô°ì?

 

>> ÓòÃûMX(mail exchange)ÊÇת»»Óòµ½Ö÷»ú£¬Ö÷»úÒ»¶¨ÒªÊǺϷ¨IP!
>>
¡°ÒÔÇ°ÔÚѧУÀïµÄʱºòÓÃNT·þÎñÆ÷ÊÕÐųɹ¦¹ý¡±¿Ï¶¨²»ÊÇÓÃÕâÖÖ·½·¨¡£
>>
FirewallºóµÄmailÖ÷»ú£¬ÐèÒªÔÚFirewallÉÏÉèÖÃportmap.
>> --
>> Sida

 

> ¿ÉÊǵÄÈ·ÓÐÈËÕâô×öÊÇ¿ÉÒÔµÄ,¶øÎҾͲ»ÖªµÀÔõô×ÜÊDz»³É¹¦..:(ÔÙÇë½ÌÒ»ÏÂ,Õâ¸ö
> portmapÊǸöɶ¶«¶«?Ó¦¸ÃÔõÑùÉèÖÃ?

> ¶àлÁË!

 

ÎÒÏë²»¿ÉÄÜ°É£¬MX¿Ï¶¨²»ÐС£Äã´ó¸ÅÊÇÖ¸µÄmail router£¨ÕÒ²»µ½ºÃ˵·¨ÁË£¬
ÓÃnetscape mail
serverµÄ°É£©¡£¾ÍÊÇÓÐһ̨ºÏ·¨Ö÷»ú£¬Ëü×öÍø¹Ø£¬°ÑMXÖ¸
ÏòËü£¬ËüÔÙ°ÑijЩÓòÃûµÄµÄÐÅת·¢ÄÚ²¿ÍøµÄ»úÆ÷ÉÏ¡£Èça¹«Ë¾ÓÐÒ»ºÏ·¨IP

202.96.238.123, 202.96.238.123Õą̂»úÆ÷ÓÐË«Íø¿¨£¬ÄÚ²¿µØÖ·ÊÇ192.168.2.1,

a.comµÄMXÖ¸Ïò202.96.238.123(ºÏ·¨£©£¬tech.a.comµÄMXÒ²Ö¸Ïò202.96.238.123£¬

µ«ÄÚ²¿tech²¿µÄ¿ÉÓÃ192.168.2.100À´ÊÕÐÅ¡£ÒòΪ202.96.238.123°ÑÐÅת¸øÁË192.168.2.1.

ÎÒ˵µÄºÜ²»Çå³þ£¬²»ÖªÄãÊDz»ÊÇÕâ¸öÒâ˼¡£

 


> I have a big problem. Here is the scenario:
> Our corporate email
system is Microsoft Exchange (NT-based). However, our
> internet gateway,
and also SMTP Relay host, is Linux/sendmail. Our MX
> record points to
the Linux machine (glory.prio.no, 194.19.122.161). When
> sendmail
receives something it doesn't know the address of (say
> ELSE@prio.no),
and who IS a user in Exchange, it bounces the mail.

 

sendmail on linux box is probably setup to accept mail for user@prio.no

If the scenario is like this "there are some users@prio.no who are on

linux and some users@prio.no who are on linux", you can use aliases to

forward the nt users email to forward to NT smtp(I hope) server.

Otherwise, change sendmail.cf so that it doesn't call itself prio.no, only

glory.prio.no

 

To change sendmail.cf, find a line with the text "Cw" at the begininning,

and remove only prio.no from that line leaving "Cw" with anything else or

even blank.

 

> How can I set it up to forward all mail from unknown users to the SMTP

> connector on NTSPRIO2 (ntsprio2.prio.no, 194.19.122.162), which is our

> Exchange server? The Exchange SMTP program already transfers all
outbound
> mail through the Linux box (has it set up as an SMTP relay
host), but, as
> I've pointed out, doesn't want to receive mail because
sendmail is
> incorrectly set up.

 

In your sendmail.mc put these lines :
FEATURE(mailertable, hash
/etc/mail/mailertable)
define(`LUSER_RELAY', ntsprio2.prio.no)dnl

 

And in mailertable

prio.no
esmtp:ntsprio2.prio.no
.prio.no
esmtp:ntsprio2.prio.no

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 

> ´ó¼ÒºÃ£¡
>
>
½üÈÕÅöµ½ÕâÑùÒ»¸öÎÊÌ⣬ÎÒÏë¸øµ¥Î»µÄÓʼþ·þÎñÆ÷hostA£¬Å䱸
> һ̨´ÎÓʼþ·þÎñÆ÷hostB£¬ÒÔ·À±¸hostAÔÚdown»ú»òæµÄʱºòÂäµôÓʼþ£¬

> ÏÖÔÚDNSµÄÉèÖÃÒѾ­ºÃÁË£¬¼ÙÉèÈçÏ£º
>
>
domain.my
in MX 10 hostA.domain.my.

>
in MX 20 hostB.domain.my.
>
>
hostA
in A xxx.xxx.xxx.50
>
hostB
in A xxx.xxx.xxx.51
>
> hostA¡¢hostB¾ù°²×°Ê¹ÓÃµÄ RedHat
5.1+sendmail .
> ÔÚhostA µÄsendmail.cw ÉèÖúÃ, domain.my µÄÓòÃû¡£
>

> ok!ÏÖÔÚ½«hostA ¹ÊÒâµ±µô£¡ÁíÕǪ̀»úÆ÷ hostC À´ÊÔÊÔ£º
> ----------------------

> #:sendmail -v master@domain.my
> test
> test
> .

> master@domain.my... Connecting to hostA.domain.my. Via esmtp...

> master@domain.my... Connecting to hostB.domain.my. Via esmtp...

> ...
> ...
> ...
>
> ¿´À´hostBÊǽÓÊÕÁË´ÎÐÅ£¬µ«ÊÇhostB
²¢Ã»ÓаѴËÐÅÔÙת¸ø hostA.
> hostB ¸æËßÎÒ£º
>
> 553 hostB.domain.my.
Config error: mail loops back to me (MX problem?)
> 554
... Local configuration error
>
> ÎÒ²»Öª
hostB µÄsendmail ¸ÃÈçºÎÅäÖã¬ÄÇλ´óϺ¸øÎÒ½â´ð½â´ð£¬ÏÈлÁË£¡

 

Èç¹ûHOSTB relayÓòÃûdomain.my,²¢ÇÒwÀ಻ÉèÖÃdomain.myµÄ»°,ÅäÖÃÓ¦¸Ãû
ÎÊÌâ,¿ÉÄÜÊÇÆô¶¯sendmailʱÓÃ-q1h,
HOSTBÔÚ1Сʱºó´¦Àíqueue²Åת·¢¸øHOSTA°É.
--
Sida

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


±ê Ìâ: Re: Çó½Ì£¡SendmailÄÜ·ñÖ§³Ö¶àÓòÃû£¿
·¢ÐÅÕ¾: ¹ãÖÝÍøÒ× BBS (Tue Oct 13 08:38:29 1998), תÐÅ

 


¡¾ ÔÚ send (Á÷ÀËè) µÄ´ó×÷ÖÐÌáµ½: ¡¿
: ¸÷λ´óϺ£º
: ÄÜ·ñÈÃsendmailÖ§³Ö¶àÓòÃû£¿»ò×ÅÓÐûÓбðµÄ
:
Óʼþ·þÎñÆ÷Èí¼þ¿ÉÒÔ×öµ½£¡
: лл£¡
ÔÚ/etc/sendmail.cf ÖмÓÒ»ÐУºFw/etc/sendmail.cw

È»ºóÔÚ/etcĿ¼ÏÂÉú³ÉÎļþsendmail.cw£¬°ÑËùÓеÄÓòÃûдµ½ÀïÃ棬¾ÍÐÐÁË¡£
µ±È»£¬ÄãÔ¤ÏÈҪΪÄãµÄ»úÆ÷ÉêÇëÕâЩÓòÃû¡£

 

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


> Please , who can say how to remove my mail from the sendmail queue if I

> have send it bu sendmail still has it in its queue and I don't want
that
> mail to be sent.

 

Better than that ... Has an interface to the sendmail daemon been written.

A sendmail administrator and manager. Something that would help the

system adminstrator manage the queue (ie. Send now, rm, etc.) and other

configurable aspects of sendmail outside of sendmail.cf and its

commandline options? I don't think sendmail, mailq, nor newaliases has

that feature.

 

>> if you are root just go to /usr/spoolmqueue and delete the
appropriate
>> file. Otherwise, it'll probably be sent next time
sendmail rolls around.,

 

> But isn't there better way to do it. Because it is hard to quickly

> determine the appropriate file(s) in /var/spool/mqueue.

 

Running mailq to list the messages in the queue will give you a good idea

of the filename to delete.

 

There is no real 'easy' way to find the specific message. You can use
the
mqueue program (a symbolic link to sendmail which is the
equivalent of
sendmail -bp) to find your message. If you have time to
remove just one file
then remove the 'qf' file. The 'df' file holds the
text, but the sendmail
does not attempt to deliver a message which has
a data file but no queue
file.
Of course, the best method is to not send the message in the first
place.
If you are not the root user, then there is no recall function. A
message
sent is sent.

 


href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


·¢ÐÅÈË: raner (±ÏÉèºÃÎÞÁÄѽ!), ÐÅÇø: Linux
±ê Ìâ: ¹ØÓÚsendmailµÄ±ðÃûºÍforward
·¢ÐÅÕ¾:
BBS ˮľÇ廪վ (Sat Apr 11 15:51:29 1998)

 

¶¼ÊÇһЩsendmailµÄСÍæÒâ, ¾­³£ÓÐÈË»áÎÊ, ÕûÀíÒ»ÏÂ

 

(1) ¹ØÓÚÖ±½ÓÓÃIPµØÖ··¢ÐÅ

 

mail user@[166.111.IP.Address]

Ö»ÒªÓÃ[]½«IPµØÖ·À¨ÆðÀ´¾ÍÐÐÁË

 

(2) ¹ØÓÚalias

 

sendmailÔÚ/etcÏÂÓÐÁ½¸öÎļþ aliasesºÍaliases.db,
ºóÕßÊÇÇ°ÕßÓÃnewaliases
Éú³ÉµÄ±ðÃûÊý¾Ý¿â. Äã¿ÉÒÔÊÖ¹¤±à¼­/etc/aliases,
È»ºóÔËÐÐnewaliases¸üÐÂÊý¾Ý
¿â(ÆäʵnewaliasesÊǸöµ½sendmailµÄ
symlink)

 

eg: nickname : user@hotmail.com

alias-name:
real-user-account

 

ÔòÒÔºómail nickname¾Í¿ÉÒÔ½«Ðżĵ½user@hotmail.com´¦

¶ø±ðÈ˼ĸøalias-name@your.domain.nameµÄОͻáת¸øÕæÕýµÄÓû§real-user-account

 

(3) ¹ØÓÚforward

 

ÔÚÄãµÄ$HOMEĿ¼ÏÂÃæ±à¼­Ò»¸ö.forwardÎļþ, ÀïÃæдÉÏÄãÒªforwardµÄÄ¿µÄe-mail

µØÖ·»ò±¾»úµÄÓû§Ãû, ¾Í¿ÉÒÔ×Ô¶¯½«ÐÅ forwardµ½ÏàÓ¦µØÖ·

 

eg: .forward: user@hotmail.com


»ò other-user-account

Ôò¸ø´ËÈ˵Äe-mail»áforwardµ½hotmail»òother-user-account´¦

 

(4) ¹ØÓÚvacation

 

È¥ÕÒÒ»¸övacation°ü(ÈçRedHatµÄcontribÖÐÓÐvacationµÄrpm), ×°ÉϺó¾ÍÒ»¸ö

/usr/bin/vacation³ÌÐòºÍÒ»¸öman.

 

ÏÈÔËÐÐvacation, Ëü»áÈÃÄã±à¼­$HOME/.vacation.msgÎļþ, ¾ÍÊÇÒª·¢»Ø¸ø¶Ô·½

¸æËßËûÄãÏÖÔÚ²»¿´ÐŵĶ«Î÷À². È»ºó±à¼­$HOME/.forwardÎļþ, дÕâÑùÒ»¾ä

\username, "|/usr/bin/vacation username", username
Òª»»»ØÄã×Ô¼ºµÄÁË
È»ºóÔËÐÐvacation -I½¨Á¢$HOME/.vacation.db¾ÍºÃÁË
(¿´¿´man¸üÏêϸ)

 

(5) ¹ØÓÚsendmailµÄһЩÎļþ

 

/var/log/maillog sendmailµÄlog,
·ÖÎö´íÎóÓÐÓÃ
/var/spool/mail/$USER ½øÀ´µÄÐÅ, ÿ¸öÓû§Ò»¸öÎļþ

/var/spool/mqueue mail queue, ¿ÉÒÔÓÃmailq¿´¶ÓÁÐÖдý·¢µÄÐÅ


(mailqÒ²ÊÇ sendmailµÄsymlinkÁË)
dfxxxxxx ÕâÊÇÐŵÄÄÚÈÝ

qfxxxxxx ÕâÊÇÐŵÄsubjectºÍ±ðµÄÐÅÏ¢ (·´ÕýÿÐÅÒ»¸öºÅÁË, Åä¶ÔµÄ)

 


/etc/sendmail.cf sendmailµÄÅäÖÃÎļþ,
¸Ä¶¯Ëü¿ÉҪСÐÄ
/etc/sendmail.cw
¼ÙÈçÄãµÄ»úÆ÷ÓкöàaliasµÄ»°¾Í°ÑÃû×ÖдÔÚ


Õâ¸öÎļþÖÐ, ÕâÑùдÄĸö¶¼ÄÜÊÕµ½ÐÅ

 

-------
raner

 

 

href="http://infosite.heha.net/linux/network/html/misc/sendmailabout.html#head">BACK

 

 

 


Õª×Ô<> ¹©ÀÁÈËÃÇÔĶÁ

 

11.5 Sendmail

 

Ò»¸öĬÈϵÄsendmail.cfÎļþ½«±»°²×°ÔÚ/etcÏ¡£¸ÃÅäÖÃÎļþ¿É¹¤×÷ÓÚ½öʹÓÃSMTPµÄÕ¾µã¡£¶ø²»Äܹ¤×÷ÓÚUUCP

Õ¾µã£»Èç¹ûÄúҪʹÓÃUUCP½øÐÐÓʼþ´«Êä¾ÍµÃÖØÐÂÉú³ÉÒ»¸öеÄsendmail.cf¡£ÕâÑùµÄ»°£¬Äú¾ÍÐèÒª°²×°m4ºÍ

sendmailµÄÔ´´úÂë°ü¡£ÇëÄúÔĶÁsendmail Ô´´úÂëÖеÄREADMEÒÔ»ñÈ¡¸üΪÏ꾡µÄ´´½¨snedmailÅäÖÃÎļþµÄ·½
·¨¡£Ò²¿ÉÒÔ¿´
O'Reilly&Associates³ö°æµÄÒ»±¾ÓйØsendmailµÄ²»´íµÄ²Î¿¼Ê飨×÷ÕߣºBryan Costales).

 

Ò»ÖÖ³£ÓõÄsendmailµÄÅäÖÃÓÃһ̨»úÆ÷×÷ΪÍøÂçÖÐËùÓÐÖ÷»úµÄÓʼþÍø¹Ø¡£´ò¸ö±È·½£¬ÔÚºìñ×ÓÈí¼þ¹«Ë¾ÎÒ

ÃÇÓÐһ̨µØַΪmail.redhat.comµÄ»úÆ÷À´´¦ÀíÎÒÃÇËùÓеÄÓʼþ¡£ ÎÒÃÇÖ»Ðè¼òµ¥µÄ½«mail.redhat.comÒª

´¦ÀíÓʼþµÄ»úÆ÷µÄÃû×Ö¼ÓÈë/etc/sendmail.cw¡£ÏÂÃæ ÊǸÃÎļþµÄÒ»¸öÀý×Ó£º

 

# sendmail.cw - include all aliases for your machine

# here.
torgo.redhat.com

poodle.redhat.com
devel.redhat.com

 


ͬÑùÔÚtorgo,poodleºÍdevelµÄÄÇЩ»úÆ÷Öб༭/etc/sendmail.cf£¬Ê¹ÆäÏómail.redhat.com ÄÇÑù·¢ËÍÓÊ

¼þ£¬×ª·¢±¾µØµÄÓʼþ¸øredhat.com¡£ ±à¼­º¬DHºÍDMµÄÄÇЩÐУº

 

# who I send unqualified names to
#
(null means deliver locally)
Drmail.redhat.com

 

# who gets all local email traffic

Dhmail.redhat.com

 

# who I masquerade as (null for no masquerading)

Dmredhat.com

 

ÒÔÕâÖÖÅäÖã¬ËùÓз¢³öµÄÓʼþ¶¼ºÃÏóÊÇ´Óredhat.com·¢³öµÄ£¬¶øÈκη¢Íùtorgo.redhat.com ºÍÆäËü»úÆ÷

µÄÓʼþ¶¼½«·¢Ë͸ømail.redhat.com

 

Çë×¢Ò⣬Èç¹ûÄú½«ÄúµÄϵͳÅäÖÃΪÒÔÁíÒ»»úÆ÷Éí·Ý·¢ËÍÓʼþµÄ»°£¬ÈκÎÒÔ±¾ÏµÍ³ÎªÄ¿µÄµÄÓʼþ¶¼½«±»·¢ËÍ

ÖÁÄÇ̨Ö÷»ú¡£±ÈÈ磬ÓÉcron½ø³Ì¶¨ÆÚ²úÉúµÄ·¢Íøroot@poodle.redhat.com ÈÕÖ¾Îļþ¶¼½«·¢Ë͸ø

root@mail.redhat.com¡£

 


E.10.3 ÎÒÒѾ­Éý¼¶µ½ 5.0 , sendmail ²»ÔÙÏñÒÔÇ°Ò»Ñù´«ËÍÓʼþ .¸Ã×öʲô ?

 

ÓÉÓڶ෽ÃæµÄµç×ÓÓʼþÉÌʹÓÃδ֪µÄ Red Hat ϵͳ·¢ËÍÓʼþºÍһЩÆäËûÎÊÌâ, ÔÚ 5.0 ÖÐ, ÎÒÃǽ«(²»×÷
ΪÓʼþ´«µÝÕß)×÷ΪȱʡѡÏî .

 


Äã¿ÉÒÔ½«ÄãÔÊÐí´«µÝÓʼþµÄϵͳÃû³Æ¼ÓÈëµ½Îļþ
/etc/relay_allow

 

web Õ¾µã
href="http://www.informatik.uni-kiel.de/~ca/email/check.html">http://www.informatik.uni-kiel.de/~ca/email/check.html

½«¸æËßÄã¸ü¶à¹ØÓÚÕâ·½ÃæµÄÐÅÏ¢ .

 

Èç¹ûÄãÏ£ÍûijЩ·¢ËÍÀ¬»øÓʼþµÄÕ¾µã²»ÄÜ·ÃÎʵ½ÄãµÄ¼ÆËã»ú, Äã¿ÉÒÔʹÓà sendmail µÄһЩÐÂÌØÐÔ
¾Ü¾øËûÃǵķÃÎÊ. ½«ÕâЩվµãµÄµØÖ·¼ÓÈëµ½Îļþ
/etc/mail/deny ÖÐ, È»ºóΪËüÉú³ÉÒ»¸öÉ¢Áбí .

 

ÏÂÃæµÄÃüÁî¿ÉÒÔÉú³ÉÕâÖÖÉ¢Áбí .

 

makemap -v hash /etc/mail/deny < /etc/mail/deny





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

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

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