- 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.
Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
Bug: http://bugs.dragonflybsd.org/issue1321
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-17
--- a/conf.c
+++ b/conf.c
#include <syslog.h>
#include <unistd.h>
-@@ -43,13 +48,115 @@
+@@ -43,13 +48,114 @@
{
struct queue bounceq;
char line[1000];
+ }
+ 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);
}