In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
There is no problem with forward parsing and reverse parsing. The default port of postfix is 25.
Configure the profile for postfix
[root@www:/var/named] # cd / etc/postfix/ [root@www:/etc/postfix] # vim main.cf myhostname = www.crwolf.commyorigin = crwolf.commydomain = crwolf.commydestination = $myhostname, localhost.$mydomain, localhost, $mydomainmynetworks = 192.168.1.0 pick 24, 127.0.0.0 pick 8
Restart postfix and test
[root@www:/etc/postfix] # service postfix restart disable postfix: [OK] start postfix: [OK] [root@www:/etc/postfix] # vim / etc/resolv.conf nameserver 192.168.1.9 point DNS parsing to the native [root@www:/etc/postfix] # telnet mail.crwolf.com 25 Trying 192.168.1.9...telnet: connect to address 192.168.1.9: Connection refused # connection rejection [root@www:/etc/postfix] # telnet localhost 25 # Why is it possible locally? Trying:: 1...Connected to localhost.Escape character is'^] '.220 www.crwolf.com ESMTP Postfix
Check for problems
Check to see if there is a telnet service.
[root@www:/etc/postfix] # cd [root@www:~] # rpm-qa telnettelnet-0.17-48.el6.x86_64 # with [root@www:~] # rpm-qa telnet-server # without [root@www:~] # chkconfig-list xinetd-based service: # xinetd also does not have telnet [root@www:~] # yum install-y telnet-server # download telnet-server [root@www:~] # chkconfig-- list xinetd-based service: telnet: disable
There is telnet now, but the service is turned off. Turn it on.
[root@www:~] # service xinetd restart stop xinetd: [OK] starting xinetd: [OK] [root@www:~] # service telnet starttelnet: unrecognized service [root@www:~] # chkconfig telnet on [root@www:~] # chkconfig-- list based on xinetd Service: telnet: enable [root@www:~] # telnet mail.crwolf.com 25Trying 192.168.1.9...telnet: connect to address 192.168.1.9: Connection refused # or reject
View the configuration of telnet
[root@www:~] # vim / etc/xinetd.d/telnet disable = no # this is received
Take a look at the following configuration file for postfix
[root@www:~] # vim / etc/postfix/main.cf # inet_interfaces does not have $myhostname here, add inet_interfaces = localhost-- > inet_interfaces = localhost, $myhostname [root@www:~] # telnet www.crwolf.com 25 # can connect to Trying 192.168.1.9...Connected to www.crwolf.com.Escape character is'^] '.220 www.crwolf.com ESMTP Postfix
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.