mailservice article: small improvements - www.codemadness.org - www.codemadness.org saait content files (HTM) git clone git://git.codemadness.org/www.codemadness.org (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit e4074546f7e57ec470c4a6066df2c62630aaf42a (DIR) parent 1ba78ca4da4fbf1f531e892c9d90289ea10d49eb (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 25 Oct 2023 12:32:14 +0200 mailservice article: small improvements Diffstat: M output/atom_content.xml | 12 +++++++----- M output/rss_content.xml | 12 +++++++----- M pages/mailservice.md | 12 +++++++----- 3 files changed, 21 insertions(+), 15 deletions(-) --- (DIR) diff --git a/output/atom_content.xml b/output/atom_content.xml @@ -21,7 +21,8 @@ <p><strong>Last modification on </strong> <time>2023-10-25</time></p> <h2>How it works</h2> <ul> -<li>Send a mail with an attachment to a certain mail address.</li> +<li>The user sends a mail with an attachment to a certain mail address, for +example: paste@somehost.org</li> <li>The mail daemon configuration has an mail alias to pipe the raw mail to a shellscript.</li> <li>This shellscript processes the raw mail contents from stdin.</li> @@ -114,10 +115,10 @@ Your friendly paste_bot rm -f "$tmpmail" </code></pre> -<p>The mail daemon processing the mail needs of course be able to have permissions -to write to the specified directory. The user who received the mail needs to be -able to read it from a location they can access and have permissions for it -also.</p> +<p>The mail daemon processing the mail needs of course to be able to have +permissions to write to the specified directory. The user who received the mail +needs to be able to read it from a location they can access and have +permissions for it also.</p> <h2>Room for improvements</h2> <p>Some ideas for improvements:</p> <ul> @@ -132,6 +133,7 @@ to prevent spam bots etc.</li> <li><a href="https://man.openbsd.org/aliases">https://man.openbsd.org/aliases</a></li> <li><a href="https://man.openbsd.org/smtpd">https://man.openbsd.org/smtpd</a></li> <li><a href="https://man.openbsd.org/httpd">https://man.openbsd.org/httpd</a></li> +<li><a href="https://man.openbsd.org/file#i">https://man.openbsd.org/file#i</a></li> <li><a href="https://github.com/leahneukirchen/mblaze">https://github.com/leahneukirchen/mblaze</a></li> </ul> <h2>Bye bye</h2> (DIR) diff --git a/output/rss_content.xml b/output/rss_content.xml @@ -16,7 +16,8 @@ <p><strong>Last modification on </strong> <time>2023-10-25</time></p> <h2>How it works</h2> <ul> -<li>Send a mail with an attachment to a certain mail address.</li> +<li>The user sends a mail with an attachment to a certain mail address, for +example: paste@somehost.org</li> <li>The mail daemon configuration has an mail alias to pipe the raw mail to a shellscript.</li> <li>This shellscript processes the raw mail contents from stdin.</li> @@ -109,10 +110,10 @@ Your friendly paste_bot rm -f "$tmpmail" </code></pre> -<p>The mail daemon processing the mail needs of course be able to have permissions -to write to the specified directory. The user who received the mail needs to be -able to read it from a location they can access and have permissions for it -also.</p> +<p>The mail daemon processing the mail needs of course to be able to have +permissions to write to the specified directory. The user who received the mail +needs to be able to read it from a location they can access and have +permissions for it also.</p> <h2>Room for improvements</h2> <p>Some ideas for improvements:</p> <ul> @@ -127,6 +128,7 @@ to prevent spam bots etc.</li> <li><a href="https://man.openbsd.org/aliases">https://man.openbsd.org/aliases</a></li> <li><a href="https://man.openbsd.org/smtpd">https://man.openbsd.org/smtpd</a></li> <li><a href="https://man.openbsd.org/httpd">https://man.openbsd.org/httpd</a></li> +<li><a href="https://man.openbsd.org/file#i">https://man.openbsd.org/file#i</a></li> <li><a href="https://github.com/leahneukirchen/mblaze">https://github.com/leahneukirchen/mblaze</a></li> </ul> <h2>Bye bye</h2> (DIR) diff --git a/pages/mailservice.md b/pages/mailservice.md @@ -1,6 +1,7 @@ ## How it works -* Send a mail with an attachment to a certain mail address. +* The user sends a mail with an attachment to a certain mail address, for + example: paste@somehost.org * The mail daemon configuration has an mail alias to pipe the raw mail to a shellscript. * This shellscript processes the raw mail contents from stdin. @@ -106,10 +107,10 @@ Script: rm -f "$tmpmail" -The mail daemon processing the mail needs of course be able to have permissions -to write to the specified directory. The user who received the mail needs to be -able to read it from a location they can access and have permissions for it -also. +The mail daemon processing the mail needs of course to be able to have +permissions to write to the specified directory. The user who received the mail +needs to be able to read it from a location they can access and have +permissions for it also. ## Room for improvements @@ -128,6 +129,7 @@ Some ideas for improvements: * <https://man.openbsd.org/aliases> * <https://man.openbsd.org/smtpd> * <https://man.openbsd.org/httpd> +* <https://man.openbsd.org/file#i> * <https://github.com/leahneukirchen/mblaze>