[Dovecot] doveadm expunge info message in std.error

Pascal Volk user+dovecot at localhost.localdomain.org
Wed Mar 16 21:47:25 EET 2011


On 03/16/2011 08:00 PM Kui Zhang wrote:
> Hello
> 
> This command
> 
> doveadm expunge -u "user at domain" mailbox ".namespace/*" savedbefore 7d
> 
> writes these messages to std.error
> 
> doveadm(user at domain): Info: expunge: box=.namespace/INBOX, uid=5932,
> msgid=<E1Puxwf-0001fD-Si at 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 at domain" mailbox ... 2>&1

But cron will send you mails with stdout output too. AFAIK



Regards,
Pascal
-- 
The trapper recommends today: deadbeef.1107520 at localdomain.org


More information about the dovecot mailing list