5 More Discussions You Might Find Interesting
1. AIX
Just looking for some guidance on how to figure out who might have deleted some files off one of my systems.
These files are not root owned files so could be deleted by a handful of folks in the group responsible for these files besides the root users.
Anyway I have been tasked with trying to... (1 Reply)
Discussion started by: juredd1
1 Replies
2. Solaris
Friends,
I have accidently, as root, created a directory gabsf under /home. Now I cannot delete this thing, I have tried rm and rmdir, as well as explicit path name, but it is really undeleteable. Here is what ls -l says.
# ls -l /home
total 6
drwxr-xr-x 2 dawood dawood 2 Sep 5... (3 Replies)
Discussion started by: gabam
3 Replies
3. Linux
Hello. I am having a problem and I was wondering if I could get some help from here. I changed into a directory with the cd command and I wanted to delete a folder and all of its subdirectories, so I went ahead and did a rm --recursive * in my current directory to realize that I was in the wrong... (3 Replies)
Discussion started by: jonnydadesigner
3 Replies
4. UNIX for Dummies Questions & Answers
I have exim4 smtp server running on Debian. I tend to use only one user account to login. The machine is running multiple websites and I have assigned unique email addresses for each of the websites.
Emails sent to these addresses do not seem to get delivered. Emails sent to the alias that I... (0 Replies)
Discussion started by: shikarishambu
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
We have a file which needs supper user previleges to delete. There are 10 users having super user preveleges. Some times back that file got deleted. How to know who has deleted that file? (6 Replies)
Discussion started by: siba.s.nayak
6 Replies
LEARN ABOUT SUSE
reconstruct
RECONSTRUCT(8) System Manager's Manual RECONSTRUCT(8)
*
NAME
reconstruct - reconstruct mailboxes
SYNOPSIS
reconstruct [ -C config-file ] [ -p partition ] [ -x ] [ -r ] [ -f ]
[ -k ] [ -s ] [ -g ] [ -G ] mailbox...
reconstruct [ -C config-file ] -m
DESCRIPTION
Reconstruct rebuilds one or more IMAP mailboxes. When invoked with the -m switch, it rebuilds the master mailboxes file. It can be used
to recover from almost any sort of data corruption.
If Reconstruct can find existing header and index files, it attempts to preserve any data in them that is not derivable from the message
files themselves. The state reconstruct attempts to preserve includes the flag names, flag state, and internaldate. Reconstruct derives
all other information from the message files.
Reconstruct reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C. Any mailbox directory under-
neath the path specified in the partition-news configuration option is assumed to be in news format.
Reconstruct does not adjust the quota usage recorded in any quota root files. After running reconstruct, it is advisable to run quota(8)
with the -f switch in order to fix the quota root files.
OPTIONS
-C config-file
Read configuration options from config-file.
-p partition
Search for the listed (non-existant) mailboxes on the indicated partition. Create the mailboxes in the database in addition to
reconstructing them. (not compatible with the use of wildcards)
-x When processing a mailbox which is not in the mailbox list (e.g. via the -p or -f options), do not import the metadata from the
mailbox, instead create it anew (this specifically affects at least the mailbox's seen state unique identifier, user flags, and
ACL).
-r Recursively reconstruct all sub-mailboxes of the mailboxes or mailbox prefixes given as arguments.
-f Examine the filesystem underneath mailbox, adding all directories with a cyrus.header found there as new mailboxes. Useful for
restoring mailboxes from backups.
-k Preserve the cyrus.expunge file and the corresponding message files instead of deleting them.
-s Adds synchronization records to the log, so the synchronization service can replicate the changes.
-g Clear existing or regenerated GUIDs for all messages.
-G Force regeneration of GUIDs for all messages.
-m NOTE: CURRENTLY UNAVAILABLE
Rebuild the mailboxes file. Use whatever data in the existing mailboxes file it can scavenge, then scans all partitions listed in
the imapd.conf(5) file for additional mailboxes.
EXAMPLES
You want to reconstruct the index files for a user, you have recovered a deleted mail file from backup and given it a suitable name (eg
user/ben-lacy/33.), but it is not visible since it is not indexed:
reconstruct -r user.ben-lacy
If you have the unixhierarchysep:yes option set in /etc/imapd.conf you would need to run:
reconstruct -r user/ben.lacy
FILES
/etc/imapd.conf
CMU
Project Cyrus RECONSTRUCT(8)