Skip to content

Commit f52ebb4

Browse files
Felix J. Ogriscorecode
authored andcommitted
discard bounce queue items in double bounce handling
1 parent 239ff6d commit f52ebb4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mail.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ bounce(struct qitem *it, const char *reason)
5454
/* Don't bounce bounced mails */
5555
if (it->sender[0] == 0) {
5656
syslog(LOG_INFO, "can not bounce a bounce message, discarding");
57+
delqueue(it);
5758
exit(EX_SOFTWARE);
5859
}
5960

0 commit comments

Comments
 (0)