<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/templates/2k11/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" >
<channel>
    
    <title>trueten.de - SpamCop</title>
    <link>https://www.trueten.de/</link>
    <description>»La propriété, c'est le vol« Pierre Joseph Proudhon</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6.1 - http://www.s9y.org/</generator>
    <pubDate>Mon, 30 Dec 2024 21:03:26 GMT</pubDate>

    <image>
    <url>https://www.trueten.de/templates/2k11/img/s9y_banner_small.png</url>
    <title>RSS: trueten.de - SpamCop - »La propriété, c'est le vol« Pierre Joseph Proudhon</title>
    <link>https://www.trueten.de/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>Geschatzter Kunde...</title>
    <link>https://www.trueten.de/archives/13509-Geschatzter-Kunde....html</link>
            <category>EDV</category>
            <category>SpamCop</category>
    
    <comments>https://www.trueten.de/archives/13509-Geschatzter-Kunde....html#comments</comments>
    <wfw:comment>https://www.trueten.de/wfwcomment.php?cid=13509</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>https://www.trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=13509</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    Bekanntlich bin ich dafür, die ganzen dreckigen Spammer an ihren Cochones aufzuhängen. Sofern sie denn welche haben. Auch wenn sie mich mit &lt;strike&gt;Gesch&lt;/strike&gt;Schatz&lt;strike&gt;ter Kunde&lt;/strike&gt; statt Vor- und Nachnamen anreden und so tun, als hätte ich ein Konto bei der Bank, für die sie sich ausgeben...&lt;br /&gt;&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://www.trueten.de/uploads/GeschatzterKunde.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/GeschatzterKunde.jpg&#039;,&#039;Zoom&#039;,&#039;height=520,width=549,top=467.5,left=1013,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4634 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;100%&quot;  src=&quot;https://www.trueten.de/uploads/GeschatzterKunde.jpg&quot;  loading=&quot;lazy&quot; alt=&quot;Ein Screenshot, angeblich von ING Diba. Tatsächlich aber von irgendeinem dreckigen Spammer mit dem Text: &amp;quot; Geschatzter Kunde,     Um die Sicherheit Ihres Kontos weiterhin zu gewährleisten, bitten wir Sie, Ihre Telefonnummer zu aktualisieren. Eine aktuelle Telefonnummer hilft uns, Sie bei wichtigen Kontoaktivitäten oder im Falle von Sicherheitsfragen schnell zu erreichen..     Bitte nehmen Sie sich einen Moment Zeit, um Ihre Telefonnummer zu überprüfen und zu aktualisieren. Dieser einfache Schritt trägt wesentlich zur Sicherheit Ihres Kontos bei.        Telefonnummer aktualisieren     Mit freundlichen Grüßen,  Ihre ІNG-DіВа.&amp;quot;&quot;&gt;&lt;/a&gt;&lt;hr /&gt; 
    </content:encoded>

    <pubDate>Sun, 29 Dec 2024 12:29:00 +0100</pubDate>
    <guid isPermaLink="false">https://www.trueten.de/archives/13509-guid.html</guid>
    <category>spam</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Aber ich habe doch gar kein Konto bei der Kreissparkasse...</title>
    <link>https://www.trueten.de/archives/12420-Aber-ich-habe-doch-gar-kein-Konto-bei-der-Kreissparkasse....html</link>
            <category>Bullerei</category>
            <category>EDV</category>
            <category>EDV</category>
            <category>Manipulation</category>
            <category>Nerdkram</category>
            <category>Polizei</category>
            <category>Sicherheit</category>
            <category>Software</category>
            <category>SpamCop</category>
            <category>Technik</category>
    
    <comments>https://www.trueten.de/archives/12420-Aber-ich-habe-doch-gar-kein-Konto-bei-der-Kreissparkasse....html#comments</comments>
    <wfw:comment>https://www.trueten.de/wfwcomment.php?cid=12420</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=12420</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    &lt;p&gt;Immer dann, wenn mir langweilig ist, schaue ich mal in den Spamordner. Neulich trudelte eine recht gut gemachte Mail rein, die von der Kreissparkasse zu stammen scheint. Allerdings mit zwei entscheidenden Fehlern: Weder habe ich ein Konto bei dieser Bank, noch hei&amp;szlig;e ich so, wie ich in der Mail angesprochen werde. Von der Absenderadresse, die nicht gef&amp;auml;lscht war &amp;uuml;ber die Metadaten der Mail (Hearder usw.) oder die Links, auf die darin verwiesen wird, will ich gar nicht erst anfangen:&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;serendipity_image_link&quot; href=&quot;https://www.trueten.de/uploads/2022-07-27_12-12.jpg&quot; onclick=&quot;F1 = window.open(&#039;/uploads/2022-07-27_12-12.jpg&#039;,&#039;Zoom&#039;,&#039;height=906,width=769,top=274.5,left=903,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot; title=&quot;Screenshot der Mail&quot;&gt;&lt;!-- s9ymdb:3962 --&gt;&lt;/a&gt;&lt;img alt=&quot;Screenshot der Mail&quot; class=&quot;serendipity_image_center&quot; height=&quot;891&quot; loading=&quot;lazy&quot; src=&quot;https://www.trueten.de/uploads/2022-07-27_12-12.jpg&quot; title=&quot;Screenshot der Mail&quot; width=&quot;754&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Also gut, nach dem Klick auf &amp;quot;Weiter zur Kontrolle&amp;quot; geht es weiter im Browser:&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;serendipity_image_link&quot; href=&quot;https://www.trueten.de/uploads/2022-07-27_12-13.jpg&quot; onclick=&quot;F1 = window.open(&#039;/uploads/2022-07-27_12-13.jpg&#039;,&#039;Zoom&#039;,&#039;height=515,width=1006,top=470,left=784.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot; title=&quot;Loginseite der Scammer&quot;&gt;&lt;!-- s9ymdb:3963 --&gt;&lt;img alt=&quot;Loginseite der Scammer&quot; class=&quot;serendipity_image_center&quot; height=&quot;500&quot; loading=&quot;lazy&quot; src=&quot;https://www.trueten.de/uploads/2022-07-27_12-13.jpg&quot; title=&quot;Loginseite der Scammer&quot; width=&quot;991&quot; /&gt;&lt;/a&gt;Im weiteren Verlauf habe ich mal ein paar Phantasiedaten eingegeben, die auf den ersten Blick genau so plausibel erschienen wie diese Phishing Webseite und den ganzen Registrationsprozess durchlaufen.&amp;#160;&lt;/p&gt;
&lt;p&gt;Das Ende vom Lied:&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;a class=&quot;serendipity_image_link&quot; href=&quot;https://www.trueten.de/uploads/2022-07-27_12-19.jpg&quot; onclick=&quot;F1 = window.open(&#039;/uploads/2022-07-27_12-19.jpg&#039;,&#039;Zoom&#039;,&#039;height=396,width=638,top=529.5,left=968.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot; title=&quot;Erfolgreicher Abschluss&quot;&gt;&lt;!-- s9ymdb:3964 --&gt;&lt;img alt=&quot;Erfolgreicher Abschluss&quot; class=&quot;serendipity_image_center&quot; height=&quot;381&quot; loading=&quot;lazy&quot; src=&quot;https://www.trueten.de/uploads/2022-07-27_12-19.jpg&quot; title=&quot;Erfolgreicher Abschluss&quot; width=&quot;623&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ein wiederholter&amp;#160;Aufruf der Seite ist dann nicht mehr m&amp;ouml;glich, weil die Tracking Url, die durch das Anklicken des&amp;#160;&amp;quot;Weiter zur Kontrolle&amp;quot; in der oben genannten email gesetzt wurde, eindeutig mit der Mailadresse an die die Mail ging, verbunden war. Mehr brauchten die Scammer nicht, um durch die Befragung Online-Banking-Zugangsdaten, Geburtsdatum, Telefonnummer sowie die Daten der&amp;#160;Sparkassen-Card zu erfahren. In meinem Fall mit fiktiven Daten. Bis auf die Telefonnummer des BKA, die ich zur schnelleren Bearbeitung eventueller Nachfragen angegeben habe...&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 30 Jul 2022 12:33:00 +0200</pubDate>
    <guid isPermaLink="false">https://www.trueten.de/archives/12420-guid.html</guid>
    <category>phishing</category>
<category>spam</category>
<category>spammer an den eiern aufhängen</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Postfix: Mails komfortabel löschen</title>
    <link>https://www.trueten.de/archives/11775-Postfix-Mails-komfortabel-loeschen.html</link>
            <category>Nerdkram</category>
            <category>Software</category>
            <category>SpamCop</category>
    
    <comments>https://www.trueten.de/archives/11775-Postfix-Mails-komfortabel-loeschen.html#comments</comments>
    <wfw:comment>https://www.trueten.de/wfwcomment.php?cid=11775</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=11775</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    &lt;p&gt;Das folgende Skript löscht alle E-Mails aus der Mailwarteschlange, die dem als erstes Argument angegebenen regulären Ausdruck entsprechen:&lt;/p&gt;&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;#!/usr/bin/perl
$REGEXP = shift || die &quot;no email-adress given (regexp-style, e.g. bl.*@yahoo.com)!&quot;;
@data = qx;
for (@data) {
  if (/^(\w+)(*|\!)?\s/) {
     $queue_id = $1;
  }
  if($queue_id) {
    if (/$REGEXP/i) {
      $Q{$queue_id} = 1;
      $queue_id = &quot;&quot;;
    }
  }
}
#open(POSTSUPER,&quot;|cat&quot;) || die &quot;couldn&#039;t open postsuper&quot; ;
open(POSTSUPER,&quot;|postsuper -d -&quot;) || die &quot;couldn&#039;t open postsuper&quot; ;
foreach (keys %Q) {
  print POSTSUPER &quot;$_\n&quot;;
};
close(POSTSUPER);&lt;/pre&gt;&lt;p&gt;Im folgenden Beispiel löscht man alle Nachrichten in der Warteschlange von oder zu der Domain &quot;&lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;fuckspamdomain.com&lt;/span&gt;&quot;:&lt;br /&gt;
&lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;./postfix-delete.pl fuckspamdomain.com&lt;/span&gt;&lt;br /&gt;
Im folgenden Beispiel löscht man alle Nachrichten in der Warteschlange, die das Wort &quot;xyz&quot; in der E-Mail-Adresse enthalten:&lt;br /&gt;
&lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;./postfix-delete.pl xyz&lt;/span&gt;&lt;br /&gt;
Credits: &lt;a href=&quot;https://www.cyberciti.biz/tips/howto-postfix-flush-mail-queue.html&quot;&gt;nixcraft&lt;/a&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sat, 15 Jan 2022 09:36:00 +0100</pubDate>
    <guid isPermaLink="false">https://www.trueten.de/archives/11775-guid.html</guid>
    <category>postfix</category>
<category>spammer</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>pihole: Ein wenig Statistik</title>
    <link>https://www.trueten.de/archives/11740-pihole-Ein-wenig-Statistik.html</link>
            <category>Linux</category>
            <category>Nerdkram</category>
            <category>Sicherheit</category>
            <category>Software</category>
            <category>SpamCop</category>
    
    <comments>https://www.trueten.de/archives/11740-pihole-Ein-wenig-Statistik.html#comments</comments>
    <wfw:comment>https://www.trueten.de/wfwcomment.php?cid=11740</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=11740</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    &lt;p&gt;Ein wenig Nerdkram Folklore mit &lt;a href=&quot;https://pi-hole.net/2020/12/02/pi-hole-core-web-v5-2-1-and-ftl-v5-3-2-released&quot;&gt;Pi-hole v5.2.1&lt;/a&gt; Web Interface v5.2.1 FTL v5.3.2 und dem blockierten Werbekram. Bei über 3 Millionen Domains in der Blockliste sind 43% blockiere Anfragen schon krass...&lt;br /&gt;
&lt;br /&gt;
 &lt;img style=&quot;float: left;&quot; src=&quot;https://www.trueten.de/uploads/pihole.jpg&quot; alt=&quot;&quot; width=&quot;100%&quot; /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 11 Dec 2020 12:28:00 +0100</pubDate>
    <guid isPermaLink="false">https://www.trueten.de/archives/11740-guid.html</guid>
    <category>PiHole</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Mini HowTo: OpenDKIM für Postfix installieren</title>
    <link>https://www.trueten.de/archives/11701-Mini-HowTo-OpenDKIM-fuer-Postfix-installieren.html</link>
            <category>EDV</category>
            <category>Linux</category>
            <category>Nerdkram</category>
            <category>Sicherheit</category>
            <category>SpamCop</category>
    
    <comments>https://www.trueten.de/archives/11701-Mini-HowTo-OpenDKIM-fuer-Postfix-installieren.html#comments</comments>
    <wfw:comment>https://www.trueten.de/wfwcomment.php?cid=11701</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://www.trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=11701</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    &lt;p&gt;&lt;figure class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 40%&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&quot;serendipity_image_link&quot; title=&quot;Foto: Lourdes Cardenal&quot; href=&#039;https://www.trueten.de/uploads/Campo_de_Criptana_Molinos_de_Viento_1.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/Campo_de_Criptana_Molinos_de_Viento_1.jpg&#039;,&#039;Zoom&#039;,&#039;height=877,width=1164,top=289,left=705.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:3691 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;100%&quot;  src=&quot;https://www.trueten.de/uploads/Campo_de_Criptana_Molinos_de_Viento_1.jpg&quot; title=&quot;Foto: Lourdes Cardenal&quot; alt=&quot;Foto: Lourdes Cardenal&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;figcaption class=&quot;serendipity_imageComment_txt&quot;&gt;Campo de Criptana Molinos de Viento / &lt;a title=&quot;en:La Mancha&quot; href=&quot;https://en.wikipedia.org/wiki/La_Mancha&quot;&gt;La Mancha&lt;/a&gt;.&lt;br /&gt;
Foto: Lourdes Cardenal, &lt;a href=&quot;http://creativecommons.org/licenses/by-sa/3.0/&quot;&gt;CC BY-SA 3.0&lt;/a&gt;, via &lt;a href=&quot;https://commons.wikimedia.org/wiki/File:Campo_de_Criptana_Molinos_de_Viento_1.jpg&quot;&gt;Wikimedia Commons&lt;/a&gt;&lt;/figcaption&gt;&lt;/figure&gt;Bekanntlich bin ich der Ansicht, daß alle Spammer an ihren Eiern aufgehängt gehören. Da dieser Wunsch für mich momentan etwas schwierig umzusetzen ist, ich aber trotzdem Interesse an einer weitestgehend Spam bzw. Phishing freien Mailverkehr habe, muss ich wie einst &lt;a href=&quot;https://de.wikipedia.org/wiki/Sisyphos&quot;&gt;Sisyphos&lt;/a&gt; (oder war es &lt;a href=&quot;https://de.wikipedia.org/wiki/Don_Quijote&quot;&gt;Don Quixote&lt;/a&gt;?) gegen unerwünschte Mails kämpfen. Da ich nicht der einzige bin, der diesen Wunsch hegt, gibt es eine breite Palette an Tools, die einen dabei unterstützen. Als Domaindiktator setze ich dabei am Mailserver an: &quot;DomainKeys ist ein Identifikationsprotokoll zur Sicherstellung der Authentizität von E-Mail-Absendern, das von Yahoo entwickelt wurde und seit Ende 2013 ein Internet-Standard ist. Es wurde konzipiert, um bei der Eindämmung von unerwünschter E-Mail wie Spam oder Phishing zu helfen.&quot;  DKIM-Signaturen machen also Veränderungen an Header und Body einer Mail erkennbar.&lt;br /&gt;
Da es einige Stolperfallen bei der Einrichtung gibt, die das korrekte Funktionieren verhindern können, habe ich mir ein kurzes und rudimentäres HowTo verfasst:&lt;br /&gt;
&lt;br /&gt;
Das Szenario: Alle Mails der Doman domainname.de sollen signiert werden. Alle eingehenden Mails sollen verifiziert werden. Wir haben Zugriff auf Nameservereinträge der Domain und ein &lt;a href=&quot;https://de.postfix.org/&quot;&gt;Postfix&lt;/a&gt; Server sowie &lt;a href=&quot;https://www.ijs.si/software/amavisd/&quot;&gt;Amavis&lt;/a&gt; und &lt;a href=&quot;https://spamassassin.apache.org/&quot;&gt;Spamassassin&lt;/a&gt; verrichten ihren Dienst auf einem debian System. Den DKIM Dienst soll &lt;a href=&quot;http://opendkim.org/&quot;&gt;openDKIM&lt;/a&gt; übernehmen, das wir gleich mal in einem Terminal zusammen mit ein paar Tools installieren:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
sudo apt install opendkim opendkim-tools
&lt;/pre&gt;&lt;br /&gt;
Dann legen wir ein Schlüsselverzeichnis an und generieren den Schlüssel. Wichtig ist die &lt;strong&gt;korrekte Rechtevergabe in den Schlüsselverzeichnissen&lt;/strong&gt;! Zudem sollte der Dienst nicht als root laufen sondern unter dem User opendkim. Dieser darf in keiner anderen Gruppe Mitglied sein, ansonsten quittiert der Dienst den selbigen mit einer Fehlermeldung.&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
mkdir /etc/opendkim/keys/domainname.de
/usr/bin/opendkim-genkey -D /etc/opendkim/keys/domainname.de/ -d domainname.de -s 2020
chown -R root:opendkim /etc/opendkim/keys/domainname.de
chmod 640 /etc/opendkim/keys/domainname.de/2020.private
chmod 644 /etc/opendkim/keys/domainname.de/2020.txt
&lt;/pre&gt;&lt;br /&gt;
Im Anschluss bearbeiten wir die /etc/opendkim.conf:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; font-family: monospace; white-space: pre; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-weight: 400; font-style: normal; font-size: 13px; vertical-align: baseline; overflow: auto; color: black; line-height: 2em; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;&quot;&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;Domain   domainname.de
&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;Selector 2020                             # Das ist der im vorigen Schritt angegebene Selector. Interessant für diejenigen, die den DKIM Key regelmäßig aktualisieren.
&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;KeyFile  /etc/&lt;/span&gt;opendkim/domainname.de/2020.private
&lt;span style=&quot;font-size: 13px;&quot;&gt;Socket   inet:8891@localhost
&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;Canonicalization        relaxed/simple    # Auf Headermodifikationen nicht gleich allergisch reagieren
&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;Mode                    sv                # Mails [s]ignieren und [v]erifizieren&lt;/span&gt;
&lt;/pre&gt;&lt;br /&gt;
Wir starten den Dienst: &lt;span style=&quot;color: #222222; font-family: sans-serif; font-size: 16px;&quot;&gt; &lt;/span&gt;&lt;span id=&quot;line-47&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 16px; font-family: sans-serif; vertical-align: baseline; color: #222222;&quot;&gt;&lt;/span&gt;&lt;tt style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; white-space: pre;&quot;&gt;sudo systemctl restart opendkim&lt;/tt&gt; und regeln, daß der Dienst beim Systemstart gleich gestartet wird: &lt;span style=&quot;color: #222222; font-family: sans-serif; font-size: 16px;&quot;&gt; &lt;/span&gt;&lt;span id=&quot;line-47&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 16px; font-family: sans-serif; vertical-align: baseline; color: #222222;&quot;&gt;&lt;/span&gt;&lt;tt style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; white-space: pre;&quot;&gt;systemctl enable opendkim.&lt;/tt&gt; Dann befassen wir uns mit der Integration von openDKIM in Postfix. Dazu editieren wir die /etc/postfix/main.cf:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; font-family: monospace; white-space: pre; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-weight: 400; font-style: normal; font-size: 13px; vertical-align: baseline; overflow: auto; color: black; line-height: 2em; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;&quot;&gt;
smtpd_milters = inet:localhost:8891
&lt;span id=&quot;line-2-1&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;non_smtpd_milters = $smtpd_milters
&lt;/pre&gt;&lt;br /&gt;
Danach muss  Postfix diese Änderung bekannt gegeben werden: &lt;tt style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-size: 13px; vertical-align: baseline; white-space: pre;&quot;&gt;sudo systemctl reload postfix&lt;/tt&gt;&lt;span style=&quot;color: #222222; font-family: sans-serif; font-size: 16px;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Das war es im Grunde dann auch schon. Bis auf eine Kleinigkeit: Die Integration des Schlüssels als TXT Record im Nameservereintrag von domainname.de. Diese Einstellung unterscheidet sich von Provider zu Provider, daher an der Stelle auch nur der allgemeine Hinweis:&lt;p&gt;&lt;br /&gt;
&lt;table style=&quot;height: 43px;&quot; width=&quot;1791&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;strong&gt;Record Name&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;strong&gt;Record Type&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;strong&gt;Text&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;mail._domainkey&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;TXT&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;v=DKIM1; k=rsa; p=MI.. (Hier Inhalt von /etc/opendkim/keys/domainname.de/2020.txt einfügen, dabei alle &amp;gt;&quot;&amp;lt; entfernen und alle Zeilen nach p= in einen Schlüssel ohne Leerzeichen verbinden.)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
Das korrekte Eintragen des Schlüssels kann kompliziert sein, vor allem der Teil nach &quot;p=&quot; darf weder um- noch unterbrochen sein. Ansonsten wird der Schlüssel nicht erkannt!&lt;br /&gt;
&lt;br /&gt;
Testen des Keys:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; font-family: monospace; white-space: pre; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-weight: 400; font-style: normal; font-size: 13px; vertical-align: baseline; overflow: auto; color: black; line-height: 2em; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;&quot;&gt;
# opendkim-testkey -d domainname.de -s mail -vvv
&lt;span id=&quot;line-2-11&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;
&lt;span id=&quot;line-3-6&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;opendkim-testkey: using default configfile /etc/opendkim.conf
&lt;span id=&quot;line-4-4&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;opendkim-testkey: checking key &#039;mail._domainkey.domainname.de&#039;
&lt;span id=&quot;line-5-3&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;opendkim-testkey: key not secure
&lt;span id=&quot;line-6-1&quot; class=&quot;anchor&quot; style=&quot;margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; vertical-align: baseline;&quot;&gt;&lt;/span&gt;opendkim-testkey: key OK
&lt;/pre&gt;&lt;br /&gt;
Sofern keine Fehlermeldungen auftreten, kann man sich nun darum kümmern, eingehenden Spam weiter zu filtern. In Amavis ist der DKIM Filter in einigen Debian Derivaten deaktiviert, lässt sich aber einfach aktivieren. Dazu muss in der Konfigurationsdatei &lt;tt class=&quot;docutils literal&quot;&gt;/etc/amavis/conf.d/20-debian-defaults&lt;/tt&gt; folgender Parameter gesetzt werden:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
$enable_dkim_verification = 1;
&lt;/pre&gt;&lt;br /&gt;
In der Datei &lt;tt class=&quot;docutils literal&quot;&gt;/etc/amavis/conf.d/50-user&lt;/tt&gt; muss für eine erweitere Anzeige der Überprüfungsergebnisse dann als letztes noch folgender Parameter gesetzt werden:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
$allowed_added_header_fields{lc(&#039;Authentication-Results&#039;)} = 1;
&lt;/pre&gt;&lt;br /&gt;
Im täglichen Mailverkehr empfiehlt sich darüber hinaus ein Addon für den freien Mailclient &lt;a href=&quot;https://www.thunderbird.net/de/&quot;&gt;Thunderbird&lt;/a&gt; zur Kontrolle der empfangenen Mails: Den &lt;a href=&quot;https://addons.thunderbird.net/de/thunderbird/addon/dkim-verifier/&quot;&gt;DKIM Verifier&lt;/a&gt;. Dieses Addon überprüft beim Öffnen einer Mail die Gültigkeit der Signatur. Somit kann man sich (halbwegs) sicher sein, daß die Mail vom signierenden Mailserver stammt. Natürlich nutzen auch einzelne Spammer DKIM. &lt;em&gt;&quot;Es ist wichtig zu beachten, dass eine E-Mail durch eine beliebige Domain signiert seinen kann. Eine gültige Signatur alleine ist daher kein Hinweis auf eine vertrauenswürdige E-Mail. Um zu entscheiden ob eine E-Mail vertrauenswürdig ist sollte immer überprüft werden wer der Signierende ist! In einigen Fällen kann die Abwesenheit einer DKIM Signatur nützlich sein um betrügerische E-Mails zu erkennen. Falls bekannt ist, dass eine Domain alle ihre E-Mails mittels DKIM signiert, ist das Nichtvorhandensein einer DKIM Signatur ein starker Hinweis auf eine gefälschte E-Mail.&quot; (&lt;/em&gt;Aus der Addon Beschreibung)&lt;br /&gt;
&lt;br /&gt;
Quellen:&lt;br /&gt;
&lt;a href=&quot;https://wiki.debian.org/opendkim&quot;&gt;debianwiki&lt;/a&gt;, &lt;a href=&quot;https://www.stevejenkins.com/blog/2011/08/installing-opendkim-rpm-via-yum-with-postfix-or-sendmail-for-rhel-centos-fedora/&quot;&gt;Steven Jenkins&lt;/a&gt;, &lt;a href=&quot;https://kofler.info/dkim-konfiguration-fuer-postfix/&quot;&gt;Michael Kofler&lt;/a&gt;, &lt;a href=&quot;https://de.wikipedia.org/wiki/DomainKeys&quot;&gt;WikiPedia&lt;/a&gt;, &lt;a title=&quot;Philippe Lieser&quot; href=&quot;https://addons.thunderbird.net/de/thunderbird/user/lieser/&quot;&gt;Philippe Lieser&lt;/a&gt;, &lt;a href=&quot;https://blog.sys4.de/amavisd-new-dkim-howto-de.html&quot;&gt;Patrick Koetter&lt;/a&gt;&lt;p&gt;&lt;p&gt; 
    </content:encoded>

    <pubDate>Fri, 13 Nov 2020 11:29:00 +0100</pubDate>
    <guid isPermaLink="false">https://www.trueten.de/archives/11701-guid.html</guid>
    <category>dkim</category>
<category>postfix</category>
<category>spamassassin</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>

</channel>
</rss>
