Email configuration #9

Merged
rouven0 merged 14 commits from mail into main 2023-02-03 16:12:10 +01:00
Showing only changes of commit e893690e1d - Show all commits

View file

@ -2,18 +2,20 @@
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
let
hostname = "mail.${config.fsr.domain}";
domain = config.fsr.domain;
ldap-aliases = pkgs.writeText "ldap-aliases.cf" ''
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
server_host = ldaps://auth.${config.fsr.domain}
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
search_base = dc=ifsr, dc=de
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
'';
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
# brauchen wir das überhaupt?
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
#ldap-aliases = pkgs.writeText "ldap-aliases.cf" ''
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
#server_host = ldap://localhost
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
#search_base = ou=mail, dc=ifsr, dc=de
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
#'';
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
dovecot-ldap-args = pkgs.writeText "ldap-args" ''
uris = auth.${config.fsr.domain}
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
dn = uid=search, ou=admins, dc=ifsr, dc=de
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
uris = ldap://localhost
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
dn = uid=search, ou=users, dc=ifsr, dc=de
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
auth_bind = yes
dnpass = $(${pkgs.coreutils}/bin/cat /run/secrets/portunus_search)
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
ldap_version = 3
scope = subtree
base = ou=ifsr, dc=ifsr, dc=de
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
base = dc=ifsr, dc=de
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
user_filter = (&(ou=mail)(uid=%n))
pass_filter = (&(ou=mail)(uid=%n))
'';
@ -39,7 +41,7 @@ in
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
"permit_sasl_authenticated"
"permit_mynetworks"
];
alias_maps = [ "ldap:${ldap-aliases}" ];
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
#alias_maps = [ "ldap:${ldap-aliases}" ];
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
smtpd_sasl_auth_enable = true;
smtpd_sasl_path = "/var/lib/postfix/auth";
virtual_mailbox_base = "/var/spool/mail";
@ -71,8 +73,6 @@ in
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
};
extraConfig = ''
mail_location = maildir:/var/mail/%u
auth_mechanisms = plain login
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
disable_plaintext_auth = no
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
passdb {
driver = ldap
args = ${dovecot-ldap-args}

tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`
tanneberger commented 2023-02-03 15:52:48 +01:00 (Migrated from github.com)
Review

sops.config.secrets.portunus_search.path

`sops.config.secrets.portunus_search.path`
tanneberger commented 2023-02-03 15:53:55 +01:00 (Migrated from github.com)
Review

/var/lib/mail

`/var/lib/mail`
tanneberger commented 2023-02-03 15:54:52 +01:00 (Migrated from github.com)
Review

rspamd.ifsr.de

`rspamd.ifsr.de`