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