Re: getmail with davmail
Charles Cazabon <[email protected]> Fri, 5 Feb 2021 21:15:48 -0600
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
Graham Denham <[email protected]> wrote: > > Recently, my local O365 administrators (or Microsoft) discontinued > password-based IMAP authentication. I don't use O365 (or similar cloud-based email services) so I'm not personally familiar with it, but I thought that when they disabled password auth they introduced a replacement for it - maybe called "app passwords" or "app keys" or something like that? Basically a special password that can only be used to log into it for email and perhaps only for one app (not quite sure how they would enforce that). You may not need to do this dance with a proxy in between. As you've noted, that makes it fairly hard to debug - but I'm pretty certain there's nothing in getmail that would cause it to retrieve the same message twice, so I'm guessing that proxy is somehow announcing the same message twice to getmail. I would think it would have to do it with different UIDs to make getmail actually download it twice. > I thought I would inquire here just in case someone has come across > something similar in configuring getmail to read from davmail. Here's hoping. There isn't generally a lot of crossover between getmail-running-users and Microsoft-brand-mail-services, though. :) > log message showing message 2 getting received a second time, but not > message 1: > > Feb 4 09:10:19 getmail[7772]: IDLE message received > Feb 4 09:10:19 getmail[7772]: msg 1/2 (9950 bytes) delivered > Feb 4 09:10:20 getmail[7772]: msg 2/2 (13438 bytes) delivered > Feb 4 09:10:20 getmail[7772]: 2 messages (23388 bytes) retrieved, 0 skipped > Feb 4 09:11:22 getmail[7772]: IDLE message received > Feb 4 09:11:23 getmail[7772]: msg 2/2 (13438 bytes) delivered > Feb 4 09:11:23 getmail[7772]: 1 messages (13438 bytes) retrieved, 1 skipped > Feb 4 09:16:27 getmail[7772]: 0 messages (0 bytes) retrieved, 2 skipped > Feb 4 09:17:21 getmail[7772]: IDLE message received Crank up the verbosity level with --trace and see what UID is logged on the two retrievals of the same message. Charles -- ----------------------------------------------------------------------- Charles Cazabon GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------