- add the 28-valid-recipient patch to fix parsing recipients out of
the message body
- add the 29-double-free patch to fix a double-free error
+ - add the 30-empty-sender patch to allow an empty Sender field in
+ the Q* spool file
- 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
--- /dev/null
+Description: Allow an empty queue file field - only if it is the sender.
+ I'll forward this patch as soon as I catch up with the dma upstream.
+Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
+Forwarded: no
+Author: Peter Pentchev <roam@ringlet.net>
+Last-Update: 2010-06-17
+
+--- a/spool.c
++++ b/spool.c
+@@ -171,9 +171,11 @@
+ s++;
+ while (isspace(*s))
+ s++;
++ if (s[0] == 0 && strcmp(line, "Sender") != 0)
++ goto malformed;
+
+ s = strdup(s);
+- if (s == NULL || s[0] == 0)
++ if (s == NULL)
+ goto malformed;
+
+ if (strcmp(line, "ID") == 0) {