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, ... }:
let hostname = "mail.test.stramke.com";
in {
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`
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`
services = {
postfix = {
enable = true;
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 = {
myorigin = "mail.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`
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`
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`
smtpd_recipient_restrictions = [
"reject_unauth_destination"
"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`
"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`
];
smtpd_sasl_auth_enable = true;
smtpd_sasl_path = "/var/lib/postfix/auth";
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`
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`
# 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`
};
};
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 = ''
mail_location = mbox:~/mail:INBOX=/var/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`
# 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`
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`
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`
userdb {
driver = passwd
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
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`