If you are a white-collar engineer, often sitting in the office and sending and receiving emails every day, you can use the Linux operating system in the company, so you have installed the mail system in the Linux operating system, but do you know the installation is successful? In Linux, how does one check whether the email system is successfully installed? This article explains in detail,
1) check whether the smtp and pop3 services are properly started in Linux.
You can enter:
# Telnet localhost 25
If shown: 220 jdmail SMTP Service ready
This indicates that the smtp service is successfully started. If this information is not returned, other smtp services may have occupied port 25. Stop other smtp services first. Generally, the sendmail service is started by default and can be used as follows:
# Pkill-9 sendmail
# Chkconfig-level 2345 sendmail off
Disable the sendmail service.
If no prompt is displayed, return to the command prompt, indicating that the jdmail service is not started properly. Enter:
# Ps-ef | grep jdmail
Check whether there is
- root 23586 23446 0 Apr22 ? 00:00:02 ./jdmail
- root 23587 23446 0 Apr22 ? 00:00:02 ./jdmail
- root 23588 23446 0 Apr22 ? 00:00:05 ./jdmail
- root 23589 23446 0 Apr22 ? 00:00:05 ./jdmail
- root 23590 23446 0 Apr22 ? 00:00:02 ./jdmail
- root 23591 23446 0 Apr22 ? 00:00:04 ./jdmail
- root 23592 23446 0 Apr22 ? 00:00:03 ./jdmail
- root 23593 23446 0 Apr22 ? 00:00:02 ./jdmail
If these service processes are not started, check whether the JDMAIL_ROOT path setting in the startjd. sh script is correct.
If the JDMAIL_ROOT setting is correct, the jdmail service process still cannot be started. Please record the operating system version and contact the Customer Service staff of jindi mail to help solve the problem.
To help you find a solution in the fastest time, I will insert a short advertisement: QQ917743299 13501315160
2) check whether the web is started properly
On the command line, enter:
# Ps-ef | grep web
If,
Root 4455 1 0 Apr20? 00:00:01/home/jdmail/jdk/bin/java-Djava. endorsed. dirs =/home/jdmail/web/common/endorsed-classpath/home/jdmail/jdk/lib/tools. jar:/home/jdmail/web/bin/bootstrap. jar:/home/jdmail/web/bin/commons-logging-api.jar-Dcatalina. base =/home/jdmail/web-Dcatalina. home =/home/jdmail/web-Djava. io. tmpdir =/home/jdmail/web/temp org. apache. catalina. startup. bootstrap start
The jdmail web service process has been started.
After the preceding steps are completed, check that the email system is successfully installed in the Linux operating system.
- Migration of Linux compressed files
- Describe Linux Device File Management hardware devices
- Linux mobile OS makes achievements in the future mobile phone industry
- Getting started with embedded Linux
- Install the Linux firewall to ensure Network Security