Quick Answer: How Do I Know If Smtp Is Working Linux?
Contents to Check If Smtp Is Working from the Command Line (Linux), Is One Critical Aspect to Be Considered While Setting up an Email Server. the Most Common...
To check if SMTP is working from the command line (Linux), is one critical aspect to be considered while setting up an email server. The most common way of checking SMTP from Command Line is using telnet, openssl or ncat (nc) command. It is also the most prominent way to test SMTP Relay.
How do I know if SMTP is working?
To test the SMTP service, follow these steps:
- On a client computer running Windows Server or Windows 10 (with telnet client installed), type. Telnet at a command prompt, and then press ENTER.
- At the telnet prompt, type set LocalEcho, press ENTER, and then type open <machinename> 25, and then press ENTER.
Must Read
How do you check SMTP server is working or not in Ubuntu?
Testing out the email server
telnet yourserver.com 25 helo test.com mail from: <[email protected]> rcpt to: <[email protected]> data Type any content that you want, press enter, then put a period (.) and then enter to exit . Now check if the email is delivered successfully through the error log.