Email Setup Center
  • Home »
  • Check Mail Configuration Linux

How To Check Mail Configuration In Linux?

Like any other operating system, the Linux OS also allows you to configure your email account(s) on it. The default mail server in the Linux OS is Postfix. This server is more secure and reliable when compared to the Sendmail server. It also makes the email server configuration. The below section explains how to check mail configuration in Linux.

How To Check Mail Configuration In Linux

Finding the SMTP server host of your mail

If you’re using the PHP (Hypertext Preprocessor) language and the SMTP server to send emails from your Linux computer, then you can find the SMTP server host details using an email header or the Terminal window.

Using Email Header

  • Step 1:Open the email client installed on your Linux computer.
  • Step 2:After opening it, go to its header section to view the SMTP host details of your email server.
  • Step 3:For example, if you’re using the Outlook email client, then open the mail and click the View tab or button. Choose Options from the list. Click on the Internet header option.
  • Step 4:Now, your SMTP server host details will be displayed on the screen.

Using Terminal

  • Step 1:Launch the Telnet application.
  • Step 2:Type the dig.domain.name MX command in the Telnet window. (Note: Replace “domain.name” with your domain name)
  • Step 3:Tap the Enter button.
  • Step 4:The SMTP host details of your mail server will be displayed on the screen.

Now, if you wish to check the SMTP connection status on your Linux computer, then follow the below instructions.

  • Step 1:Open the Telnet application.
  • Step 2:Type the comment in the following syntax: telnet [your hostname] [port no]. For example, telnet smtp.pepipost.com 25.
  • Step 3:Press Enter. Your mail server’s SMTP connection status will be displayed on the screen.

To get remote assistance on how to check mail configuration in Linux, contact us.