]> Pileus Git - ~andy/fetchmail/blobdiff - sink.c
Ready to ship.
[~andy/fetchmail] / sink.c
diff --git a/sink.c b/sink.c
index 45db08b699917906bf6b0d3ff2a937b36297959b..b519e0d732309b04da285041e09079b396ad1dc7 100644 (file)
--- 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, ": ");