summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-03-18 21:30:54 -0700
committerDavid Luevano Alvarado <david@luevano.xyz>2021-03-18 21:30:54 -0700
commitaf97568a2634d8b3cbb35642df471f64a2733839 (patch)
treeb8b1d7e48c0d27f766f7788444b73158eafcd7fc
parent7ef3f1e57d6f2985d53276e0574b925328df2fb0 (diff)
Fix issue
-rw-r--r--blog/src/a/mail_server_with_postfix.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/blog/src/a/mail_server_with_postfix.md b/blog/src/a/mail_server_with_postfix.md
index c985793..beff83f 100644
--- a/blog/src/a/mail_server_with_postfix.md
+++ b/blog/src/a/mail_server_with_postfix.md
@@ -2,7 +2,7 @@
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, that will be hosted in [here](https://git.luevano.xyz/server_scripts.git).
-This configuration works for local users (users that appear in `/etc/passwd`), and does not use any type of SQL.
+This configuration works for local users (users that appear in `/etc/passwd`), and does not use any type of SQL. And note that most if not all commands executed here are run with root privileges.
## Prerequisites
@@ -72,7 +72,6 @@ Pre-configuration to work seamlessly with `dovecot` and `opendkim`:
myhostname = {yourdomainname}
mydomain = localdomain
mydestination = $myhostname, localhost.$mydomain, localhost
-inet_interfaces = $myhostname, localhost
milter_default_action = accept
milter_protocol = 6
@@ -126,4 +125,11 @@ smtps 465/tcp
smtps 465/udp
```
+At this point you're done configuring `postfix` and you can already start/enable the service:
+
+```sh
+systemctl start postfix
+systemctl enable postfix
+```
+
## Dovecot