<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.gardiol.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.gardiol.org/feed.php">
        <title>Willy&#039;s Wiki - email</title>
        <description></description>
        <link>https://wiki.gardiol.org/</link>
        <image rdf:resource="https://wiki.gardiol.org/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-02T08:39:21+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:configure-admin&amp;rev=1768500161&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:configure-dkim-spf-dmarc&amp;rev=1753365532&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:configure-dovecot&amp;rev=1775544575&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:configure-postfix&amp;rev=1741872614&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:dns&amp;rev=1741872521&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:forward&amp;rev=1776152244&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:install-admin&amp;rev=1768500188&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:install-dkim-spf-dmarc&amp;rev=1753365480&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:install-preliminary&amp;rev=1741872542&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:install-servers&amp;rev=1741872554&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:mailscanner&amp;rev=1776091953&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.gardiol.org/doku.php?id=email:start&amp;rev=1741877594&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.gardiol.org/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Willy's Wiki</title>
        <link>https://wiki.gardiol.org/</link>
        <url>https://wiki.gardiol.org/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:configure-admin&amp;rev=1768500161&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-15T18:02:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>H) Configure PostfixAdmin</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:configure-admin&amp;rev=1768500161&amp;do=diff</link>
        <description>H) Configure PostfixAdmin

PostfixAdmin uses the postfixadmin/config.local.php configuration file that you need to create. You can check postfixadmin/config.inc.php for the complete list of configuration options. You only need to redefine what you want to change.</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:configure-dkim-spf-dmarc&amp;rev=1753365532&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-24T13:58:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>I) Configure proper mail delivery</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:configure-dkim-spf-dmarc&amp;rev=1753365532&amp;do=diff</link>
        <description>I) Configure proper mail delivery

You need access to your domain DNS records, this is mandatory.

SPF (Sender Policy Framework)

SPF works both outbound and inbound

SPF Outbound

This is the most difficult, but critical step. You need to add to your</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:configure-dovecot&amp;rev=1775544575&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-07T06:49:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>G) Configuring Dovecot</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:configure-dovecot&amp;rev=1775544575&amp;do=diff</link>
        <description>G) Configuring Dovecot

Dovecot configuation is stored in /etc/dovecot. There is a master file called dovecot.conf but most of the changes need to be applied to the files under /etc/dovecot/conf.d. 

For each file, i will show you the changes from the defaults that you need to apply.</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:configure-postfix&amp;rev=1741872614&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-13T13:30:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>F) Configuration: postfix</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:configure-postfix&amp;rev=1741872614&amp;do=diff</link>
        <description>F) Configuration: postfix

Postfix is the Mail Transfer Agent, the tool that actually moves your email messages from a the sender to the destination (recipient). It speak the Simple Mail Transport Protocol (SMTP) and it has some serious responsibilities which are:</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:dns&amp;rev=1741872521&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-13T13:28:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>A) Email related DNS records</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:dns&amp;rev=1741872521&amp;do=diff</link>
        <description>A) Email related DNS records

The DNS (Domain Name Service) plays a critical role in email delivery. You need to create a set of DNS records to make sure that your email can be delivered and that email can be delivered to you as well.

The basic record to setup is the MX record, which tells the email servers</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:forward&amp;rev=1776152244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-14T07:37:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Z) Forwarding Email Setup</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:forward&amp;rev=1776152244&amp;do=diff</link>
        <description>Z) Forwarding Email Setup

Assuming you already have a full email server (either hosted by you or you are using some third party service), you will need your internal server (the home server) to be able to send emails. This is true even if you host your email server, because as i say</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:install-admin&amp;rev=1768500188&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-15T18:03:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>E) Installation: postfixadmin web gui</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:install-admin&amp;rev=1768500188&amp;do=diff</link>
        <description>E) Installation: postfixadmin web gui

PostfixAdmin is a neat web GUI that let&#039;s you monitor, create domains, accounts and much more on your web server.

USE flags

PostfixAdmin is a PHP application which you will be running with NGINX + PHP-FPM.

Ensure your PHP has the</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:install-dkim-spf-dmarc&amp;rev=1753365480&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-24T13:58:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>D) DKIM, SPF and DMARC</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:install-dkim-spf-dmarc&amp;rev=1753365480&amp;do=diff</link>
        <description>D) DKIM, SPF and DMARC

Read this article for a general description. 

SPF stands for Sender Policy Framework and is an authentication protocol that lists IP addresses in a DNS TXT record that are authorized to send email on behalf of domains.

DKIM stands for</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:install-preliminary&amp;rev=1741872542&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-13T13:29:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>B) user, permissions &amp; storage</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:install-preliminary&amp;rev=1741872542&amp;do=diff</link>
        <description>B) user, permissions &amp; storage

Since different pieces of the email infrastructure will need to interoperate, it is a good idea to create a specific user to store all the emails on the filesystem. This user will own the email storage folders which i assume will be located under</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:install-servers&amp;rev=1741872554&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-13T13:29:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>C) Installation: servers</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:install-servers&amp;rev=1741872554&amp;do=diff</link>
        <description>C) Installation: servers

Postfix is your Mail Transfer Agent, which means that Postfix role is to actually send emails from one server to the other. Postfix is the server that will let you send an email, and also the server which will receive emails for you from other email servers.</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:mailscanner&amp;rev=1776091953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-13T14:52:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>N) Spam filtering</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:mailscanner&amp;rev=1776091953&amp;do=diff</link>
        <description>N) Spam filtering

RSpamD is an advanced spam filtering system and email processing framework that allows evaluation of messages by a number of rules including regular expressions, statistical analysis and custom services such as URL black lists. Each message is analysed by Rspamd and given a verdict that might be used by MTA for further processing (e.g. to reject a message, or add a special header indicating spam) along with other information, such as possible DKIM signature or modifications su…</description>
    </item>
    <item rdf:about="https://wiki.gardiol.org/doku.php?id=email:start&amp;rev=1741877594&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-13T14:53:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>4] E-Mail Hosting</title>
        <link>https://wiki.gardiol.org/doku.php?id=email:start&amp;rev=1741877594&amp;do=diff</link>
        <description>4] E-Mail Hosting

E-Mail Concepts

While the e-mail is one of the most ancient internet protocols, like DNS, it has been integrated with many pieces and bit over the decades to evolve it to an usable state today. 

E-Mail has tons of issues, like spam, abuse and plain brute-force attacks on top of no default encryption and limited overall security. To address most of these issues over the years new protocols and standards emerged, like DKIM, SPF, DMARC and so on. The basic SMTP has been integra…</description>
    </item>
</rdf:RDF>
