Re: messages remain in the tmp directory
Charles Cazabon <[email protected]> Tue, 21 Sep 2021 19:36:05 -0600
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
Gerard ROBIN <[email protected]> wrote: > Hello I install getmail in my hiphone, (xiaomi redmi 5 plus) but the messages > remain in tmp directory, they do not go in the "new" directory. [...] > 2021-09-21 15:59:36 Delivery error (maildir delivery 11839 error > (127, maildir delivery process failed (module 'os' has no attribute +'link'))) Your operating system (Android?) & Python do not expose the Python function os.link() which calls link(2) as one step in performing maildir delivery. Either Python was built incorrectly - I've never seen os.link() missing, so I don't know what's going on here - or your version of Android is missing link(2) completely, which pretty much means it's not Unix-compatible. Without link(2), getmail cannot deliver mail to a Maildir using the prescribed, safe steps to do so. And I'm not going to change getmail to deliver unsafely to maildirs because that could result in corrupted or lost mail. You'll have to use mbox format, I guess. Charles -- ----------------------------------------------------------------------- Charles Cazabon GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------