![]() ![]() This configuration allows you to use the Postfix server both to send emails from the outside (for example through a mail client) and the inside. In the configuration parameters above, the domain “” is used as an example: replace it with the one in your possession. Mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain #Parameters for the interface used for listening ports: Some basic parameters to be modified are listed below: # Main server DNS Any comments have to begin with the # character. ![]() Then, proceed by opening the file you just copied with a text editor: $ sudo vim /etc/postfix/main.cfĪll configuration lines do not have to start with space or tab characters. The two main files are main.cf and master.cf, although, for now, all you need to do is edit the main.cf file.īefore editing the main configuration file, make a backup of the existing version: $ sudo cp /etc/postfix/main.cf /etc/postfix/main.cf.backup Once completed, Postfix should be properly installed on the system.Īll Postfix configuration files are present in the / etc / postfix / folder. In the last screen, enter the domain used by the mail server to complete the configuration. Use the TAB key again, select the “Internet Site” configuration and confirm with the “Ok” key. Use the TAB key to move on the “Ok” button and press ENTER to confirm. Installation of PostfixĪfter connecting to the server via SSH, proceed with the installation of Postfix by running the following command: $ sudo apt install postfixĭuring the installation you will be asked to select the mail server configuration type to be configured: In case of a local server, go to the next point and open the terminal of your server. In this tutorial how to install and configure the Postfix daemon on Ubuntu 18.04 will be explained.įirst, connect to your server via an SSH connection. It is one of the fastest solutions on the market, highly appreciated for the ease of its configuration and security. Postfix is a server-side application that allows you to implement the SMTP protocol to manage mail sending. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |