<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Postfix on Aperture Zone</title>
    <link>https://aperturezone.com/tags/postfix/</link>
    <description>Recent content in Postfix on Aperture Zone</description>
    <image>
      <url>https://aperturezone.com/logo.webp</url>
      <link>https://aperturezone.com/logo.webp</link>
    </image>
    <generator>Hugo -- gohugo.io</generator>
    <language>fr-fr</language>
    <lastBuildDate>Mon, 23 Feb 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://aperturezone.com/tags/postfix/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Internal mail server with postfix and dovecot</title>
      <link>https://aperturezone.com/posts/postfix/</link>
      <pubDate>Mon, 23 Feb 2026 00:00:00 +0000</pubDate>
      
      <guid>https://aperturezone.com/posts/postfix/</guid>
      <description>&lt;p&gt;I need an internal mail server (it will not be open to the outside world) to receive posts from the infrastructure in general, router switch, or backup reports. We will do this with Postfix and Dovecot on Ubuntu 24.04. The emails are intended for an existing AD user.&lt;/p&gt;
&lt;h2 id=&#34;1-join-the-server-to-the-active-directory-domain-with-sssd&#34;&gt;1. Join the server to the Active Directory domain with SSSD&lt;/h2&gt;
&lt;h3 id=&#34;install-the-necessary-packages&#34;&gt;Install the necessary packages&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt update
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt install realmd sssd sssd-tools adcli samba-common-bin libnss-sss libpam-sss
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;discover-and-join-the-domain&#34;&gt;Discover and join the domain&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Check that the domain is accessible&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;realm discover mydomain.local
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Join the domain (an AD account with sufficient rights is required)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo realm join --user&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;Administrator mydomain.local
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;check-the-join&#34;&gt;Check the join&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;realm list
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You should see something like:&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
