[prev in list] [next in list] [prev in thread] [next in thread]
List: getmail
Subject: getmail 5.6: No deletion of getmail-ed emails anymore
From: "michaelof () rocketmail ! com" <michaelof () rocketmail ! com>
Date: 2018-05-28 15:39:20
Message-ID: 66cc4fe2-ecf8-f460-7bb0-7edc43271714 () rocketmail ! com
[Download RAW message or body]
Hi all,
I have a nearly identical getmailrc for a few email addresses, e.g. for the sender \
address of this email:
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.mail.yahoo.com
port = 993
username = michaelof@rocketmail.com
password = ....
#mailboxes = ("INBOX.Sent",)
mailboxes = ("INBOX",)
[destination]
type = MDA_external
path = /usr/lib/dovecot/dovecot-lda
# -e: make dovecot return an error if necessary
arguments = ("-e", "-d", "michaelof@rocketmail.com", "-m", "INBOX")
user = vmail
group = vmail
[options]
# retrieve all emails
read_all = true
# delete after succesful delivery
delete = true
# do not add a Delivered-To: header field
delivered_to = false
# do not add a Received: header field
received = false
As Yahoo, whyever, does not (really) support IMAP IDLE, I covered the getmail call \
into a systemd unit which auto-restarts after 300 seconds:
[Unit]
Description=Getmail for michaelof@rocketmail.com
Wants=dovecot.service
After=dovecot.service
[Service]
User=vmail
Group=vmail
ExecStart=/usr/bin/getmail --getmaildir=/var/getmail/getmail-michaelof@rocketmail.com
Restart=always
RestartSec=300
[Install]
WantedBy=multi-user.target
--> WORKED FINE, for months <--
In the last time. not sure since when, it started to run into issues:
- Covering systemd service unit runs into getmail error code "127", seems to totally \
unspecific, no additional, meaningful log entries with systemd journalctl. Running \
into state "failed" after a while, not at once, no idea why.
- Independent if getmail was started by systemd or manually, getmail DOES NOT delete \
mails anymore after delivering them locally, also no idea why, no additional messages
This unwanted behaviour is NOT related to this yahoo account, I'm also getmail-ing \
emails for e.g. a German "Deutsche Telekom" Email Account, where IMAP IDLE works \
perfectly fine. But perfectly fine currently means TONS of duplicates delivered by \
getmail.
I've currently stopped all getmail service units.
Any hints how to trace?
I've made an upgrade to the newest OpenSuse release 15.0, maybe this included an \
upgrade of getmail also, but getmail's [option] flag "delete = true" is still valid, \
or?
Regards,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: getmail-unsubscribe@lists.pyropus.ca
For additional commands, e-mail: getmail-help@lists.pyropus.ca
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic