summaryrefslogtreecommitdiffstats
path: root/dovecot
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-06-08 05:07:09 -0400
committerMalfurious <m@lfurio.us>2024-06-09 14:16:42 -0400
commit55a364bda1d1f293a0691198cd6a4d1784cb2f87 (patch)
tree13236dca38bf7298a02cd5ec567f8ad1ca5adae1 /dovecot
parent21cbfd354bc2586b26e1bcff00a388e50aa92bba (diff)
downloadmailnode-55a364bda1d1f293a0691198cd6a4d1784cb2f87.tar.gz
mailnode-55a364bda1d1f293a0691198cd6a4d1784cb2f87.zip
postfix: Enable secure submission of outgoing email
The encrypted "submissions" port (465) is opened in postfix and is configured for delivery of outgoing mail of authenticated users only. The authentication is provided by dovecot via unix socket and account data is sourced from the userconfig directory. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'dovecot')
-rw-r--r--dovecot/dovecot.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/dovecot/dovecot.conf b/dovecot/dovecot.conf
index 19f5ebd..b1e3f9b 100644
--- a/dovecot/dovecot.conf
+++ b/dovecot/dovecot.conf
@@ -30,6 +30,14 @@ userdb {
args = /etc/userconfig/passwd
}
+# Provide user authentication service to postfix submission sessions
+service auth {
+ unix_listener /var/spool/postfix/private/auth {
+ user = postfix
+ group = postfix
+ mode = 0660
+ }
+}
# Location for users mailboxes
# %u - username