Selaa lähdekoodia

use warning for grey listing

Son NK 5 vuotta sitten
vanhempi
commit
c163bdc14f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      email_handler.py

+ 1 - 1
email_handler.py

@@ -797,7 +797,7 @@ def handle(envelope: Envelope, smtp: SMTP) -> str:
 
     # Whether it's necessary to apply greylisting
     if greylisting_needed(envelope.mail_from, envelope.rcpt_tos):
-        LOG.error(
+        LOG.warning(
             "Grey listing applied for %s %s", envelope.mail_from, envelope.rcpt_tos
         )
         return "421 SL Retry later"