From e1676c1d63bc5b5070c599357a7968b6ae5935e7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 18 Oct 1998 02:04:43 +0000 Subject: This is the antispam patch I sent Wolfgang Rupprecht. svn path=/trunk/; revision=2106 --- sink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sink.c') diff --git a/sink.c b/sink.c index e9d445ce..8b372d36 100644 --- a/sink.c +++ b/sink.c @@ -563,7 +563,8 @@ int open_sink(struct query *ctl, if (SMTP_rcpt(ctl->smtp_socket, addr) != SM_OK) { error(0, 0, "can't even send to %s!", run.postmaster); - return(PS_SMTP); + SMTP_rset(ctl->smtp_socket); /* required by RFC1870 */ + return(PS_REFUSED); } } -- cgit v1.2.3