COSMIC Desktop Alpha 7 Brings More New Features

System76 has just announced the 7th alpha release of its Rust-based COSMIC desktop environment. As with earlier alphas, the focus remains on adding the features planned for inclusion in its first stable release (dubbed Epoch 1). It’s always worth tempering expectations: COSMIC’s first release won’t feature-match the newest versions of decades-old desktop environments. Nor will COSMIC’s fledgling native core apps, also built in Rust and making an Iced-based toolkit, out-gun rivals. Yet, despite the proverbial mountain System76’s set out to climb by building their own DE from scratch (using toolkits and technologies that aren’t super common), they’re making excellent pace […]

You're reading COSMIC Desktop Alpha 7 Brings More New Features, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

Continue ReadingCOSMIC Desktop Alpha 7 Brings More New Features

Setting Up a Secure Mail Server with Dovecot on Ubuntu Server

Setting Up a Secure Mail Server with Dovecot on Ubuntu Server

Introduction

Email remains a cornerstone of modern communication. From business notifications to personal messages, having a robust and reliable mail server is essential. While cloud-based solutions dominate the mainstream, self-hosting a mail server offers control, customization, and learning opportunities that managed services can't match.

In this guide, we will explore how to set up a secure and efficient mail server using Dovecot on an Ubuntu Server. Dovecot is a lightweight and high-performance IMAP and POP3 server that provides secure access to mailboxes. When paired with Postfix, it forms a powerful mail server stack capable of sending and receiving messages seamlessly.

Whether you're a system administrator, a DevOps enthusiast, or simply curious about running your own mail infrastructure, this article provides a deep dive into configuring Dovecot on Ubuntu.

Prerequisites

Before we dive into configuration and deployment, ensure the following requirements are met:

  • Ubuntu Server (20.04 or later recommended)

  • Root or sudo access

  • Static IP address assigned to your server

  • Fully Qualified Domain Name (FQDN) pointing to your server

  • Proper DNS records:

    • A record pointing your domain to your server IP

    • MX record pointing to your mail server’s FQDN

    • Optional: SPF, DKIM, and DMARC for email authentication

You should also ensure that your system is up-to-date:

sudo apt update && sudo apt upgrade -y

Understanding the Mail Server Stack

A modern mail server is composed of several components:

  • Postfix: SMTP server responsible for sending and routing outgoing mail.

  • Dovecot: Handles retrieval of mail via IMAP/POP3 and secure authentication.

  • SpamAssassin / ClamAV: For filtering spam and malware.

  • TLS/SSL: Provides encrypted communication channels.

Here's how they work together:

  1. Postfix receives email from external sources.

  2. It stores messages into local mailboxes.

  3. Dovecot lets users access their mail securely using IMAP or POP3.

  4. TLS/SSL encrypts the entire process, ensuring privacy.

Step 1: Installing Postfix and Dovecot

Install Postfix

sudo apt install postfix -y

During installation, you will be prompted to choose a configuration. Select:

Continue ReadingSetting Up a Secure Mail Server with Dovecot on Ubuntu Server