Friday , April 19 2024

How To Send Email From Linux

There are several methods for sending mail from linux.  For Example you can send email by using Exchange. To perform this you must grant relay rights to your server at first.

In this article, we will assume that the server has Relay rights(talk with system administrator) and we will send email from linux.

You need to add the name of your relay host to the conf file below.

In this conf file you can change different parameters like hostname, mydomain, inet_interfaces, but I’m just going to change the relayhost.

After saving the change you can send mail with the help of the following command.

After running the command, you should see the mail as follows.

 

Loading

About Faruk Erdem

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories