--- a/camel/providers/imapx/camel-imapx-server.c	2012-08-12 23:29:55.000000000 +0200
+++ b/camel/providers/imapx/camel-imapx-server.c	2012-11-01 16:02:25.603876286 +0100
@@ -3455,7 +3455,7 @@
 	}
 
 	/* TODO copy the summary and cached messages to the new folder. We might need a sorted insert to avoid refreshing the dest folder */
-	if (ic->status->condition == IMAPX_COPYUID) {
+	if (ic->status && ic->status->condition == IMAPX_COPYUID) {
 		gint i;
 
 		for (i = 0; i < ic->status->u.copyuid.copied_uids->len; i++) {
