You will be asked for the root password that you set in the previous command: # mysql -u root -p Step 4: Install Spamassassin, Clamav and Amavisd-new Once created, you can test the password by invoking this command. 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 Learn more on how to change your hostname. 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 -p Port_number Step 1: Log in via SSH and Update the System Step 5: Install Apache and Other Packages.Step 4: Install Spamassassin, Clamav and Amavisd-new.Step 3: Install MariaDB, Postfix, and Dovecot.Step 2: Reconfigure Bash and Stop the ‘apparmor’ Program.Step 1: Log in via SSH and Update the System.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |