summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--movemail/movemail.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/movemail/movemail.c b/movemail/movemail.c
index 3c910930c..afb83e8ae 100644
--- a/movemail/movemail.c
+++ b/movemail/movemail.c
@@ -607,6 +607,8 @@ guess_mbox_owner (mu_mailbox_t mbox, struct user_id *id)
rc = 1;
}
}
+ else
+ id->gid = meth->owner.id.gid;
break;
case set_owner_name:
@@ -892,7 +894,7 @@ main (int argc, char **argv)
mu_mailbox_destroy (&dest);
if (rc)
mu_error (_("cannot close destination mailbox: %s"), mu_strerror (rc));
- else
+ else if (!preserve_mail)
mu_mailbox_flush (source, 1);
mu_mailbox_close (source);

Return to:

Send suggestions and report system problems to the System administrator.