shithub: sirjofri_de

Download patch

ref: 15f77527b6ffc8ec6449c65189493ea220855a87
parent: 9c91eb7d6fc918527c0518d6134c948414196833
author: sirjofri <sirjofri@sirjofri.de>
date: Fri Dec 18 09:53:46 EST 2020

new blog post, adds missing changes from before

diff: cannot open b/pub/changeblog/1608301892//null: file does not exist: 'b/pub/changeblog/1608301892//null'
--- a/changeblog.ht
+++ b/changeblog.ht
@@ -5,6 +5,7 @@
 <a href="changeblog.pdf">Download pdf</a><br>
 <a href="/changeblog.xml">Feed</a><br>
 <ul>
+<li><a href="/changeblog/1608301892/">Fri, 18 Dec 2020 15:31:32 +0100: Automatically save sent files in “Sent”</a></li>
 <li><a href="/changeblog/1608028434/">Tue, 15 Dec 2020 11:33:54 +0100: 9front on Lenovo Thinkpad Twist</a></li>
 <li><a href="/changeblog/1596011563/">Wed, 29 Jul 2020 10:32:43 +0200: Restrict RCPU User Access to Groups</a></li>
 <li><a href="/changeblog/1594885496/">Thu, 16 Jul 2020 09:44:56 +0200: lib/profile quick hack</a></li>
--- /dev/null
+++ b/changeblog/1608301892.ht
@@ -1,0 +1,84 @@
+<article>
+<header>
+<h2>Automatically save sent files in “Sent”</h2>
+<b>Fri, 18 Dec 2020 15:31:32 +0100</b>
+</header>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="line-height: 1.4em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: center;">
+<span style="font-size: 12pt"><b>Automatically save sent files in “Sent”</b></span></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.42in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Since it is what many mail clients do it might be helpful for other people to have this.
+As for me, I like to have all my outgoing mails automatically saved in a </span><span style="font-size: 10pt"><i>Sent</i></span><span style="font-size: 10pt"> directory, so that&rsquo;s what I want to do.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">There are multiple ways to do this.
+I want to present a very simple way without sending your mail to yourself or something like that.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Outgoing mail is processed via
+</span><span style="font-size: 10pt"><tt>upas/send</tt></span><span style="font-size: 10pt">
+or
+</span><span style="font-size: 10pt"><tt>/mail/box/$user/pipefrom</tt></span><span style="font-size: 10pt">,
+if that exists.
+We use this feature to build or own little filter script for outgoing mails.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">The script itself is very simple.
+We just need a temporary place to store the mail message, then save it in the
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+directory and forward it to the normal send routines:
+</span></p><p style="margin-top: 0; margin-bottom: 0.08in"></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>#!/bin/rc</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>rfork en</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt># see /sys/src/cmd/upas/filterkit/pipefrom.sample .</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>bind -c /mail/tmp /tmp</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>TMP=/mail/tmp/mine.$pid</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>cat &gt; $TMP</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>/bin/upas/mbappend /mail/box/&lt;yourusername&gt;/Sent &lt; $TMP</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>/bin/upas/send $* &lt; $TMP</tt></span></p>
+<p style="margin-top: 0; margin-bottom: 0.17in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.08in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Of course you need to create the directory
+</span><span style="font-size: 10pt"><tt>/mail/box/&lt;yourusername&gt;/Sent</tt></span><span style="font-size: 10pt">
+and exchange
+</span><span style="font-size: 10pt"><tt>&lt;yourusername&gt;</tt></span><span style="font-size: 10pt">
+with your
+</span><span style="font-size: 10pt"><tt>$user</tt></span><span style="font-size: 10pt">
+and make this script executable.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">The
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+directory needs read and write access for your own user, which should be fine with the defaults.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">If you want unauthenticated users to send mails to that directory you need to make this directory world-writable.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">With these adjustments you can send mails with acme/marshal and they are automatically saved in your
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+mailbox.
+</span></p><p style="margin-top: 0; margin-bottom: 0.50in"></p>
+
+</article>
--- /dev/null
+++ b/changeblog/1608301892.ms
@@ -1,0 +1,52 @@
+.HTML Automatically save sent files in “Sent”
+.TL
+Automatically save sent files in “Sent”
+.LP
+Since it is what many mail clients do it might be helpful for other people to have this.
+As for me, I like to have all my outgoing mails automatically saved in a \fISent\fR directory, so that's what I want to do.
+.PP
+There are multiple ways to do this.
+I want to present a very simple way without sending your mail to yourself or something like that.
+.PP
+Outgoing mail is processed via
+.CW upas/send
+or
+.CW /mail/box/$user/pipefrom ,
+if that exists.
+We use this feature to build or own little filter script for outgoing mails.
+.PP
+The script itself is very simple.
+We just need a temporary place to store the mail message, then save it in the
+.CW Sent
+directory and forward it to the normal send routines:
+.P1
+#!/bin/rc
+.br
+rfork en
+# see /sys/src/cmd/upas/filterkit/pipefrom.sample .
+bind -c /mail/tmp /tmp
+TMP=/mail/tmp/mine.$pid
+.br
+cat > $TMP
+.br
+/bin/upas/mbappend /mail/box/<yourusername>/Sent < $TMP
+/bin/upas/send $* < $TMP
+.P2
+.PP
+Of course you need to create the directory
+.CW /mail/box/<yourusername>/Sent
+and exchange
+.CW <yourusername>
+with your
+.CW $user
+and make this script executable.
+.PP
+The
+.CW Sent
+directory needs read and write access for your own user, which should be fine with the defaults.
+.PP
+If you want unauthenticated users to send mails to that directory you need to make this directory world-writable.
+.PP
+With these adjustments you can send mails with acme/marshal and they are automatically saved in your
+.CW Sent
+mailbox.
--- a/imprint.ht
+++ /dev/null
@@ -1,30 +1,0 @@
-<section>
-<header>
-	<h2>Impressum</h2>
-</header>
-	<p>Joel Fridolin Meyer (sirjofri)<br>
-	E-Mail: <a href="mailto:sirjofri@sirjofri.de">sirjofri@sirjofri.de</a></p>
-</section>
-<section>
-<header>
-	<h2>Haftung für Inhalte</h2>
-</header>
-	<p>Verantwortlich für den gesamten Inhalt dieser Seite mit allen Unterseiten ist die oben genannte natürliche Person. Urheber aller erscheinenden Artikel auf dieser Seite ist ebenfalls &ndash; soweit nichts anderes angegeben ist &ndash; die oben genannte Person.</p>
-	<p>Rechtsverletzende Inhalte werden bei Bedarf sofort entfernt. Dafür nehmen Sie vor dem Einleiten rechtlicher Schritte Kontakt mit mir auf, zum Beispiel über E-Mail. Bitte versuchen Sie, rechtliche Schritte zu vermeiden.</p>
-</section>
-<section>
-<header>
-	<h2>Haftung für Links</h2>
-</header>
-	<p>Der Seiteninhaber dieser Website distanziert sich von allen extern verlinkten Seiten. Für Inhalte externer Seiten ist ausschließlich deren Betreiber zuständig.</p>
-</section>
-<section>
-	<h2>Datenschutz</h2>
-	<p>Es werden keinerlei personengebundene Daten erhoben. Ebenso werden keine Cookies/Sessions angelegt. Weiterhin gibt es keine Möglichkeit zur direkten Eingabe von Daten. Unangeforderte werden ignoriert, sofern es sich nicht um existente Angebote des vorhandenen Webangebots handelt.</p>
-	<h3>E-Mails</h3>
-	<p>Wenn Sie mir eine E-Mail schreiben erhalte ich Ihre E-Mail-Adresse. Dies lässt sich technisch nicht anders machen und sollte eigentlich selbstverständlich sein. Den Inhalt dieser Mails lese ich, bei Bedarf wird zeitnah geantwortet.</p>
-	<h3>Logging</h3>
-	<p>Bei einem Besuch auf meiner Website werden IP-Adressen maskiert protokolliert. Das heißt, es ist möglich, herauszufinden, bei welchem Internet-Anbieter Sie sind, nicht jedoch, wer Sie sind (<a href="https://wiki.uberspace.de/webserver:logs#access_log">mehr informationen</a>). Bitte beachten Sie, dass für dieses Logging mein Hoster (uberspace) zuständig ist. Ich habe damit gar nichts zu tun.</p>
-	<h3>Ihre Rechte</h3>
-	<p>Sie haben das Recht, ihre personengebundenen Daten einzusehen und auf Wunsch entfernen zu lassen. Um von diesem Recht Gebrauch zu machen, senden Sie einfach eine formlose Mail an meine Adresse und beschreiben, welche Daten Sie gelöscht haben möchten. Ich werde Ihrem Wunsch schnellstmöglich und zuverlässig nachkommen.</p>
-</section>
\ No newline at end of file
--- a/pub/changeblog.plain.xml
+++ b/pub/changeblog.plain.xml
@@ -8,7 +8,61 @@
 <rights>© Copyright 2020 sirjofri</rights>
 <id>https://sirjofri.de/</id>
 <title>changeblog</title>
-<updated>2020-12-15T12:12:41+01:00</updated>
+<updated>2020-12-18T15:50:37+01:00</updated>
+<entry>
+	<title>Automatically save sent files in “Sent”</title>
+	<id>https://sirjofri.de/changeblog/1608301892/</id>
+	<link href="https://sirjofri.de/changeblog/1608301892/"/>
+	<updated>2020-12-18T15:31:32+01:00</updated>
+	<content type="text">
+
+
+
+ Automatically save sent files in “Sent”
+
+
+
+Since it is what many mail clients do it might be helpful for other people to have this. As for me, I like to
+have all my outgoing mails automatically saved in a Sent directory, so that's what I want to do.
+
+ There are multiple ways to do this. I want to present a very simple way without sending your mail to
+yourself or something like that.
+
+ Outgoing mail is processed via upas/send or /mail/box/$user/pipefrom, if that exists.
+We use this feature to build or own little filter script for outgoing mails.
+
+ The script itself is very simple. We just need a temporary place to store the mail message, then save
+it in the Sent directory and forward it to the normal send routines:
+
+ #!/bin/rc
+ rfork en
+ # see /sys/src/cmd/upas/filterkit/pipefrom.sample .
+ bind -c /mail/tmp /tmp
+ TMP=/mail/tmp/mine.$pid
+ cat &gt; $TMP
+ /bin/upas/mbappend /mail/box/&lt;yourusername&gt;/Sent &lt; $TMP
+ /bin/upas/send $* &lt; $TMP
+
+
+ Of course you need to create the directory /mail/box/&lt;yourusername&gt;/Sent and exchange
+&lt;yourusername&gt; with your $user and make this script executable.
+
+ The Sent directory needs read and write access for your own user, which should be fine with the
+defaults.
+
+ If you want unauthenticated users to send mails to that directory you need to make this directory
+world-writable.
+
+ With these adjustments you can send mails with acme/marshal and they are automatically saved in
+your Sent mailbox.
+
+
+
+
+
+</content>
+</entry>
+
 <entry>
 	<title>9front on Lenovo Thinkpad Twist</title>
 	<id>https://sirjofri.de/changeblog/1608028434/</id>
--- a/pub/changeblog.xml
+++ b/pub/changeblog.xml
@@ -8,8 +8,94 @@
 <rights>© Copyright 2020 sirjofri</rights>
 <id>https://sirjofri.de/</id>
 <title>changeblog</title>
-<updated>2020-12-15T12:12:41+01:00</updated>
+<updated>2020-12-18T15:50:36+01:00</updated>
 <entry>
+	<title>Automatically save sent files in “Sent”</title>
+	<id>https://sirjofri.de/changeblog/1608301892/</id>
+	<link href="https://sirjofri.de/changeblog/1608301892/"/>
+	<updated>2020-12-18T15:31:32+01:00</updated>
+	<content type="html"><![CDATA[<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="line-height: 1.4em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: center;">
+<span style="font-size: 12pt"><b>Automatically save sent files in “Sent”</b></span></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.42in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Since it is what many mail clients do it might be helpful for other people to have this.
+As for me, I like to have all my outgoing mails automatically saved in a </span><span style="font-size: 10pt"><i>Sent</i></span><span style="font-size: 10pt"> directory, so that&rsquo;s what I want to do.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">There are multiple ways to do this.
+I want to present a very simple way without sending your mail to yourself or something like that.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Outgoing mail is processed via
+</span><span style="font-size: 10pt"><tt>upas/send</tt></span><span style="font-size: 10pt">
+or
+</span><span style="font-size: 10pt"><tt>/mail/box/$user/pipefrom</tt></span><span style="font-size: 10pt">,
+if that exists.
+We use this feature to build or own little filter script for outgoing mails.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">The script itself is very simple.
+We just need a temporary place to store the mail message, then save it in the
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+directory and forward it to the normal send routines:
+</span></p><p style="margin-top: 0; margin-bottom: 0.08in"></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>#!/bin/rc</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>rfork en</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt># see /sys/src/cmd/upas/filterkit/pipefrom.sample .</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>bind -c /mail/tmp /tmp</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>TMP=/mail/tmp/mine.$pid</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>cat &gt; $TMP</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>/bin/upas/mbappend /mail/box/&lt;yourusername&gt;/Sent &lt; $TMP</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>/bin/upas/send $* &lt; $TMP</tt></span></p>
+<p style="margin-top: 0; margin-bottom: 0.17in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.08in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Of course you need to create the directory
+</span><span style="font-size: 10pt"><tt>/mail/box/&lt;yourusername&gt;/Sent</tt></span><span style="font-size: 10pt">
+and exchange
+</span><span style="font-size: 10pt"><tt>&lt;yourusername&gt;</tt></span><span style="font-size: 10pt">
+with your
+</span><span style="font-size: 10pt"><tt>$user</tt></span><span style="font-size: 10pt">
+and make this script executable.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">The
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+directory needs read and write access for your own user, which should be fine with the defaults.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">If you want unauthenticated users to send mails to that directory you need to make this directory world-writable.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">With these adjustments you can send mails with acme/marshal and they are automatically saved in your
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+mailbox.
+</span></p><p style="margin-top: 0; margin-bottom: 0.50in"></p>
+
+]]></content>
+</entry>
+
+<entry>
 	<title>9front on Lenovo Thinkpad Twist</title>
 	<id>https://sirjofri.de/changeblog/1608028434/</id>
 	<link href="https://sirjofri.de/changeblog/1608028434/"/>
@@ -408,7 +494,7 @@
 <p style="margin-top: 0; margin-bottom: 0.08in"></p>
 <p style="margin-top: 0; margin-bottom: 0.05in"></p>
 <p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
-<span style="font-size: 10pt">For translating mails I added one more rule for mail address </span><span style="font-size: 10pt"><i>tags</i></span><span style="font-size: 10pt">. These tags are in the form of </span><span style="font-size: 10pt"><i>user+tag@example.com</i></span><span style="font-size: 10pt">. Official specifications say that everything behind that &ldquo;+&rdquo; must be ignored, but it can be used to automatically sort incoming mail into folders. I do this, by the way, so I describe here, how.
+<span style="font-size: 10pt">For translating mails I added one more rule for mail address </span><span style="font-size: 10pt"><i>tags</i></span><span style="font-size: 10pt">. These tags are in the form of </span><span style="font-size: 10pt"><i>user+tag@example.com</i></span><span style="font-size: 10pt">. Official specifications say that everything behind that “+” must be ignored, but it can be used to automatically sort incoming mail into folders. I do this, by the way, so I describe here, how.
 </span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
 <p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
 <span style="font-size: 10pt">We need rules for those plus signs:
@@ -528,7 +614,7 @@
 <span style="font-size: 10pt">Links:
 </span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
 <p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
-<span style="font-size: 10pt">&rarr;  https://fqa.9front.org/fqa7.html#7.7
+<span style="font-size: 10pt">→  https://fqa.9front.org/fqa7.html#7.7
 </span></p><p style="margin-top: 0; margin-bottom: 0.50in"></p>
 
 ]]></content>
--- /dev/null
+++ b/pub/changeblog/1608301892/index.html
@@ -1,0 +1,121 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<meta name="description" content="my personal website with changeblog and shared resources">
+<title>sirjofri • changeblog/1608301892</title>
+<style type="text/css">
+body {
+	font-family: sans-serif;
+	max-width: 960px;
+	margin: auto;
+	padding: 10px;
+}
+</style>
+</head>
+<body>
+<header>
+<h1>changeblog/1608301892</h1>
+<nav>
+<a href="/">start</a> •
+<a href="/changeblog/">changeblog</a> •
+<a href="/files/">files</a>
+</nav>
+</header>
+<main>
+<article>
+<header>
+<h2>Automatically save sent files in “Sent”</h2>
+<b>Fri, 18 Dec 2020 15:31:32 +0100</b>
+</header>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="line-height: 1.4em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: center;">
+<span style="font-size: 12pt"><b>Automatically save sent files in “Sent”</b></span></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.42in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Since it is what many mail clients do it might be helpful for other people to have this.
+As for me, I like to have all my outgoing mails automatically saved in a </span><span style="font-size: 10pt"><i>Sent</i></span><span style="font-size: 10pt"> directory, so that&rsquo;s what I want to do.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">There are multiple ways to do this.
+I want to present a very simple way without sending your mail to yourself or something like that.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Outgoing mail is processed via
+</span><span style="font-size: 10pt"><tt>upas/send</tt></span><span style="font-size: 10pt">
+or
+</span><span style="font-size: 10pt"><tt>/mail/box/$user/pipefrom</tt></span><span style="font-size: 10pt">,
+if that exists.
+We use this feature to build or own little filter script for outgoing mails.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">The script itself is very simple.
+We just need a temporary place to store the mail message, then save it in the
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+directory and forward it to the normal send routines:
+</span></p><p style="margin-top: 0; margin-bottom: 0.08in"></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>#!/bin/rc</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>rfork en</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt># see /sys/src/cmd/upas/filterkit/pipefrom.sample .</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>bind -c /mail/tmp /tmp</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>TMP=/mail/tmp/mine.$pid</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>cat &gt; $TMP</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>/bin/upas/mbappend /mail/box/&lt;yourusername&gt;/Sent &lt; $TMP</tt></span></p>
+<p style="line-height: 1.1em; margin-left: 1.28in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 9pt"><tt>/bin/upas/send $* &lt; $TMP</tt></span></p>
+<p style="margin-top: 0; margin-bottom: 0.17in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.08in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Of course you need to create the directory
+</span><span style="font-size: 10pt"><tt>/mail/box/&lt;yourusername&gt;/Sent</tt></span><span style="font-size: 10pt">
+and exchange
+</span><span style="font-size: 10pt"><tt>&lt;yourusername&gt;</tt></span><span style="font-size: 10pt">
+with your
+</span><span style="font-size: 10pt"><tt>$user</tt></span><span style="font-size: 10pt">
+and make this script executable.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">The
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+directory needs read and write access for your own user, which should be fine with the defaults.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">If you want unauthenticated users to send mails to that directory you need to make this directory world-writable.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.35in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">With these adjustments you can send mails with acme/marshal and they are automatically saved in your
+</span><span style="font-size: 10pt"><tt>Sent</tt></span><span style="font-size: 10pt">
+mailbox.
+</span></p><p style="margin-top: 0; margin-bottom: 0.50in"></p>
+
+</article>
+</main>
+<hr>
+<footer>
+<a href="/">start</a> •
+<a href="/changeblog/">changeblog</a> •
+<a href="/impressum/">impressum (german)</a>
+<br>
+© Copyright 2020 sirjofri
+</footer>
+</body>
+</html>
binary files a/pub/changeblog/changeblog.pdf b/pub/changeblog/changeblog.pdf differ
--- a/pub/changeblog/index.html
+++ b/pub/changeblog/index.html
@@ -31,6 +31,7 @@
 <a href="changeblog.pdf">Download pdf</a><br>
 <a href="/changeblog.xml">Feed</a><br>
 <ul>
+<li><a href="/changeblog/1608301892/">Fri, 18 Dec 2020 15:31:32 +0100: Automatically save sent files in “Sent”</a></li>
 <li><a href="/changeblog/1608028434/">Tue, 15 Dec 2020 11:33:54 +0100: 9front on Lenovo Thinkpad Twist</a></li>
 <li><a href="/changeblog/1596011563/">Wed, 29 Jul 2020 10:32:43 +0200: Restrict RCPU User Access to Groups</a></li>
 <li><a href="/changeblog/1594885496/">Thu, 16 Jul 2020 09:44:56 +0200: lib/profile quick hack</a></li>