|
@@ -41,7 +41,7 @@ Index: perl/sieve/lib/isieve.c
|
|
|
+++ perl/sieve/lib/isieve.c 2004-02-02 20:01:21.000000000 +0100
|
|
+++ perl/sieve/lib/isieve.c 2004-02-02 20:01:21.000000000 +0100
|
|
|
@@ -41,9 +41,7 @@
|
|
@@ -41,9 +41,7 @@
|
|
|
|
|
|
|
|
- /* $Id: isieve.c,v 1.27 2003/10/22 18:50:25 rjs3 Exp $ */
|
|
|
|
|
|
|
+ /* $Id: imapd.patch,v 1.8 2004/02/02 20:45:59 rse Exp $ */
|
|
|
|
|
|
|
|
-#ifdef HAVE_CONFIG_H
|
|
-#ifdef HAVE_CONFIG_H
|
|
|
-#include <config.h>
|
|
-#include <config.h>
|
|
@@ -76,3 +76,38 @@ Index: perl/sieve/Makefile.in
|
|
|
fi; \
|
|
fi; \
|
|
|
$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all) || exit 1; \
|
|
$(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all) || exit 1; \
|
|
|
done
|
|
done
|
|
|
|
|
+Index: imap/mboxname.c
|
|
|
|
|
+--- imap/mboxname.c.orig 2003-10-22 20:50:08.000000000 +0200
|
|
|
|
|
++++ imap/mboxname.c 2004-03-10 21:08:47.000000000 +0100
|
|
|
|
|
+@@ -127,6 +127,7 @@
|
|
|
|
|
+ domainlen = strlen(result);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
++#ifndef IGNMAD /* ignore mailbox@domain */
|
|
|
|
|
+ if ((cp = strrchr(name, '@'))) {
|
|
|
|
|
+ /* mailbox specified as mbox@domain */
|
|
|
|
|
+ namelen = cp - name;
|
|
|
|
|
+@@ -149,6 +150,7 @@
|
|
|
|
|
+ domainlen = strlen(result);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
++#endif /* IGNMAD */
|
|
|
|
|
+
|
|
|
|
|
+ /* if no domain specified, we're in the default domain */
|
|
|
|
|
+ }
|
|
|
|
|
+@@ -212,6 +214,7 @@
|
|
|
|
|
+ domainlen = strlen(result);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
++#ifndef IGNMAD /* ignore mailbox@domain */
|
|
|
|
|
+ if ((cp = strrchr(name, '@'))) {
|
|
|
|
|
+ /* mailbox specified as mbox@domain */
|
|
|
|
|
+ namelen = cp - name;
|
|
|
|
|
+@@ -234,6 +237,7 @@
|
|
|
|
|
+ domainlen = strlen(result);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
++#endif /* IGNMAD */
|
|
|
|
|
+
|
|
|
|
|
+ /* if no domain specified, we're in the default domain */
|
|
|
|
|
+ }
|