Hello everyone,
I'm using getmail to fetch some external mails from POP3 into a dovecot mailbox (providing IMAP). Getmail seems to have some serious problems keeping track of mails already fetched. I have every Mail exactly twice in my Mailbox delivered by Dovecot. Of course they are not in the original external POP3 Inbox.
I hope I'm in right place here. I think the problem is not dovecot related, but getmail. As there is a huge number of user complains about getmail (and obviously no alternative?!) I hope to find some help here for a workaround.
I noticed getmail can
be configured for some kind of filtering to sort out Mails for
local delivery to dovecot.
http://pyropus.ca/software/getmail/configuration.html#filter-examples
Does anyone know how to
query the message-id (given by mail-headers) with doveadm?
My first test was this:
doveadm fetch -u my-mailbox@domain.net "mailbox date.sent" message-id "<369408722.286104911.1547114312259.Foo.root@someone.org>"
To: my-mailbox@domain.net
Message-ID: <369408722.286104911.1547114312259.Foo.root@someone.org>
Subject: Some test
doveadm deduplicate -u gabriel.kaufmann@gmx.net mailbox-guid
May be anyone know a better solution.
-- Best regards Gabriel Kaufmann