- add the 26-getprogname patch to use program_invocation_short_name()
instead of getprogname() on GNU systems
- add the 27-int-size patch to cast a variable to the correct type
+ - add the 28-valid-recipient patch to fix parsing recipients out of
+ the message body
- 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: Check the parsed recipient address for validity.
+ I'll forward this patch when 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-15
+
+--- a/mail.c
++++ b/mail.c
+@@ -428,8 +428,8 @@
+ if (addr == NULL)
+ errlog(1, NULL);
+
+- add_recp(queue, addr, 1);
+- fprintf(stderr, "parsed `%s'\n", addr);
++ if (add_recp(queue, addr, 1) != 0)
++ errlogx(1, "invalid recipient `%s'", addr);
+ goto again;
+ }
+
25-unsupported-starttls.patch
26-getprogname.patch
27-int-size.patch
+28-valid-recipient.patch