[dovecot-cvs] dovecot/src/deliver deliver.c,1.20.2.4,1.20.2.5

cras at dovecot.org cras at dovecot.org
Tue Jun 27 13:27:12 EEST 2006


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv14234/deliver

Modified Files:
      Tag: branch_1_0
	deliver.c 
Log Message:
MAIL_STORAGE_FLAG_KEEP_HEADER_MD5 flag was supposed to be set if
pop3_uidl_format contained %m. Added it now to mail_storage_parse_env() so
it's used everywhere.



Index: deliver.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/deliver.c,v
retrieving revision 1.20.2.4
retrieving revision 1.20.2.5
diff -u -d -r1.20.2.4 -r1.20.2.5
--- deliver.c	16 Jun 2006 09:09:47 -0000	1.20.2.4
+++ deliver.c	27 Jun 2006 10:27:10 -0000	1.20.2.5
@@ -345,7 +345,7 @@
 	const char *config_path = DEFAULT_CONFIG_FILE;
 	const char *mailbox = "INBOX";
 	const char *auth_socket, *env_tz;
-	const char *home, *destination, *user, *mail_env, *str;
+	const char *home, *destination, *user, *mail_env;
         const struct var_expand_table *table;
         enum mail_storage_flags flags;
         enum mail_storage_lock_method lock_method;
@@ -480,11 +480,6 @@
 		mail_env = expand_mail_env(mail_env, table);
 	}
 
-	str = getenv("POP3_UIDL_FORMAT");
-	if (str != NULL && (str = strchr(str, '%')) != NULL &&
-	    str != NULL && var_get_key(str + 1) == 'm')
-		flags |= MAIL_STORAGE_FLAG_KEEP_HEADER_MD5;
-
 	if (getenv("MAIL_PLUGINS") == NULL)
 		modules = NULL;
 	else {



More information about the dovecot-cvs mailing list