Hello, I ran into a problem with "movemail" program. Flag --keep-messages works fine but --uidl does not. I keep getting the same mail messages over and over.
I found this conversation: https://www.mail-archive.com/bug-mailutils@gnu.org/msg01916.html So I compiled latest release of mailutils hoping for bug to be fixed. $ movemail --version movemail (GNU Mailutils) 3.10 Copyright (C) 2007-2019 Free Software Foundation, inc. Licencja GPLv3+: GNU GPL wersji 3 lub nowszej <http://gnu.org/licenses/gpl.html> (...) I can definitely see fixes in commits and source code but issue keeps appearing. I have single mail on my mail server. And after using movemail three times: $ movemail --verbose --debug-level='mailbox.prot,!trace6' --keep-messages --uidl "imap://<username>@<domain>" ~/mails <password> $ movemail --verbose --debug-level='mailbox.prot,!trace6' --keep-messages --uidl "imap://<username>@<domain>" ~/mails <password> $ movemail --verbose --debug-level='mailbox.prot,!trace6' --keep-messages --uidl "imap://<username>@<domain>" ~/mails <password> I have three the same messages in ~/mails file. The second part of X-UIDL value is different for each message. Maybe that is the issue. $ grep X-UIDL mails X-UIDL: 26c7d37fdd37ac75a365a22131fe5a38.1605699623.0 X-UIDL: 26c7d37fdd37ac75a365a22131fe5a38.1605699628.0 X-UIDL: 26c7d37fdd37ac75a365a22131fe5a38.1605700794.0 Please let me know If I'm doing something wrong or maybe I could help you somehow. Unfortunately I barely know C so I'm not able to debug program myself :( Thank you irek