<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Postfix on iMil.net</title>
    <link>http://imil.net/blog/tags/postfix/</link>
    <description>Recent content in Postfix on iMil.net</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 21 Dec 2021 15:52:26 +0100</lastBuildDate>
    <atom:link href="http://imil.net/blog/tags/postfix/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Postfix to GMail Catchall (updated… again)</title>
      <link>http://imil.net/blog/posts/2021/postfix-to-gmail-catchall/</link>
      <pubDate>Tue, 21 Dec 2021 15:52:26 +0100</pubDate>
      <guid>http://imil.net/blog/posts/2021/postfix-to-gmail-catchall/</guid>
      <description>&lt;p&gt;The other day, my wife asked me if I could just redirect all mails going to her own domain&#xA;to her &lt;em&gt;GMail&lt;/em&gt; account. &amp;ldquo;Easy task&amp;rdquo;, foolish past-me thought, not knowing the standards you&#xA;have to meet to actually forward a mail from &lt;em&gt;somwhere&lt;/em&gt; to &lt;em&gt;GMail&lt;/em&gt;&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;I naively searched for a simple bouncing method and &lt;code&gt;postfix&lt;/code&gt;&amp;rsquo;s &lt;a href=&#34;http://www.postfix.org/virtual.5.html&#34;&gt;virtual&lt;/a&gt; tables seemed&#xA;perfectly fit for the task (from &lt;code&gt;man virtual&lt;/code&gt;):&lt;/p&gt;&#xA;&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-man&#34; data-lang=&#34;man&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;The main applications of virtual aliasing are:&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;       o      To redirect mail for one address to one or more addresses.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;       o      To  implement  virtual  alias  domains  where  all addresses are&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              aliased to addresses in other domains.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;So here we go and:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Make Postfix Trigger Blacklistd on Failed Authentication</title>
      <link>http://imil.net/blog/posts/2020/make-postfix-trigger-blacklistd-on-failed-authentication/</link>
      <pubDate>Sun, 09 Aug 2020 06:59:25 +0200</pubDate>
      <guid>http://imil.net/blog/posts/2020/make-postfix-trigger-blacklistd-on-failed-authentication/</guid>
      <description>&lt;p&gt;The other day, I realized that from time to time, &lt;a href=&#34;https://en.wikipedia.org/wiki/Alpine_(email_client)&#34;&gt;alpine&lt;/a&gt;, my console mail client for about 20+ years now, would close the connection to the &lt;em&gt;IMAP&lt;/em&gt; server because of an &amp;ldquo;error&amp;rdquo;.&lt;br&gt;&#xA;Digging in the logs, I realized my server was being bruteforced for months, if not years. &lt;a href=&#34;https://www.NetBSD.org&#34;&gt;NetBSD&lt;/a&gt; being the fantastic OS it is, it actually had nearly no effect on my server&amp;rsquo;s behaviour, only those annoying connections closing from time to time.&lt;br&gt;&#xA;Here&amp;rsquo;s a &lt;code&gt;/var/log/maillog&lt;/code&gt; extract of such attacks:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Simpler postfix &#43; dspam</title>
      <link>http://imil.net/blog/posts/2016/simpler-postfix-dspam-procmail-setup/</link>
      <pubDate>Wed, 02 Mar 2016 15:52:03 +0000</pubDate>
      <guid>http://imil.net/blog/posts/2016/simpler-postfix-dspam-procmail-setup/</guid>
      <description>&lt;p&gt;I have read a shitload of overcomplicated setups to bring up a &lt;a href=&#34;http://dspam.nuclearelephant.com/&#34;&gt;postfix&lt;/a&gt; / &lt;a href=&#34;http://www.postfix.org/&#34;&gt;dspam&lt;/a&gt; &lt;em&gt;SMTP&lt;/em&gt; + antispam server, and finally came to a much lighter and simpler configuration by basically reading documentation and real life examples.&#xA;Note this is suitable for a personnal and basic environment, no database, no virtual setup. Basic stuff.&lt;/p&gt;&#xA;&lt;p&gt;The target system is &lt;em&gt;NetBSD&lt;/em&gt; but this short doc should apply to pretty much any &lt;em&gt;UNIX / Linux&lt;/em&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
