![]() Run the following command to create a root password, remove the test database, remove the anonymous user then reload the privileges. When done, save and exit the file and restart Postfix: systemctl restart postfixĪt this point, MariaDB is running and we are now going to create a password for the root user. # -o milter_macro_daemon_name=ORIGINATING # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_client_restrictions=$mua_client_restrictions o smtpd_client_restrictions=permit_sasl_authenticated,reject The file should look like the following: submission inet n - y - smtpd Next, edit /etc/postfix/master.cf using your preferred text editor.īasically, we will need to uncomment a few lines in the configuration file and append -o smtpd_client_restrictions=permit_sasl_authenticated,reject under the submission and smtpd sections. ![]() General type of mail configuration: Internet Site In the installation process, you will be asked two questions for postfix – make sure you use your hostname as the system mail name. apt install mariadb-server postfix postfix-mysql openssl dovecot-mysql dovecot-pop3d dovecot-sieve dovecot-lmtpd binutils dovecot-imapd Run the folowing commands to install MariaDB, Postfix, and Dovecot. dpkg-reconfigure dash Use dash as the default system shell (/bin/sh)? No systemctl stop apparmorĬheck if you have services running on your server already: netstat -pltn Step 3: Install MariaDB, Postfix, and Dovecot We need to use bash as the default system shell, not dash, to proceed with the ISPConfig installation. Step 2: Reconfigure Bash and Stop the ‘apparmor’ Program Please refer to this article linked here to learn more on how to change your domain name. If you do not use a subdomain for the server hostname, you will for example have an issue with amavis and other emailing related programs. It is important to use a subdomain as the hostname, and not the main domain. In this tutorial, we will use as the server hostname – a hostname should be an FQDN (a Fully Qualified Domain Name). Then, run the following command to make sure that all installed packages on the server are updated to the latest available version: apt update & apt upgrade You should get this output: Distributor ID: Ubuntu You can check whether you have the proper Ubuntu version installed on your server with the following command: lsb_release -a Replace IP_Address and Port_number with their respective values for your server. Log in to your Ubuntu 18.04 VPS with SSH as a root user, or a user with sudo privileges: ssh _Address -p Port_number ![]() Step 1: Log in via SSH and Update the System It is a free alternative to paid control panels – you don’t have to spend any money to use this control panel. We can easily add Apache virtual host or Nginx server blocks, create/edit/delete databases, configure cron jobs, create email accounts, and much more. ISPConfig is a well-known open-source web hosting control panel that allow us to manage services through a web browser. ![]() In this tutorial, we will show you how to set up and install ISPConfig 3 on a VPS running Ubuntu 18.04. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |