Updated README

This commit is contained in:
mdecimus
2025-01-20 18:27:32 +01:00
parent 4eca415e7b
commit d3e5565253
2 changed files with 11 additions and 4 deletions

View File

@@ -13,7 +13,8 @@ use smtp::core::Session;
use utils::config::Config;
use crate::smtp::{
session::{TestSession, VerifyResponse}, DnsCache, TestSMTP
session::{TestSession, VerifyResponse},
DnsCache, TestSMTP,
};
const CONFIG: &str = r#"
@@ -28,7 +29,7 @@ mt-priority = [{if = "remote_ip = '10.0.0.1'", then = 'nsep'},
{else = false}]
[session.ehlo]
reject-non-fqdn = true
reject-non-fqdn = "starts_with(remote_ip, '10.0.0.')"
[auth.spf.verify]
ehlo = [{if = "remote_ip = '10.0.0.2'", then = 'strict'},