diff --git a/contrib/backends/srndv2/src/srnd/spam.go b/contrib/backends/srndv2/src/srnd/spam.go index 30a6d5b..70f47c0 100644 --- a/contrib/backends/srndv2/src/srnd/spam.go +++ b/contrib/backends/srndv2/src/srnd/spam.go @@ -5,6 +5,7 @@ import ( "errors" "fmt" "io" + "log" "net" "os/user" ) @@ -52,8 +53,8 @@ func (sp *SpamFilter) Rewrite(msg io.Reader, out io.WriteCloser) error { if err != nil { return err } + log.Println("SpamFilter:", l) if l == "\n" { - r.ReadString(10) _, err = io.CopyBuffer(out, r, buff[:]) c.Close() out.Close()