Commit 21bca740 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[SpamAssassin] Trailing spaces + upper to lower, ça serait bien de commiter...

parent 39c75f05
......@@ -81,8 +81,10 @@ def process(mlist, msg, msgdata):
HOLD_SCORE_LIST = getattr(mlist, 'SPAMASSASSIN_HOLD_SCORE', HOLD_SCORE)
#Modificateur du score de Spamassassin selon le nombre d'expediteur du message abonne a la liste.
MEMBER_BONUS_LIST = getattr(mlist, 'SPAMASSASSIN_MEMBER_BONUS', MEMBER_BONUS)
score, symbols = check_message(mlist, str(msg))
with open('/tmp/samailman', 'a') as fichier:
fichier.write("%s/%s/%s : %s\n"%(score, HOLD_SCORE_LIST, DISCARD_SCORE_LIST, mlist.internal_name()))
msg['X-Spam-Score'] = str(score)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment