[SVN] r699 - in /trunk/cyrus-imapd-2.2.13/debian/patches: 00list
82-allow-from_-header.dpatch
debian at incase.de
debian at incase.de
Sun Feb 25 21:35:00 CET 2007
Author: sven
Date: Sun Feb 25 21:34:59 2007
New Revision: 699
URL: https://mail.incase.de/viewcvs?rev=699&root=cyrus22&view=rev
Log:
Add a patch which allows message uploads with "From " headers. These occure with various mail clients, among them Outlook and Thunderbird (the former more often than the later)
Added:
trunk/cyrus-imapd-2.2.13/debian/patches/82-allow-from_-header.dpatch (with props)
Modified:
trunk/cyrus-imapd-2.2.13/debian/patches/00list
Modified: trunk/cyrus-imapd-2.2.13/debian/patches/00list
URL: https://mail.incase.de/viewcvs/trunk/cyrus-imapd-2.2.13/debian/patches/00list?rev=699&root=cyrus22&r1=698&r2=699&view=diff
==============================================================================
--- trunk/cyrus-imapd-2.2.13/debian/patches/00list (original)
+++ trunk/cyrus-imapd-2.2.13/debian/patches/00list Sun Feb 25 21:34:59 2007
@@ -55,4 +55,5 @@
75-update-imapd.conf-documentation.dpatch
77-change-missing-sieve-notice.dpatch
80-kbsd-no-psstrings.dpatch
+82-allow-from_-header.dpatch
99-update-autoconf.dpatch
Added: trunk/cyrus-imapd-2.2.13/debian/patches/82-allow-from_-header.dpatch
URL: https://mail.incase.de/viewcvs/trunk/cyrus-imapd-2.2.13/debian/patches/82-allow-from_-header.dpatch?rev=699&root=cyrus22&view=auto
==============================================================================
--- trunk/cyrus-imapd-2.2.13/debian/patches/82-allow-from_-header.dpatch (added)
+++ trunk/cyrus-imapd-2.2.13/debian/patches/82-allow-from_-header.dpatch Sun Feb 25 21:34:59 2007
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 82-allow-from_-header by FastMail.fm
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Allow message upload of messages with a "From " header, as for example
+## DP: Outlook sometimes tries (occured with Thunderbird as well)
+
+ at DPATCH@
+diff -urNad cyrus-imapd-2.2.13/imap/message.c /tmp/dpep.hKmCze/cyrus-imapd-2.2.13/imap/message.c
+--- cyrus-imapd-2.2.13/imap/message.c 2007-02-25 21:28:42.000000000 +0100
++++ /tmp/dpep.hKmCze/cyrus-imapd-2.2.13/imap/message.c 2007-02-25 21:29:40.841335772 +0100
+@@ -296,6 +296,7 @@
+ /* Check for valid header name */
+ if (sawnl && buf[0] != ' ' && buf[0] != '\t') {
+ if (buf[0] == ':') return IMAP_MESSAGE_BADHEADER;
++ if (strstr(buf,"From ") != buf )
+ for (p = (unsigned char *)buf; *p != ':'; p++) {
+ if (*p <= ' ') return IMAP_MESSAGE_BADHEADER;
+ }
Propchange: trunk/cyrus-imapd-2.2.13/debian/patches/82-allow-from_-header.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list