--- dovecot-1.0-test77.orig/src/lib-mail/message-address.c	Fri Apr  8 12:16:36 2005
+++ dovecot-1.0-test77/src/lib-mail/message-address.c	Wed Jul 13 16:15:15 2005
@@ -140,6 +140,10 @@
 		return -1;
 
 	ctx->addr.name = p_strdup(ctx->pool, str_c(ctx->str));
+	if (*ctx->addr.name == '\0') {
+		/* Cope with "<address>" without display name */
+		ctx->addr.name = NULL;
+	}
 	if (parse_angle_addr(ctx) < 0) {
 		/* broken */
 		ctx->addr.domain = p_strdup(ctx->pool, "SYNTAX_ERROR");
