dovecot-2.0-pigeonhole: Removed header MIME-decoding for other i...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sat Jan 1 16:21:55 EET 2011


details:   http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/146a2a9d5cb0
changeset: 1455:146a2a9d5cb0
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sat Jan 01 15:21:44 2011 +0100
description:
Removed header MIME-decoding for other instances where addresses need to be parsed.

diffstat:

 src/lib-sieve/plugins/notify/ext-notify-common.c |  2 +-
 src/lib-sieve/plugins/vacation/cmd-vacation.c    |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 99f8dc1e246a -r 146a2a9d5cb0 src/lib-sieve/plugins/notify/ext-notify-common.c
--- a/src/lib-sieve/plugins/notify/ext-notify-common.c	Sat Jan 01 14:10:53 2011 +0100
+++ b/src/lib-sieve/plugins/notify/ext-notify-common.c	Sat Jan 01 15:21:44 2011 +0100
@@ -245,7 +245,7 @@
 			p += 6;
 		
 			/* Fetch sender from oriinal message */
-			if ( mail_get_headers_utf8(msgdata->mail, "from", &header) >= 0 )
+			if ( mail_get_headers(msgdata->mail, "from", &header) >= 0 )
 				 str_append(out_msg, header[0]); 
 
 		} else if ( strncasecmp(p, "$env-from$", 10) == 0 ) {
diff -r 99f8dc1e246a -r 146a2a9d5cb0 src/lib-sieve/plugins/vacation/cmd-vacation.c
--- a/src/lib-sieve/plugins/vacation/cmd-vacation.c	Sat Jan 01 14:10:53 2011 +0100
+++ b/src/lib-sieve/plugins/vacation/cmd-vacation.c	Sat Jan 01 15:21:44 2011 +0100
@@ -1074,7 +1074,7 @@
 	 */
 	hdsp = _my_address_headers;
 	while ( *hdsp != NULL ) {
-		if ( mail_get_headers_utf8
+		if ( mail_get_headers
 			(msgdata->mail, *hdsp, &headers) >= 0 && headers[0] != NULL ) {	
 			
 			if ( _contains_my_address(headers, recipient) ) {


More information about the dovecot-cvs mailing list