mirror of
https://github.com/chatmail/relay.git
synced 2026-09-21 14:50:08 +00:00
fix: Set logs required by grafana to INFO (#21)
Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>
This commit is contained in:
@@ -45,11 +45,11 @@ impl SmtpHandler for IncomingBeforeQueueHandler {
|
|||||||
|
|
||||||
// Allow encrypted or securejoin messages
|
// Allow encrypted or securejoin messages
|
||||||
if mail_encrypted || is_securejoin(&message) {
|
if mail_encrypted || is_securejoin(&message) {
|
||||||
log::debug!("Incoming: Filtering encrypted mail.");
|
log::info!("Incoming: Filtering encrypted mail.");
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
log::debug!("Incoming: Filtering unencrypted mail.");
|
log::info!("Incoming: Filtering unencrypted mail.");
|
||||||
|
|
||||||
// Allow cleartext mailer-daemon messages
|
// Allow cleartext mailer-daemon messages
|
||||||
if let Some(auto_submitted) = message.headers.get_first_value("Auto-Submitted")
|
if let Some(auto_submitted) = message.headers.get_first_value("Auto-Submitted")
|
||||||
|
|||||||
@@ -89,11 +89,11 @@ impl SmtpHandler for OutgoingBeforeQueueHandler {
|
|||||||
|
|
||||||
// Allow encrypted or securejoin messages
|
// Allow encrypted or securejoin messages
|
||||||
if mail_encrypted || is_securejoin(&message) {
|
if mail_encrypted || is_securejoin(&message) {
|
||||||
log::debug!("Outgoing: Filtering encrypted mail.");
|
log::info!("Outgoing: Filtering encrypted mail.");
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
log::debug!("Outgoing: Filtering unencrypted mail.");
|
log::info!("Outgoing: Filtering unencrypted mail.");
|
||||||
|
|
||||||
// Allow passthrough senders
|
// Allow passthrough senders
|
||||||
if self
|
if self
|
||||||
|
|||||||
Reference in New Issue
Block a user