26 Sep
2023
26 Sep
'23
12:05 a.m.
From: "Данила Колесников" d1kolesnikov@gmail.com
I would like to expunge Inbox mailbox every 60 days This mailbox is not in the config any I try to use "doveadm expunge". But my sh configs doesn't works: Fatal: Invalid search date parameter: 60d If I enter the contents of the config directly into the console - everything works correctly the same code in sh - ends with an error.
This sounds like a shell parsing error rather than a dovecot bug. What is the exact command you are using?
Are you trying to empty your INBOX every 60d, or rather, remove messages older than 60days? If the former, you can probably just delete the entire INBOX folder or mailbox via filesystem commands as an alternative.
Joseph Tam jtam.home@gmail.com