Support for external email addresses on mailing lists (closes #152)

This commit is contained in:
mdecimus
2024-11-13 19:38:54 +13:00
parent 77de725ca8
commit b2bac5d5aa
45 changed files with 813 additions and 643 deletions

View File

@@ -1,5 +1,6 @@
use std::{cmp::Ordering, net::IpAddr, vec::IntoIter};
use directory::backend::RcptType;
use mail_auth::IpLookupStrategy;
use store::{Deserialize, Rows, Value};
use trc::AddContext;
@@ -36,7 +37,7 @@ impl Server {
.rcpt(address.as_ref())
.await
.caused_by(trc::location!())
.map(|v| v.into())
.map(|v| (v != RcptType::Invalid).into())
}
F_KEY_GET => {
let store = params.next_as_string();