replace cx42 by spamd for SpamAssassin

get rid of "info: spamd: handle_user (userdir) unable to find user: 'cx42'" error
This commit is contained in:
Son NK 2020-09-30 12:47:39 +02:00
parent 772a2e7355
commit 6a4622fca9
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class SpamAssassin(object):
data_len = str(len(message)).encode()
reqfp.write(b"REPORT SPAMC/1.2\r\n")
reqfp.write(b"Content-Length: " + data_len + b"\r\n")
reqfp.write(b"User: cx42\r\n\r\n")
reqfp.write(b"User: spamd\r\n\r\n")
reqfp.write(message)
return reqfp.getvalue()