Welcome to Mail Server on Ubuntu 18.04 Part 5. This is the fifth part of a series of blog posts. We will be adding Roundcube, allowing your users to access their email over a secure HTTPS connection from any browser. We will also briefly talk about monitoring.
We can create self-signed SSL certificates when used in-house, when setting up Apache or a mailserver. We should always be using HTTPS and encrypted connections whenever we can. You know it makes sense. The majority of the time we can now use SSL certificates from Let’s Encrypt. They are free and once setup trouble free. Sometimes though we need a quick some self-signed SSL certificates while testing. This post takes you though how to create self-signed SSL certificates with OpenSSL. It also shows how to create one with multiple alternate names or SANs. Read the SSL documentation, its on the internet :).
To send an email over openssl from Linux you only need an open terminal and the openssl package installed. Then it is simply a matter of opening a connection to your server and sending it some commands. It is the same commands that your GUI mail client will be using.
If you want to see loads of stats for your web site try Installing AWstats on Ubuntu 18.04. You can get the number of visitors, Which OS or Browser they used.
Installing AWstats on Ubuntu 18.04 LTS and some additional packages necessary for the geo and net IP location stats.
Using chrony on Ubuntu 18.04 will show how to setup chrony for clients and servers within your LAN. Chrony replaces NTP which in now depreciated. Using chrony on Ubuntu 18.04 will show how to setup chrony for clients and servers within your LAN.
Chrony is an implementation of the Network Time Protocol (NTP). It is used to keep the system clocks of PCs synchronized with the clock of NTP servers. It can also be used to setup your own NTP server to provide time for your LAN. Chrony replaces ntp and ntpdate which are now deprecated.
Setting up NTP on Ubuntu 16.04 is a really quick post, as most Linux (or M$ Windows) installations will use/need an NTP server to keep the time in sync with other machines on the LAN. Services such as DNS, DHC, LDAP, email, Mythtv, syncing data between machines to name just a few.
I wrote this HOWTO, using LDAP on Synology so I could try out the Synology Directory Server. This is how I managed to get Linux machines to authenticate against it. At the time of writing, Synology was on DSM 6.2-23739 Update 2. I will be using Ubuntu 18.04 as the Linux clients
The Synology documentation
for Directory Server is appalling only stating the blindingly obvious. That is all assuming the page has been updated, most having missing options or features.
Welcome to Mail Server on Ubuntu 18.04 Part 4. This is the fourth part of a series of blog posts. We will be adding some extra checking to postfix. This will allow you to effectively blacklist some domains and email addresses. We will also be adding checks for properly formatted domain names and checking the IP address against their DNS lookup.
Welcome to Mail Server on Ubuntu 18.04 Part 3. This is the third part of a series of blog posts. In this post we will be adding anti-virus and anti-spam along with some other tools to stop spam and viruses getting through to our mailserver.
- Emails will be checked with anti-virus service ClamAV
- Emails will be checked with anti-spam filters from Spamassassin
- Grey listing of incoming mail servers with Postgrey
Welcome to Mail Server on Ubuntu 18.04 Part 2. This is the second part of a series of blog posts. The mailserver will use Postfix, Dovecot and Amavis. To see Mail Server on Ubuntu 18.04 Part1 follow the link.
In Mail Server on Ubuntu 18.04 Part 2 we will turn on the ability for any user to send and receive emails once they are known to the system via a MySQL database. This is called using virtual users. We will also turn on the ability to use encrypted connections with TLS.