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 2a0e2c6623 - Show all commits

View file

@ -3,7 +3,8 @@
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`
hostname = "mail.test.stramke.com";
domain = "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 11334];
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`
users.users.postfix.extraGroups = ["rspamd"]; # doesn't seem to work
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;
@ -13,7 +14,6 @@
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`
origin = "${domain}";
destination = ["${hostname}" "${domain}" "localhost"];
config = {
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"
@ -21,7 +21,11 @@
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_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`
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`
# put in opendkim (port 8891) and rspamd (port 11334) as mail filter
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_milters = ["inet:localhost:8891" "/run/rspamd/rspamd.sock"];
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`
non_smtpd_milters = "$smtpd_milters";
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`
milter_default_action = "accept";
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 = {
@ -69,8 +73,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`
};
opendkim = {
enable = true;
selector = "mail";
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`
selector = "default";
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`
domains = "csl:${domain}";
socket = "inet:8891";
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`