Hi Jean,

> I have experienced following before some time:
> 
> movemail: number of messages in source mailbox: 5
> movemail: number of processed messages: 5
> movemail: number of errors: 0 / 0
[...]
> 0 kept, 5 deleted.

What's this? None of mailutils code produces such message.

> The operation of movemail shall be changed so that unless all messages
> are in local inbox, the remote shall not be deleted.

That's the way it operates now.  Quoting the source (with additional
annotations for clarity):

// Synchronize destination mailbox with the disk and close it   
   968    mu_mailbox_sync (dest);
   969    rc = mu_mailbox_close (dest);
   970    mu_mailbox_destroy (&dest);   
   971    if (rc)
   972      mu_error (_("cannot close destination mailbox: %s"), mu_strerror 
(rc));
   973    else if (!preserve_mail)
// Delete messages from the source mailbox   
   974      mu_mailbox_expunge (source);
// Close the source mailbox
   975    mu_mailbox_close (source);
   976    mu_mailbox_destroy (&source);


Regards,
Sergey

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to