mirror of
https://github.com/chatmail/relay.git
synced 2026-08-11 11:00:52 +00:00
fix: Make inbound/outbound log messages consistent (#23)
Signed-off-by: Jagoda Ślązak <jslazak@jslazak.com>
This commit is contained in:
committed by
GitHub
parent
ca6ccd9acf
commit
cab16fc8f1
@@ -72,7 +72,7 @@ impl SmtpHandler for IncomingBeforeQueueHandler {
|
||||
|
||||
for recipient in &envelope.rcpt_to {
|
||||
if !self.config.is_cleartext_ok(recipient) {
|
||||
log::warn!("Rejected unencrypted email from: {}", envelope.mail_from);
|
||||
log::warn!("Rejected unencrypted mail from: {}", envelope.mail_from);
|
||||
return Err(ENCRYPTION_NEEDED_523.to_string());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user