Mailbox list in txt file

Bartosz Jozwiak bartek at cq-link.sr
Thu Feb 19 07:27:53 EST 2004


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
<bartek at cq-link.sr> 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: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list