summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-06-18 23:31:19 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-06-18 23:31:19 -0600
commit63cb51b74a7ddfc33d212d99540d68a2c9cc8ad3 (patch)
tree1e558d24de3555234d9eb4f3f89d5684fe3133a6
parent23685502f3f923930cc9c24a1e2e99b5173d2a37 (diff)
add note regarding chroot for postfix
-rw-r--r--db/db_blog.psv2
-rw-r--r--live/blog/a/mail_server_with_postfix.html5
-rw-r--r--live/blog/rss.xml3
-rw-r--r--live/blog/sitemap.xml2
-rw-r--r--src/blog/a/mail_server_with_postfix.md4
5 files changed, 10 insertions, 6 deletions
diff --git a/db/db_blog.psv b/db/db_blog.psv
index ea3e806..9c40636 100644
--- a/db/db_blog.psv
+++ b/db/db_blog.psv
@@ -2,7 +2,7 @@ a/website_with_nginx.md|1616122695.085315|1685764385.7777424|c96f99661fff26a051a
a/git_server_with_cgit.md|1616353229.8983006|1685764373.0277462|69dbfe83102414824ccc52be085c8271|code,english,server,tools,tutorial
a/el_blog_ya_tiene_timestamps.md|1615862784.9032707|1683224100.6342998|935866045bf6c35cbb2a4c2fbc2f0eb1|short,spanish,tools,update
a/first_blog_post.md|1614431313.2090824|1683224048.8343117|d613be2d506a0f7ce03f8fa54f772717|english,short,tools,update
-a/mail_server_with_postfix.md|1616299559.6570284|1685764466.5177166|e7fd807fa9d82b37efc8afbfbea658f6|code,english,server,tools,tutorial
+a/mail_server_with_postfix.md|1616299559.6570284|1687152636.3146439|9fdb4f02c11e4e8b9e0f8c448a4809ec|code,english,server,tools,tutorial
a/new_blogging_system.md|1622172099.117893|1683224290.3242564|8370fc65f367886bcfa805cbb8770e01|english,short,tools,update
a/asi_nomas_esta_quedando.md|1622795043.0874712|1683224323.4442492|a036daaa7940f2567057a775078c418c|short,spanish,update
a/acomodada_la_pagina_de_arte.md|1623006369.6071973|1683224355.424242|e1aceca92dc98af9e4c3a0b1cec61fb3|short,spanish,update
diff --git a/live/blog/a/mail_server_with_postfix.html b/live/blog/a/mail_server_with_postfix.html
index cd1e191..131683c 100644
--- a/live/blog/a/mail_server_with_postfix.html
+++ b/live/blog/a/mail_server_with_postfix.html
@@ -88,7 +88,8 @@
<h1>Set up a Mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM</h1>
<p>The entry is going to be long because it&rsquo;s a <em>tedious</em> process. This is also based on <a href="https://github.com/LukeSmithxyz/emailwiz">Luke Smith&rsquo;s script</a>, but adapted to Arch Linux (his script works on debian-based distributions). This entry is mostly so I can record all the notes required while I&rsquo;m in the process of installing/configuring the mail server on a new VPS of mine; <del>also I&rsquo;m going to be writing a script that does everything in one go (for Arch Linux), that will be hosted <a href="https://git.luevano.xyz/server_scripts.git">here</a>.</del> <ins>I haven&rsquo;t had time to do the script so nevermind this, if I ever do it I&rsquo;ll make a new entry regarding it.</ins></p>
-<p>This configuration works for local users (users that appear in <code>/etc/passwd</code>), and does not use any type of SQL database. And note that most if not all commands executed here are run with root privileges, unless stated otherwise.</p>
+<p>This configuration works for local users (users that appear in <code>/etc/passwd</code>), and does not use any type of SQL database. Do note that I&rsquo;m not running Postfix in a chroot, which can be a problem if you&rsquo;re following my steps as noted by <mark><a href="https://bojanmilevski.com/">Bojan</a></mark>; in the case that you want to run in chroot then add the steps chown in the Arch wiki: <a href="https://wiki.archlinux.org/title/postfix#Postfix_in_a_chroot_jail">Postfix in a chroot jail</a>; the issue faced if following my steps and using a chroot is that there will be issues resolving the hostname due to <code>/etc/hosts</code> or <code>/etc/hostname</code> not being available in the chroot.</p>
+<p>All commands executed here are run with root privileges, unless stated otherwise.</p>
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">&para;</a></h2>
<div class="toc">
<ul>
@@ -485,7 +486,7 @@ systemctl enable spamassassin.service
<div class="article-info">
<p>By David Luévano</p>
<p>Created: Sun, Mar 21, 2021 @ 04:05 UTC</p>
- <p>Modified: Sat, Jun 03, 2023 @ 03:54 UTC</p>
+ <p>Modified: Mon, Jun 19, 2023 @ 05:30 UTC</p>
<div class="article-tags">
<p>Tags:
<a href="https://blog.luevano.xyz/tag/@code.html">code</a>, <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a> </p>
diff --git a/live/blog/rss.xml b/live/blog/rss.xml
index d96d238..79e1c87 100644
--- a/live/blog/rss.xml
+++ b/live/blog/rss.xml
@@ -3084,7 +3084,8 @@ exec highlight --force --inline-css -f -I -O xhtml -S &quot;$EXTENSION&quot; 2&g
<category>Tutorial</category>
<description>How to set up a Mail server using Postfix, Dovecot, SpamAssassin and OpenDKIM, on Arch. This is a follow up on post about creating a website with Nginx and Certbot.</description>
<content:encoded><![CDATA[<p>The entry is going to be long because it&rsquo;s a <em>tedious</em> process. This is also based on <a href="https://github.com/LukeSmithxyz/emailwiz">Luke Smith&rsquo;s script</a>, but adapted to Arch Linux (his script works on debian-based distributions). This entry is mostly so I can record all the notes required while I&rsquo;m in the process of installing/configuring the mail server on a new VPS of mine; <del>also I&rsquo;m going to be writing a script that does everything in one go (for Arch Linux), that will be hosted <a href="https://git.luevano.xyz/server_scripts.git">here</a>.</del> <ins>I haven&rsquo;t had time to do the script so nevermind this, if I ever do it I&rsquo;ll make a new entry regarding it.</ins></p>
-<p>This configuration works for local users (users that appear in <code>/etc/passwd</code>), and does not use any type of SQL database. And note that most if not all commands executed here are run with root privileges, unless stated otherwise.</p>
+<p>This configuration works for local users (users that appear in <code>/etc/passwd</code>), and does not use any type of SQL database. Do note that I&rsquo;m not running Postfix in a chroot, which can be a problem if you&rsquo;re following my steps as noted by <mark><a href="https://bojanmilevski.com/">Bojan</a></mark>; in the case that you want to run in chroot then add the steps chown in the Arch wiki: <a href="https://wiki.archlinux.org/title/postfix#Postfix_in_a_chroot_jail">Postfix in a chroot jail</a>; the issue faced if following my steps and using a chroot is that there will be issues resolving the hostname due to <code>/etc/hosts</code> or <code>/etc/hostname</code> not being available in the chroot.</p>
+<p>All commands executed here are run with root privileges, unless stated otherwise.</p>
<h2 id="table-of-contents">Table of contents<a class="headerlink" href="#table-of-contents" title="Permanent link">&para;</a></h2>
<div class="toc">
<ul>
diff --git a/live/blog/sitemap.xml b/live/blog/sitemap.xml
index 0efd230..1695776 100644
--- a/live/blog/sitemap.xml
+++ b/live/blog/sitemap.xml
@@ -179,7 +179,7 @@
</url>
<url>
<loc>https://blog.luevano.xyz/a/mail_server_with_postfix.html</loc>
- <lastmod>2023-06-03</lastmod>
+ <lastmod>2023-06-19</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
diff --git a/src/blog/a/mail_server_with_postfix.md b/src/blog/a/mail_server_with_postfix.md
index 256d757..de658c1 100644
--- a/src/blog/a/mail_server_with_postfix.md
+++ b/src/blog/a/mail_server_with_postfix.md
@@ -10,7 +10,9 @@ tags: server
The entry is going to be long because it's a *tedious* process. This is also based on [Luke Smith's script](https://github.com/LukeSmithxyz/emailwiz), but adapted to Arch Linux (his script works on debian-based distributions). This entry is mostly so I can record all the notes required while I'm in the process of installing/configuring the mail server on a new VPS of mine; ~~also I'm going to be writing a script that does everything in one go (for Arch Linux), that will be hosted [here](https://git.luevano.xyz/server_scripts.git).~~ ^^I haven't had time to do the script so nevermind this, if I ever do it I'll make a new entry regarding it.^^
-This configuration works for local users (users that appear in `/etc/passwd`), and does not use any type of SQL database. And note that most if not all commands executed here are run with root privileges, unless stated otherwise.
+This configuration works for local users (users that appear in `/etc/passwd`), and does not use any type of SQL database. Do note that I'm not running Postfix in a chroot, which can be a problem if you're following my steps as noted by ==[Bojan](https://bojanmilevski.com/)==; in the case that you want to run in chroot then add the steps chown in the Arch wiki: [Postfix in a chroot jail](https://wiki.archlinux.org/title/postfix#Postfix_in_a_chroot_jail); the issue faced if following my steps and using a chroot is that there will be issues resolving the hostname due to `/etc/hosts` or `/etc/hostname` not being available in the chroot.
+
+All commands executed here are run with root privileges, unless stated otherwise.
# Table of contents