You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
883 B

diff -Naur cyrus-imapd-2.1.14.orig/imap/lmtpengine.c cyrus-imapd-2.1.14/imap/lmtpengine.c
--- cyrus-imapd-2.1.14.orig/imap/lmtpengine.c Wed Jun 25 05:34:01 2003
+++ cyrus-imapd-2.1.14/imap/lmtpengine.c Fri Jul 4 11:42:39 2003
@@ -536,7 +536,7 @@
if (!*p++) return 0;
}
else {
- while (*p && *p != '@' && *p != '>') {
+ while (*p && /* *p != '@' && */ *p != '>') {
if (*p == '\\') {
if (!*++p) return 0;
}
@@ -557,7 +557,7 @@
if (*p++ != ']') return 0;
}
else {
- while (isalnum((int) *p) || *p == '.' || *p == '-') p++;
+ while (isalnum((int) *p) || *p == '.' || *p == '-' || *p == '_') p++;
}
}
@@ -1160,7 +1160,7 @@
}
/* Now finish the remainder of the localpart */
- while (*addr != '@' && *addr != '>') {
+ while (/* *addr != '@' && */ *addr != '>') {
if (*addr == '\\') addr++;
*dest++ = *addr++;
}