Re: Every retrieval a duplicate

Larry Fahnoe <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <CAOQDSYMxtukV2SHmh2S5CbsxmkcSqZq6UfN=NXWFcxcr=wGQBA@mail.gmail.com>
My guess is that the duplicates are due to you telling getmail to retrieve
from both GMail's Inbox and All Mail.  All Mail contains all your messages,
Inbox is a virtual folder that contains only unread messages.  Once a
message is read it is removed from Inbox, but stays in All Mail.  Depending
on what you're trying to accomplish, I would suggest one or the other but
not both Inbox and All Mail.

--Larry

On Thu, Aug 30, 2018 at 2:40 PM Long black coat <[email protected]>
wrote:

> Hi.
>
> Getmail is retrieving two copies of all emails in my Inbox. These
> are simultaneous retrievals from a single getmail command.
>
> It is also duplicating retrievals of many emails that have been moved
> from Inbox into custom folders; I can't see any pattern to when this
> happens and doesn't happen.
>
> I'm retrieving from a gmail IMAP account.
>
> My rc file is below. Any help will be much appreciated.
>
> # More configuration options here:
> # http://pyropus.ca/software/getmail/configuration.html
> [retriever]
> type = SimpleIMAPSSLRetriever
> server = imap.gmail.com
> mailboxes = ("Inbox", "[Gmail]/All Mail") # optional - leave this line out
> to just grab inbox
> username = redacted
> password = redacted
>
> [destination]
> type = MDA_external
> path = /usr/bin/procmail
> arguments = ("-f", "%(sender)", "-m", "$HOME/.procmailrc")
>
> [options]
> verbose = 2
> message_log = ~/.getmail/log
> message_log_verbose = true
> max_messages_per_session = 100
>
> read_all = false
>
> delivered_to = false
> received = false
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

-- 
Larry Fahnoe, Fahnoe Technology Consulting, [email protected]
           Minneapolis, Minnesota       www.FahnoeTech.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.