Hi,
how do I list the size of mails in Trash for every users? So the output would be like:
user A = 23M
user B = 100M
etc.
I tried asking this using chatgpt and deepseek, but it results in 0KB.
52402779d33e:/# doveadm fetch -u ABC@XYZ.com 'size.physical' 'guid' <(doveadm search -u ABC@XYZ.COM savedbefore 14d | awk '{print $1}') | awk '/size.physical:/ {sum += $2} END {printf "Total: %.2f GB\n", sum/1024/1024/1024}'
Total: 0.00 GB
52402779d33e:/#