Nope ....
world of multitasking
imap fetchs a list of emails at the time of the fetch and then processes it after the fact with that list
i have python scripts running doing similar stuff
best suggestion is to make an error trap and rerun 5 mins later or something ??
I would not really consider it a bug in a multi user / multitasking environment, stuff will trip over each other once in a while you just need to accomodate for any errors thrown
Have A Happy Sunday !!!
Thanks - Paul Kudla (Manager SCOM.CA Internet Services Inc.)
Scom.ca Internet Services <http://www.scom.ca> 004-1009 Byron Street South Whitby, Ontario - Canada L1N 4S3
Toronto 416.642.7266 Main 1.866.411.7266 Fax 1.888.892.7266 Email paul@scom.ca
On 2/10/2024 7:24 AM, Kirill A. Korinsky wrote:
Greeetings,
I do have a cron script which runs doveadm NOT mailbox Junk SEEN SINCE 30d
Everything works well with one exception, if user removes email when it's running, it may lead to an email from cron like:
doveadm(...): Error: fetch(hdr) failed for box=virtual.All uid=145266: Message was expunged (for backend mailbox INBOX)
I feel that it is a bug, isn't it?