integrate rspamd with postfix
This commit is contained in:
parent
c5028ed6a0
commit
5decac7cbf
2 changed files with 6 additions and 2 deletions
|
@ -32,8 +32,8 @@
|
|||
virtual_alias_maps = "pgsql:/run/secrets/services/postfix/virtual_alias_maps.cf";
|
||||
virtual_mailbox_domains = "pgsql:/run/secrets/services/postfix/virtual_mailbox_domains.cf";
|
||||
virtual_transport = "lmtp:unix:/run/dovecot2/lmtp";
|
||||
#smtpd_milters = "inet:localhost:11332";
|
||||
#non_smtpd_milters = "inet:localhost:11332";
|
||||
smtpd_milters = "inet:rspamd.int.chir.rs:11332";
|
||||
non_smtpd_milters = "inet:rspamd.int.chir.rs:11332";
|
||||
disable_vrfy_command = "yes";
|
||||
smtpd_banner = "mail.chir.rs ESMTP NO UCE NO UBE NO RELAYCLIENT=yes YES OwO";
|
||||
message_size_limit = "20971520";
|
||||
|
|
|
@ -192,4 +192,8 @@
|
|||
sops.secrets."services/rspamd/dkim/miifox.net" = { owner = "rspamd"; };
|
||||
sops.secrets."services/rspamd/dkim/chir.rs" = { owner = "rspamd"; };
|
||||
networking.nameservers = lib.mkForce [ "fd0d:a262:1fa6:e621:b4e1:8ff:e658:6f49" ];
|
||||
networking.firewall.interfaces."wg0".allowedTCPPorts = [
|
||||
11332
|
||||
11334
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue