On 03/16/2011 08:00 PM Kui Zhang wrote: > 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 … > > Can we write these messages(informational) to std.out > > It would help reduce cron mails.
Yes - we can. :-) doveadm expunge -u "user@domain" mailbox ... 2>&1 But cron will send you mails with stdout output too. AFAIK Regards, Pascal -- The trapper recommends today: [email protected]
