Re: Mailbox list in txt file

From: Bartosz Jozwiak (no email)
Date: Thu Feb 19 2004 - 07:27:53 EST

This is what i get:

bartek:/# su - cyrus
bartek:/# /usr/cyrus/bin/ctl_mboxlist -d
fatal error: must run as the Cyrus user

--On Donnerstag, 19. Februar 2004 8:38 Uhr -0300 Bartosz Jozwiak
<> wrote:

> I have been trying to create a txt file with list of mailboxes:
> su - cyrus -c "/usr/cyrus/bin/ctl_mboxlist -d" > /cyrus/mailboxlist.txt
> What I only get is emply txt file :( why ?

If I were you I'd do it in separate steps to find out:

su - cyrus
/usr/cyrus/bin/ctl_mboxlist -d

Does this return anything?

Cheers, Sebastian Hagedorn

Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
Home Page:
List Archives/Info:

Hosted Email Solutions

Invaluement Anti-Spam DNSBLs

Powered By FreeBSD   Powered By FreeBSD