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:
parent
772a2e7355
commit
6a4622fca9
|
@ -48,7 +48,7 @@ class SpamAssassin(object):
|
||||||
data_len = str(len(message)).encode()
|
data_len = str(len(message)).encode()
|
||||||
reqfp.write(b"REPORT SPAMC/1.2\r\n")
|
reqfp.write(b"REPORT SPAMC/1.2\r\n")
|
||||||
reqfp.write(b"Content-Length: " + data_len + b"\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)
|
reqfp.write(message)
|
||||||
return reqfp.getvalue()
|
return reqfp.getvalue()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue