blob: e8bf8a0571b48c6dd783007ebe6bc210d4a303e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- exim4-4.86.2.orig/src/spam.c
+++ exim4-4.86.2/src/spam.c
@@ -499,7 +499,10 @@ if (ferror(mbox_file))
(void)fclose(mbox_file);
/* we're done sending, close socket for writing */
-shutdown(spamd_sock,SHUT_WR);
+if (!sd->is_rspamd)
+ {
+ shutdown(spamd_sock,SHUT_WR);
+ }
/* read spamd response using what's left of the timeout. */
memset(spamd_buffer, 0, sizeof(spamd_buffer));
|