From: Peter Pentchev Date: Thu, 17 Jun 2010 14:24:25 +0000 (+0000) Subject: Merge trunk rev. 5014: use dma's delqueue() so all queue files are removed. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b6b0b944f0f6c19f0437a82ffbc2ea43fd290a7;p=people%2Fms%2Fdma.git Merge trunk rev. 5014: use dma's delqueue() so all queue files are removed. --- diff --git a/changelog b/changelog index 450a95d..8eab598 100644 --- a/changelog +++ b/changelog @@ -16,6 +16,8 @@ dma (0.0.2009.08.29-1) UNRELEASED; urgency=low - refresh 01-debian-build, 03-debian-locations, 04-debian-setgid, 09-typos, 10-liblockfile, 11-double-bounce, 17-mailname, 23-dirent-d_type, 24-random-message-id, and 25-unsupported-starttls + - in the 11-double-bounce patch, use dma's own delqueue() function + instead of a naive unlink() so all the queue files are cleaned up * Bump Standards-Version to 3.8.4 with no changes. * Bring the copyright file up to the latest revision of the DEP 5 proposed format and bump the year on my copyright notice. diff --git a/patches/11-double-bounce.patch b/patches/11-double-bounce.patch index b25f805..9094ac4 100644 --- a/patches/11-double-bounce.patch +++ b/patches/11-double-bounce.patch @@ -8,7 +8,7 @@ Description: Implement double-bounce handling via an external program. Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/ Bug: http://bugs.dragonflybsd.org/issue1321 Author: Peter Pentchev -Last-Update: 2010-06-02 +Last-Update: 2010-06-17 --- a/conf.c +++ b/conf.c @@ -92,7 +92,7 @@ Last-Update: 2010-06-02 #include #include -@@ -43,13 +48,115 @@ +@@ -43,13 +48,114 @@ { struct queue bounceq; char line[1000]; @@ -205,8 +205,7 @@ Last-Update: 2010-06-02 + } + syslog(LOG_ERR, "%s: double-bounce succeeded, message passed to handler `%s': %s", + it->queueid, config->dbounceprog, buf); -+ unlink(it->queuefn); -+ fclose(it->queuef); ++ delqueue(it); + exit(0); }