From 3ce810775e248144e3c19d064cd3eb430c3969d6 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 7 Nov 2017 14:05:36 -0500 Subject: [PATCH] fix sa hook --- contrib/backends/srndv2/src/srnd/spam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/spam.go b/contrib/backends/srndv2/src/srnd/spam.go index 1469796..f6beccb 100644 --- a/contrib/backends/srndv2/src/srnd/spam.go +++ b/contrib/backends/srndv2/src/srnd/spam.go @@ -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[:])