Skip to content

software/mail-server-relay: restrict sender domains from each relay

Tom Niget requested to merge zdimension/slapos:full-mail-server into master

Currently, when a mail server relay receives outbound mail, it only checks that the sender has an approved IP; it doesn't make sure that the From domain matches the sender's configured list of hosted domains. So one backend could in effect impersonate another backend on the same cluster. This MR adds a check for that.

When a relay receives mail, it'll check that the sender's domain matches the list from the shared instance.

Merge request reports