[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] movemail: looses messages if connection broken
From: |
Jean Louis |
Subject: |
Re: [bug-mailutils] movemail: looses messages if connection broken |
Date: |
Mon, 2 Jan 2017 18:17:25 +0300 |
On Mon, Jan 02, 2017 at 10:58:18AM +0200, Sergey Poznyakoff wrote:
> 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.
That message above? It is movmail.
> > 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
Well thank you. I still lost 5 messages, cannot know the reason.
Jean Louis
- [bug-mailutils] movemail: looses messages if connection broken, Jean Louis, 2017/01/01
- Re: [bug-mailutils] movemail: looses messages if connection broken, Sergey Poznyakoff, 2017/01/02
- Re: [bug-mailutils] movemail: looses messages if connection broken,
Jean Louis <=
- Re: [bug-mailutils] movemail: looses messages if connection broken, Sergey Poznyakoff, 2017/01/02
- Re: [bug-mailutils] movemail: looses messages if connection broken, Jean Louis, 2017/01/02
- [bug-mailutils] Development git: make failed in pop3.cc, Jean Louis, 2017/01/04
- Re: [bug-mailutils] Development git: make failed in pop3.cc, Sergey Poznyakoff, 2017/01/04
- Re: [bug-mailutils] Development git: make failed in pop3.cc, Jean Louis, 2017/01/04