fix: Set logs required by grafana to INFO (#21)

Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>
This commit is contained in:
Jagoda Estera Ślązak
2026-01-22 14:49:55 +01:00
committed by GitHub
parent b5a56a6a4e
commit ca6ccd9acf
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -45,11 +45,11 @@ impl SmtpHandler for IncomingBeforeQueueHandler {
// Allow encrypted or securejoin messages
if mail_encrypted || is_securejoin(&message) {
log::debug!("Incoming: Filtering encrypted mail.");
log::info!("Incoming: Filtering encrypted mail.");
return Ok(());
}
log::debug!("Incoming: Filtering unencrypted mail.");
log::info!("Incoming: Filtering unencrypted mail.");
// Allow cleartext mailer-daemon messages
if let Some(auto_submitted) = message.headers.get_first_value("Auto-Submitted")
+2 -2
View File
@@ -89,11 +89,11 @@ impl SmtpHandler for OutgoingBeforeQueueHandler {
// Allow encrypted or securejoin messages
if mail_encrypted || is_securejoin(&message) {
log::debug!("Outgoing: Filtering encrypted mail.");
log::info!("Outgoing: Filtering encrypted mail.");
return Ok(());
}
log::debug!("Outgoing: Filtering unencrypted mail.");
log::info!("Outgoing: Filtering unencrypted mail.");
// Allow passthrough senders
if self