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 ffae1bc8c5 - Show all commits

View file

@ -1,27 +1,25 @@
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`
{ config, pkgs, ... }: { config, pkgs, ... }:
let hostname = "mail.test.stramke.com"; let hostname = "mail.test.stramke.com";
in { in {
networking.firewall.allowedTCPPorts = [ 25 587 143]; networking.firewall.allowedTCPPorts = [ 25 587 143 ];
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`
services = { services = {
postfix = { postfix = {
enable = true; enable = true;
hostname = "${hostname}"; hostname = "${hostname}";
domain = "test.stramke.com";
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`
relayHost = "";
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`
origin = "test.stramke.com";
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`
destination = ["mail.test.stramke.com" "test.stramke.com" "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`
config = { config = {
myorigin = "mail.test.stramke.com"; mynetworks = "168.119.135.69/32 10.0.0.0/24 0.0.0.0/0 127.0.0.1";
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`
mydestination = "127.0.0.1";
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_recipient_restrictions = [ smtpd_recipient_restrictions = [
"reject_unauth_destination" "reject_unauth_destination"
"permit_sasl_authenticated" "permit_sasl_authenticated"
"permit_mynetworks"
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`
]; ];
smtpd_sasl_auth_enable = true; smtpd_sasl_auth_enable = true;
smtpd_sasl_path = "/var/lib/postfix/auth"; smtpd_sasl_path = "/var/lib/postfix/auth";
smtpd_sasl_type = "dovecot"; # smtpd_sasl_type = "dovecot";
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`
smtpd_relay_restrictions = [
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`
"reject_unauth_destination"
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`
# "relay_domains = "${hostname}"
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"
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`
}; };
}; };
dovecot2 = { dovecot2 = {
@ -47,9 +45,9 @@
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 = '' extraConfig = ''
mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_location = maildir:/var/spool/mail/%u
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`
# auth_mechanisms = plain login 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`
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 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`
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`
userdb { userdb {
driver = passwd driver = passwd
args = blocking=no args = blocking=no
@ -60,7 +58,7 @@
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`
mode = 0660 mode = 0660
user = postfix user = postfix
} }
user = dovecot2
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`
} }
''; '';
}; };

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`