fix sa hook
This commit is contained in:
parent
d89a811611
commit
3ce810775e
@ -35,7 +35,7 @@ func (sp *SpamFilter) Rewrite(msg io.Reader, out io.WriteCloser) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
io.WriteString(c, "PROCESS SPAMC/1.5\r\n")
|
||||
io.WriteString(c, "PROCESS SPAMC/1.5\r\n\r\n")
|
||||
io.CopyBuffer(c, msg, buff[:])
|
||||
c.CloseWrite()
|
||||
_, err = io.CopyBuffer(out, c, buff[:])
|
||||
|
Reference in New Issue
Block a user