Get the latest tutorials on SysAdmin and open source topics. Hub for Good Supporting each other to make an impact. Write for DigitalOcean You get paid, we donate to tech non-profits. By finid and Kathleen Juell. Postfix is a mail transfer agent MTA , an application used to send and receive email. In this tutorial, you will install and configure Postfix so that it can be used to send emails by local applications only — that is, those installed on the same server as Postfix. However, if you manage a cloud server on which you have installed applications that need to send email notifications, running a local, send-only SMTP server is a good alternative to using a third-party email service provider or running a full-blown SMTP server. One Debian 10 server, set up with the Debian 10 initial server setup tutorial , and a non-root user with sudo privileges. A valid domain name, like example. The output should match the name you gave the server when it was being created.
If You Appreciate What We Do Here On TecMint, You Should Consider:
What are SPF and DKIM Records?
Get the latest tutorials on SysAdmin and open source topics. Hub for Good Supporting each other to make an impact. Write for DigitalOcean You get paid, we donate to tech non-profits. Following this tutorial you'll be able to add virtual domains, users, and aliases. Moreover, your virtual server will be secure from spam hub. Optional : SSL certificate setup free signed ssl certificate. Introduce your user's password. After the installation finishes, we are going to create a MySQL database to configure three different tables: one for domains, one for users and the last one for aliases. We are going to name the database servermail , but you can use whatever name you want.
We can send and receive email using a desktop email client. I have seen it used by facebook. Some folks might think that -all will be better as it will reject emails from untrusted hosts.
Now enter the fully qualified domain name that you want to use for send and receive emails. You can verify the Postfix version and status of the service using the following commands. Now try to check your mail server is connecting on port 25 using the following command. The above message indicates that the connection is successfully established. Type quit to close the connection. You can also use a mail program to send and read emails using the following command. Next, you need to create a new database and user for Roundcube and grant all permission to a new user to write to the database. Now go to the login page and enter the user name and the password of the user. Now go back to the login page and enter the user name and the password of the newly created user.