From 2153efc95f32d3698e415207dcd7a2a92e4291c1 Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Sat, 1 Jan 2011 15:51:21 +0100
Subject: [PATCH] Deprecated notify extension: reverted previous change as
 address is used for the notification in stead of being actually parsed.

---
 src/lib-sieve/plugins/notify/ext-notify-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib-sieve/plugins/notify/ext-notify-common.c b/src/lib-sieve/plugins/notify/ext-notify-common.c
index 5a36ece39..c61e8f73a 100644
--- a/src/lib-sieve/plugins/notify/ext-notify-common.c
+++ b/src/lib-sieve/plugins/notify/ext-notify-common.c
@@ -245,7 +245,7 @@ void ext_notify_construct_message
 			p += 6;
 		
 			/* Fetch sender from oriinal message */
-			if ( mail_get_headers(msgdata->mail, "from", &header) >= 0 )
+			if ( mail_get_headers_utf8(msgdata->mail, "from", &header) >= 0 )
 				 str_append(out_msg, header[0]); 
 
 		} else if ( strncasecmp(p, "$env-from$", 10) == 0 ) {
-- 
GitLab