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 --- src/blog/a/mail_server_with_postfix.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-54-g00ecf