Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

chk_cyrus(8) [debian man page]

CHK_CYRUS(8)						      System Manager's Manual						      CHK_CYRUS(8)

 *

NAME
chk_cyrus - perform a consistency check of the cyrus mailstore SYNOPSIS
chk_cyrus [ -C config-file ] [ -P partition ] [ -M mailbox ] DESCRIPTION
Chk_cyrus is used to perform a consistency check on the cyrus datastore, and output a list of files/directories that are expected to exist, but do not. Status messagess are output to stderr, the list of files/directories is output to stdout. This list can be passed to a backup program to aid a partial restoral, for instance. Chk_cyrus reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C. OPTIONS
-C config-file Read configuration options from config-file. -P partition Run the consistency check for only the given partition. May not be specified with -M. -M mailbox Run the consistency check for only the given mailbox. May not be specified with -P. FILES
/etc/imapd.conf SEE ALSO
imapd.conf(5), cyrmaster(8) CMU
Project Cyrus CHK_CYRUS(8)

Check Out this Related Man Page

CTL_MBOXLIST(8) 					      System Manager's Manual						   CTL_MBOXLIST(8)

 *

NAME
ctl_mboxlist - perform operations on the mailbox list database SYNOPSIS
ctl_mboxlist [ -C config-file ] -d [ -x ] [ -p partition ] [ -f filename ] ctl_mboxlist [ -C config-file ] -u [ -f filename ] ctl_mboxlist [ -C config-file ] -m [ -a ] [ -w ] [ -i ] [ -f filename ] ctl_mboxlist [ -C config-file ] -v [ -f filename ] DESCRIPTION
Ctl_mboxlist is used to perform various administrative operations on the mailbox list database. Ctl_mboxlist reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C. The configdirectory option is used to determine the default location of the mailbox list database. OPTIONS
-C config-file Read configuration options from config-file. -d Dump the contents of the database to standard output in a portable flat-text format. NOTE: In Cyrus versions 2.2.13 and earlier, the dump format did not include the mailbox type flags, breaking remote mailboxes (frontends, mupdate master, unified backends) when undumped. -x When performing a dump, remove the mailboxes dumped from the mailbox list (mostly useful when specified with -p) -p partition When performing a dump, dump only thise mailboxes that live on partition -u Load the contents of the database from standard input. The input MUST be in the format output using the -d option. NOTE: Both the old and new formats can be loaded, but the old format will break remote mailboxes. -m For backend servers in the Cyrus Murder, synchronize the local mailbox list file with the MUPDATE server. -a When used with -m, assume the local mailboxes file is authoritiative, that is, only change the mupdate server, do not delete any local mailboxes. USE THIS OPTION WITH CARE, as it allows namespace collisions into the murder. -w When used with -m, print out what would be done but do not perform the operations. -i When used with -m, asks for verification before deleting local mailboxes. -v Verify the consistency of the mailbox list database and the spool partition(s). Mailboxes present in the database and not located on a spool partition, and those located on a spool partition (directory containing a valid cyrus.header file) and not present in the database will be reported. Note that this function is very I/O intensive. -f filename Use the database specified by filename instead of the default (configdirectory/mailboxes.db). FILES
/etc/imapd.conf SEE ALSO
imapd.conf(5), cyrmaster(8) CMU
Project Cyrus CTL_MBOXLIST(8)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how can I do this

I want to do a consistency check on my harddisk. can anybody help me out? (2 Replies)
Discussion started by: neeles
2 Replies

2. Shell Programming and Scripting

file size check

How can I perform size check of any character file(which switch)? For example: I have to perform certain actions if file size is not zero. How can I do that? Is this syntax fine? if test ! -z $filename then fi (2 Replies)
Discussion started by: malaymaru
2 Replies

3. UNIX for Advanced & Expert Users

Where are the data ?

Hello, I have a strange thing, when I want to see where my data are on a partition, and to check too if the partition is filling up... So, first I check with : df -k /my/partition here is the ouput of this command Filesystem kbytes used avail capacity Mounted on... (4 Replies)
Discussion started by: spoown
4 Replies

4. Shell Programming and Scripting

running C program to output in multiple locations

Hi Guys, What I am looking at doing is to run a C program in my home directory, but output files in multiple directories BUT not at the same instance. For e.g. 1st instance: Run program.c and output results in path /aaa/bbb/ccc/ 2nd instance: Run program.c again and output results... (9 Replies)
Discussion started by: Jatsui
9 Replies

5. Shell Programming and Scripting

Need some help on scripting for validating the files before loading

Hi, I need to perform some validation steps on the files before I start loading them. 1. I need to check for the availabilty of the file in expected path with expected name. 2. I need to check If the file format is correct. a. confirm if correct delimiter is used. b.... (1 Reply)
Discussion started by: smileyreddy
1 Replies

6. Shell Programming and Scripting

Filesystem_checking

hi i know the chkfsys utility and know how to check through command line . but i want to check in script . i have cf having 4 partition . 1st partition having qnx image . after booting i have to check filesystem on other partition . if any error having those partition i have to display the error... (2 Replies)
Discussion started by: ganesan_p
2 Replies

7. Shell Programming and Scripting

Filesystem_checking?

hi i know the chkfsys utility and know how to check through command line . but i want to check in script . i have cf having 4 partition . 1st partition having qnx image . after booting i have to check filesystem on other partition . if any error having those partition i have to display the... (0 Replies)
Discussion started by: ganesan_p
0 Replies

8. Windows & DOS: Issues & Discussions

How to check if the folders in mounted on which partition?

Hi there, I am able to check which parition from Storage > Disk Management How is it possible to check if the folder is mounted on which partition. (1 Reply)
Discussion started by: alvinoo
1 Replies