- #MWEB EMAIL SERVER HOW TO#
- #MWEB EMAIL SERVER INSTALL#
- #MWEB EMAIL SERVER UPDATE#
- #MWEB EMAIL SERVER PASSWORD#
- #MWEB EMAIL SERVER DOWNLOAD#
With nano, you can search by pressing CTRL-W and then enter your search word.
#MWEB EMAIL SERVER UPDATE#
Locate the variable expose_php and update the value from On to Off. We are going to edit the file /etc/php/7.4/apache2/php.ini. The default configuration is usually sufficient for most systems however, we want to make sure that PHP does not expose information to potential attackers. We are now going to update the configuration of PHP.
#MWEB EMAIL SERVER PASSWORD#
Next, log in to MySQL and change the password policy to low: mysql -u root -p Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y Remove anonymous users? (Press y|Y for Yes, any other key for No) : Yĭisallow root login remotely? (Press y|Y for Yes, any other key for No) : Y You can do it with the following command: mysql_secure_installationĪnswer all the questions as shown below: New password:ĭo you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : Y Next, you will need to set the MySQL root password and secure the MySQL installation.
#MWEB EMAIL SERVER INSTALL#
apt-get install php-apcu php-memcache php-curl php-mbstring php-gd php-xml php-imap php-xmlrpc libdbi-perl libdbd-mysql-perl -y These additional modules will enable your server to support APC User Cache for PHP 5, memcached, cURL, an XML parser, and GD image processing. To see a list of the packages that are included in this group install, you can execute the following: tasksel -task-packages lamp-serverĪfter all the packages are installed, we will be ready to install some additional PHP modules. This is called a task package installation. These packages combined will enable your server to provide dynamic web services with MySQL connectivity.įirst, let’s install the packages. LAMP stands for Linux, Apache, MySQL, and PHP.
![mweb email server mweb email server](https://i.ytimg.com/vi/Wy_vDbSYAfA/hqdefault.jpg)
![mweb email server mweb email server](https://www.mweb.co.za/Portals/29/digmeta/1/092514_0840_Mega105Rout1.jpg)
We have now completed the Basic Server Preparation and can move on to installing our web server services.ĭuring this step, we are going to install the “LAMP” packages. This command tells the server to regenerate the default system SSL certificate and forces it to overwrite the original CRT and KEY files. make-ssl-cert generate-default-snakeoil -force-overwrite If you purchased an SSL certificate for your mail server, you can skip this step. We are now going to update the default SSL certificate on the server so that it matches our new hostname. nano /etc/hostsĮdit the first line and add your FQDN (fully qualified domain name) just after the 127.0.0.1 IP address. Now we are going to manually edit the /etc/hosts configuration file so that it matches the name we just entered. Make sure to replace example with your real hostname and domain name. We will also update the /etc/hostname file. Next, we are going to update the hostname and domain name of the server so that when you send email it will match the reverse pointer DNS record that we set up with your hosting provider.
![mweb email server mweb email server](https://www.mweb.co.za/Portals/29/digmeta/1/091714_0813_VKOMWNL108S5.jpg)
wget: package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols.
#MWEB EMAIL SERVER DOWNLOAD#
Now, let’s install the basic tools so that we can download files, and edit configuration files easily. The base installation of Ubuntu comes with a limited set of packages, so the first thing we want to do is install the tools we’ll be using to complete all tasks.įirst, make sure that you are logged in as the root user account. – Access to the domain name for which you will set up mail (we will be using “ ” in the examples in this article). – Fully updated Ubuntu 20.04 Server, if you do not have an Ubuntu server running on a server like those on ’s Linux VPS hosting. Outline of Packages and Configuration Stepsħ – Creating a MySQL Database for the Mail Serverĩ – Adding User Accounts (mailboxes) to Postfix Adminġ0 – Create a system user to handle Virtual Mail Directoriesġ2 – Configuring Spam and Anti-Virus Filtersġ5 – Install RoundCube Webmail Prerequisites Here is an outline of the packages and goals for this how-to article.
#MWEB EMAIL SERVER HOW TO#
Building a Linux mail server from ground up can be a painful process unless you do it day in and day out, but we are going to show you how to do it as painlessly as we can.Ī mail server usually consists of a range of different packages that handle SMTP, POP3/IMAP, storage of the mail, and spam-related tasks, and they must all talk together. In this how-to article, we will walk you through building a complete mail server on Ubuntu 20.04 with Postfix.