aboutsummaryrefslogtreecommitdiff
path: root/src/org/euandre/queue.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-17 15:06:19 -0300
committerEuAndreh <eu@euandre.org>2023-03-17 15:25:29 -0300
commit4dadf12bb8613a610bfd1b6b044cd6b5b4ec8ed3 (patch)
tree0777ec11876fe1567ac25389fafb9dcd81350067 /src/org/euandre/queue.scm
parentqueue.scm: Fix positional argument of dkimproxyout config file (diff)
downloadpackage-repository-4dadf12bb8613a610bfd1b6b044cd6b5b4ec8ed3.tar.gz
package-repository-4dadf12bb8613a610bfd1b6b044cd6b5b4ec8ed3.tar.xz
Makefile: Streamline verification of generated config files
Diffstat (limited to 'src/org/euandre/queue.scm')
-rw-r--r--src/org/euandre/queue.scm14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm
index 340bc1e..c331cdd 100644
--- a/src/org/euandre/queue.scm
+++ b/src/org/euandre/queue.scm
@@ -1366,13 +1366,15 @@ max_age: 604800
(state-dir dovecot-configuration-state-dir (default "/var/lib/dovecot"))
(hostname dovecot-configuration-hostname (default (gethostname))))
+
+;; FIXME:
+;; mail_plugins
(define (generate-dovecot-config config)
(match-record config <dovecot-configuration>
(mail-in-home? user group auth-worker-group untrusted-user
hostname base-dir state-dir extra-content)
(format #f
- "
-protocols = imap
+ "protocols = imap
default_internal_user = ~a
default_internal_group = ~a
@@ -1390,7 +1392,6 @@ service auth-worker {
group = ~a
}
-
ssl = required
ssl_cert = </etc/letsencrypt/live/~a/fullchain.pem
ssl_key = </etc/letsencrypt/live/~a/privkey.pem
@@ -1403,10 +1404,6 @@ verbose_proctitle = yes
mail_location = maildir:~a:INBOX=~a:LAYOUT=fs
-# FIXME:
-# mail_plugins
-
-
namespace inbox {
inbox = yes
mailbox Drafts {
@@ -1431,8 +1428,7 @@ namespace inbox {
auto = subscribe
}
}
-~a
-"
+~a"
user
group
untrusted-user