[Dovecot] doveadm expunge info message in std.error
Kui Zhang
kuizhang at gmail.com
Wed Mar 16 23:25:33 EET 2011
Sorry, I was not very clear on my request...
I dont want emails from cron unless there is a problem.
I was hopping Timo could patch the expunge call. So information
messages go to std.out and errors to std.error..
Thanks
KuiZ
On Wed, Mar 16, 2011 at 12:47 PM, Pascal Volk
<user+dovecot at localhost.localdomain.org> wrote:
> 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