<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>kescher&#39;s blog</title>
    <link>/</link>
    <description>Recent content on kescher&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>© 2022 Jeremy Kescher</copyright>
    <lastBuildDate>Sat, 30 Apr 2022 10:30:00 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Leaving the bird site.</title>
      <link>/posts/2022/04/30/leaving-bird-site/</link>
      <pubDate>Sat, 30 Apr 2022 10:30:00 +0000</pubDate>
      
      <guid>/posts/2022/04/30/leaving-bird-site/</guid>
      <description>Why? Unless you&amp;rsquo;ve been living under a rock, you might have noticed a certain billionaire&amp;rsquo;s push to bring Twitter under his control. If you think that&amp;rsquo;s not an issue, just check this list of tweets:
 &amp;quot;The extreme antibody reaction from those who fear free speech says it all&amp;quot; &amp;ldquo;Truth Social (terrible name) exists because Twitter censored free speech&amp;rdquo; &amp;ldquo;A social media platform’s policies are good if the most extreme 10% on left and right are equally unhappy&amp;rdquo;  Anti&amp;hellip;body&amp;hellip; reaction&amp;hellip; to&amp;hellip; free&amp;hellip; speech&amp;hellip; and this techbro practically owns Twitter now?</description>
      <content>&lt;h1 id=&#34;why&#34;&gt;Why?&lt;/h1&gt;
&lt;p&gt;Unless you&amp;rsquo;ve been living under a rock, you might have noticed a &lt;a href=&#34;https://twitter.com/i/user/44196397&#34;&gt;certain billionaire&amp;rsquo;s&lt;/a&gt; push to bring Twitter under his control. If you think that&amp;rsquo;s not an issue, just check this list of tweets:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://twitter.com/elonmusk/status/1519020176884305920&#34;&gt;&amp;quot;&lt;strong&gt;The extreme antibody reaction&lt;/strong&gt; from &lt;strong&gt;those who fear free speech&lt;/strong&gt; says it all&amp;quot;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://twitter.com/elonmusk/status/1519363666377908225&#34;&gt;&amp;ldquo;Truth Social (terrible name) exists &lt;strong&gt;because Twitter censored free speech&lt;/strong&gt;&amp;rdquo;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://twitter.com/elonmusk/status/1516483038242385928&#34;&gt;&amp;ldquo;A social media platform’s policies are good if the &lt;strong&gt;most extreme 10% on left and right&lt;/strong&gt; are &lt;strong&gt;equally&lt;/strong&gt; unhappy&amp;rdquo;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Anti&amp;hellip;body&amp;hellip; reaction&amp;hellip; to&amp;hellip; free&amp;hellip; speech&amp;hellip; and this techbro practically owns Twitter now?&lt;/p&gt;
&lt;p&gt;This is, by far, not the only reason I&amp;rsquo;ve moved away from Twitter. More reasons include, but aren&amp;rsquo;t limited to):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Twitter&amp;rsquo;s moderation that will gladly send you automated emails where anti-semitic username profiles totally haven&amp;rsquo;t violated the Terms of Service by&amp;hellip; doing what the terms of service explicitly disallow&lt;/li&gt;
&lt;li&gt;all official client apps continuing to get worse&lt;/li&gt;
&lt;li&gt;its API&lt;/li&gt;
&lt;li&gt;its rate limits&lt;/li&gt;
&lt;li&gt;its moderation that will automatically suspend people for using the German article &amp;ldquo;die&amp;rdquo; in a sentence, thinking it is a death threat, or for replying &amp;ldquo;shut up&amp;rdquo; to someone that just said you should belong to a percentage of dead people that has since been proven wrong.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All of these have been &lt;strong&gt;long-standing&lt;/strong&gt; reasons for me to stop using Twitter. The thing with Elon, though, is certainly the &lt;a href=&#34;https://en.wikipedia.org/wiki/Straw_that_broke_the_camel&#39;s_back&#34;&gt;&amp;ldquo;Straw that broke the camel&amp;rsquo;s back&amp;rdquo;&lt;/a&gt;.&lt;/p&gt;
&lt;h1 id=&#34;do-you-live-isolated-from-all-social-media-now&#34;&gt;Do you live isolated from all social media now?&lt;/h1&gt;
&lt;p&gt;Of course not. I have been active on the &lt;a href=&#34;https://simple.wikipedia.org/wiki/Fediverse&#34;&gt;Fediverse&lt;/a&gt; already, for a long time on &lt;a href=&#34;https://notbird.site/@kescher&#34;&gt;@kescher@notbird.site&lt;/a&gt;, and now that notbird.site is shutting down, at my own instance: &lt;strong&gt;&lt;a href=&#34;https://catcatnya.com/@kescher&#34;&gt;@kescher@catcatnya.com&lt;/a&gt;&lt;/strong&gt;. Feel free to sign up there!&lt;/p&gt;
&lt;p&gt;You may also follow the &lt;a href=&#34;/index.xml&#34;&gt;RSS/Atom feed&lt;/a&gt; for this blog.&lt;/p&gt;
</content>
    </item>
    
    <item>
      <title>How to solve Rspamd not signing some emails with DKIM key</title>
      <link>/posts/2022/03/13/rspamd-dkim-gotcha/</link>
      <pubDate>Sun, 13 Mar 2022 18:28:10 +0000</pubDate>
      
      <guid>/posts/2022/03/13/rspamd-dkim-gotcha/</guid>
      <description>The issue, in detail Let&amp;rsquo;s say, you have a mail server, reachable at mail.example.net. There is more than one domain assigned to it (example.net, but also example.org), so you can create aliases for your main email account (alice@example.net), and you can send using these aliases:
- alice@example.org - admin@example.net - admin@example.org  as well.
You&amp;rsquo;ve set up DKIM signing using rspamd. Your dkim_signing.conf looks like this:
path = &amp;#34;/var/lib/rspamd/dkim/$domain.$selector.key&amp;#34;; selector_map = &amp;#34;/etc/rspamd/dkim_selectors.</description>
      <content>&lt;h1 id=&#34;the-issue-in-detail&#34;&gt;The issue, in detail&lt;/h1&gt;
&lt;p&gt;Let&amp;rsquo;s say, you have a mail server, reachable at &lt;code&gt;mail.example.net&lt;/code&gt;. There is more than one domain assigned to it (&lt;code&gt;example.net&lt;/code&gt;, but also &lt;code&gt;example.org&lt;/code&gt;), so you can create aliases for your main email account (&lt;code&gt;alice@example.net&lt;/code&gt;), and you can send using these aliases:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- alice@example.org
- admin@example.net
- admin@example.org
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;as well.&lt;/p&gt;
&lt;p&gt;You&amp;rsquo;ve set up DKIM signing using &lt;code&gt;rspamd&lt;/code&gt;. Your &lt;code&gt;dkim_signing.conf&lt;/code&gt; looks like this:&lt;/p&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-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;path = &amp;#34;/var/lib/rspamd/dkim/$domain.$selector.key&amp;#34;;&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:#ae81ff&#34;&gt;selector_map = &amp;#34;/etc/rspamd/dkim_selectors.map&amp;#34;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ve set up domainkey TXT records for both domains, and the selectors are set up.
Yet, when you send an email as &lt;code&gt;alice@example.org&lt;/code&gt;, from your user account &lt;code&gt;alice@example.net&lt;/code&gt;, the DKIM key does not get attached.&lt;/p&gt;
&lt;h1 id=&#34;the-cause&#34;&gt;The cause&lt;/h1&gt;
&lt;p&gt;The issue stems from rspamd&amp;rsquo;s DKIM signing defaults requiring emails from authenticated users to be sent from the exact &lt;code&gt;username@domain&lt;/code&gt; combination that is stated in the &lt;code&gt;From&lt;/code&gt; header. If you were to enable logging for the &lt;code&gt;dkim_signing&lt;/code&gt; module, it would say &amp;ldquo;user domain mismatch&amp;rdquo;.&lt;/p&gt;
&lt;h1 id=&#34;the-solution&#34;&gt;The solution&lt;/h1&gt;
&lt;p&gt;You should add the following to your &lt;code&gt;dkim_signing.conf&lt;/code&gt;:&lt;/p&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-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;allow_hdrfrom_mismatch = true;&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:#ae81ff&#34;&gt;allow_username_mismatch = true;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content>
    </item>
    
    <item>
      <title>Welcome to my new blog!</title>
      <link>/posts/2022/02/06/welcome/</link>
      <pubDate>Sun, 06 Feb 2022 14:09:56 +0000</pubDate>
      
      <guid>/posts/2022/02/06/welcome/</guid>
      <description>Hi! This site is where I&amp;rsquo;ll post my terrible opinions and other stuff in the future. :)</description>
      <content>&lt;p&gt;Hi! This site is where I&amp;rsquo;ll post my terrible opinions and other stuff in the future. :)&lt;/p&gt;
</content>
    </item>
    
  </channel>
</rss>
