时间: 2021-07-31 作者:daque
当精确的包被安置后你要翻开pop3的贯穿端口,这须要窜改/etc/xinetd.d/底下的ipop3文献,把disable的值改成no。这个文献大概是如许的: # default: off # description: the pop3 service allows remote users to access their mail
# using an pop3 client such as netscape communicator, mutt,
# or fetchmail. service pop3 { socket_type = stream wait = no user = root server = /usr/sbin/ipop3d log_on_success += userid log_on_failure += userid disable = no }
接下来从新启用xinetd来是它奏效: [root@testmail xinetd.d]# /etc/init.d/xinetd restart stopping xinetd: [ ok ] starting xinetd: [ ok ] [root@testmail xinetd.d]#
此刻就不妨发送一封尝试邮件到你的e-mail效劳器,而且用你熟习的收信东西来收取这封信。该当是没有题目的。 底下优化一下效劳器的本能。大概你会收到如许的埋怨,说是当存户端步调运转在风火墙反面的话会爆发贯穿pop端口速率变慢。 形成这个延时的因为是你的e-mail效劳器初始一个ident对话来确认存户端的身份。即使这个咨询没有反馈,那效劳器就会在5秒后发出一个超时旗号。这个值不妨贬低到1秒,进而缩小ident爆发感化。窜改/etc/sendmail.cf文献,把timeout的值改成你想要的值。 # timeouts (many of these) #o timeout.ident=5s change to o timeout.ident=1s 此刻你的e-mail效劳器不妨给你的用户供给效劳了。固然再有更多的摆设不妨用来普及效劳器本能,在这篇作品中就不多提了。linux将会为你的e-mail效劳供给一个宁静的,高效的平台。即使想领会更多的对于sendmail的常识,请考察www.sendmail.org.