Hello
This command
doveadm expunge -u "user@domain" mailbox ".namespace/*" savedbefore 7d
writes these messages to std.error
doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5932, msgid=E1Puxwf-0001fD-Si@hostname, size=1824 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5933, msgid=E1Puy0N-0001fI-No@hostname, size=1822 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5934, msgid=E1Puy0Q-0001fM-I0@hostname, size=1824 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5935, msgid=E1Pv6CY-0001ge-H9@hostname, size=1843 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5936, msgid=E1Pv6Hm-0001gi-7R@hostname, size=1822 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5937, msgid=E1PvMRn-0001lm-A6@hostname, size=1854 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5938, msgid=E1PvZLN-0001p4-EF@hostname, size=1832 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5939, msgid=E1PvZN6-0001p8-IA@hostname, size=1840 doveadm(user@domain): Info: expunge: box=.namespace/INBOX, uid=5940, msgid=E1PwMvo-0001xs-8w@hostname, size=1835
Can we write these messages(informational) to std.out
It would help reduce cron mails.
Thanks KuiZ