Compare commits
1 commit
d7f4598be3
...
590ea741d0
Author | SHA1 | Date | |
---|---|---|---|
590ea741d0 |
1 changed files with 16 additions and 16 deletions
|
@ -156,21 +156,6 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
session = {
|
session = {
|
||||||
ehlo.require = [
|
|
||||||
{
|
|
||||||
"if" = "starts_with(remote_ip, '192.168.0.')"; #TODO setup vms properly
|
|
||||||
"then" = false;
|
|
||||||
}
|
|
||||||
{"else" = true;}
|
|
||||||
];
|
|
||||||
ehlo.reject-non-fqdn = [
|
|
||||||
{
|
|
||||||
"if" = "starts_with(remote_ip, '192.168.0.')"; #TODO setup vms properly
|
|
||||||
"then" = false;
|
|
||||||
}
|
|
||||||
{"else" = true;}
|
|
||||||
];
|
|
||||||
|
|
||||||
rcpt = {
|
rcpt = {
|
||||||
# In order to accept mail that we only forward
|
# In order to accept mail that we only forward
|
||||||
# without having to generate an account.
|
# without having to generate an account.
|
||||||
|
@ -185,7 +170,21 @@ in {
|
||||||
{"else" = false;}
|
{"else" = false;}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
data.script = "'redirects'";
|
|
||||||
|
ehlo.require = [
|
||||||
|
{
|
||||||
|
"if" = "starts_with(remote_ip, '192.168.0.')"; #TODO setup vms properly
|
||||||
|
"then" = false;
|
||||||
|
}
|
||||||
|
{"else" = true;}
|
||||||
|
];
|
||||||
|
ehlo.reject-non-fqdn = [
|
||||||
|
{
|
||||||
|
"if" = "starts_with(remote_ip, '192.168.0.')"; #TODO setup vms properly
|
||||||
|
"then" = false;
|
||||||
|
}
|
||||||
|
{"else" = true;}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Stalwart gets its configuration from two places: A TOML configuration file that we control in this module
|
# Stalwart gets its configuration from two places: A TOML configuration file that we control in this module
|
||||||
|
@ -230,6 +229,7 @@ in {
|
||||||
out-messages = 50;
|
out-messages = 50;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
session.data.script = "'redirects'";
|
||||||
|
|
||||||
# See https://stalw.art/docs/smtp/authentication/dkim/sign
|
# See https://stalw.art/docs/smtp/authentication/dkim/sign
|
||||||
# We need two blocks per domain because the domain setting in the blocks does not accept variables like `sender_domain`.
|
# We need two blocks per domain because the domain setting in the blocks does not accept variables like `sender_domain`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue