aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sink.c b/sink.c
index 45db08b6..b519e0d7 100644
--- a/sink.c
+++ b/sink.c
@@ -803,6 +803,10 @@ int open_sink(struct query *ctl, struct msgblk *msg,
else
{
char errbuf[POPBUFSIZE];
+ int res;
+
+ if ((res = handle_smtp_report(ctl, msg))==PS_REFUSED)
+ return PS_REFUSED;
strcpy(errbuf, idp->id);
strcat(errbuf, ": ");