Bump to mail-auth 0.11

This commit is contained in:
Maurus Decimus
2026-06-30 11:53:55 +02:00
parent 5f58fdb92b
commit e3c6f95bfd
35 changed files with 992 additions and 138 deletions

View File

@@ -296,7 +296,7 @@ async fn delivery_diagnose(
Err(err) => {
if matches!(
&err,
smtp::outbound::mta_sts::Error::Dns(mail_auth::Error::DnsRecordNotFound(_))
smtp::outbound::mta_sts::Error::Dns(mail_auth::Error::Dns(mail_auth::DnsError::RecordNotFound(_)))
) {
tx.send(DeliveryStage::MtaStsNotFound {
elapsed: now.elapsed_ms(),
@@ -346,7 +346,7 @@ async fn delivery_diagnose(
.await?;
}
Err(err) => {
if matches!(&err, mail_auth::Error::DnsRecordNotFound(_)) {
if matches!(&err, mail_auth::Error::Dns(mail_auth::DnsError::RecordNotFound(_))) {
tx.send(DeliveryStage::TlsRptNotFound {
elapsed: now.elapsed_ms(),
})
@@ -426,7 +426,7 @@ async fn delivery_diagnose(
None
}
Err(err) => {
if matches!(&err, mail_auth::Error::DnsRecordNotFound(_)) {
if matches!(&err, mail_auth::Error::Dns(mail_auth::DnsError::RecordNotFound(_))) {
tx.send(DeliveryStage::TlsaNotFound {
elapsed: now.elapsed_ms(),
reason: "No TLSA records found for MX".to_string(),