mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
use warning level for reply message detected as spam
This commit is contained in:
parent
01da9aafcd
commit
291b9a7d55
@ -853,7 +853,7 @@ def handle_reply(envelope, msg: Message, rcpt_to: str) -> (bool, str):
|
|||||||
is_spam, spam_status = get_spam_info(msg, max_score=MAX_REPLY_PHASE_SPAM_SCORE)
|
is_spam, spam_status = get_spam_info(msg, max_score=MAX_REPLY_PHASE_SPAM_SCORE)
|
||||||
|
|
||||||
if is_spam:
|
if is_spam:
|
||||||
LOG.exception(
|
LOG.warning(
|
||||||
"Reply phase - email sent from %s to %s detected as spam. %s",
|
"Reply phase - email sent from %s to %s detected as spam. %s",
|
||||||
alias,
|
alias,
|
||||||
contact,
|
contact,
|
||||||
|
Loading…
Reference in New Issue
Block a user