From 63cb51b74a7ddfc33d212d99540d68a2c9cc8ad3 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 18 Jun 2023 23:31:19 -0600 Subject: add note regarding chroot for postfix --- db/db_blog.psv | 2 +- live/blog/a/mail_server_with_postfix.html | 5 +++-- live/blog/rss.xml | 3 ++- live/blog/sitemap.xml | 2 +- src/blog/a/mail_server_with_postfix.md | 4 +++- 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 @@

Set up a Mail server with Postfix, Dovecot, SpamAssassin and OpenDKIM

The entry is going to be long because it’s a tedious process. This is also based on Luke Smith’s script, 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. 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; in the case that you want to run in chroot then add the steps chown in the Arch wiki: 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