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

This commit is contained in:
Pierre-Elliott Bécue 2013-12-27 13:37:30 +01:00
parent 39c75f058d
commit 21bca74028

View file

@ -83,6 +83,8 @@ def process(mlist, msg, msgdata):
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)