08-18-2004
OS X Server: Trouble restoring mail from backup...
So I had some bad RAM in my server. Of course I didn't know it at the time. And it kept making the 10.3.5 updater crash. And that last crash did it. My drive was messed up. So I had to reformat and reinstall. Luckily I had a whole slew of fresh backups. But I'm really hung up on the mail. I backed up my mail folder /Library/AppleMailServer folder. That is my mail folder, it contains about 300 MB's of mail, and I can see all my mail users in there. Yes the mail config in the Server Admin app defaults to /var/spool for mail store. That right there confuses me, because then I got 10.3, I did a fresh install, I didn't upgrade. So I don't see how this could be different. But whatever, I change the mail store to /Library/AppleMailServer. And it doesn't work. And when I look at the error logs, the IMAP server is looking for /Library/AppleMailServer/users/[username], but there is no 'users' folder in my AppleMailServer folder. There is a user folder with a different name, and an extra level deep. This is all very confusing, I don't really know what has changed. But I have about 3000 emails that I really need to get access too again. If you know what I'm doing wrong please let me know. Thanks. OH BTW I use SMTP and IMAP only, no pop.
John
Last edited by l008com; 08-18-2004 at 10:38 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Please help me in resolving the issue.
I have taken backup using the below command
$ tar cvf - . |compress -> /opt/globusback2/needed_backups/apglsg.tar.Z
I tried to restore the backup using the below command.
$ zcat /opt/globusback2/needed_backups/apglsg.tar.Z | tar -xvf -
... (2 Replies)
Discussion started by: amirthraj_12
2 Replies
2. UNIX for Advanced & Expert Users
Please help me in resolving the issue.
I have taken backup using the below command
$ tar cvf - . |compress -> /opt/globusback2/needed_backups/apglsg.tar.Z
I tried to restore the backup using the below command.
$ zcat /opt/globusback2/needed_backups/apglsg.tar.Z | tar -xvf -
... (5 Replies)
Discussion started by: amirthraj_12
5 Replies
3. AIX
Hello,
Last night I applied a DB2 fix pack which is now causing problems with the application that uses db2. Prior to applying the fix pack I did a mksysb(rootvg) which includes the file system that has db2 installed on it. If I do a restore from this will it restore the db2 version back to... (1 Reply)
Discussion started by: jyoung
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way :
- Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies
5. HP-UX
We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies
6. AIX
Hi,
I have done NIM restoration via nim_bosinst a lot of times but I have some doubts on restoring a server which is clustered specifically HACMP. Previously, I don't know the trend but after doing a nim_bosinst, I can see the client's hostname is back to "localhost" rather than its original... (0 Replies)
Discussion started by: depam
0 Replies
7. UNIX for Dummies Questions & Answers
I'm using a script (automysqlbackup) to dump mysql db's to .sql file followed by taking one full backup of the .sql file and the differential backups of the newer sql file every day using the tool diff.
Now the backup destination folder contains files like,
I would like to how do i restore... (3 Replies)
Discussion started by: csengineer
3 Replies
8. Shell Programming and Scripting
Hello, I need to restore some yesterday emails from backup within a 5 hours timeframe
this is a openvz container, backup is made by rsync files to another partition in the same server
I have tried to do this
#!/bin/sh
cd /vz/backup/414/home/smartftp/mail/domain1.com/
for dir in new... (6 Replies)
Discussion started by: cuantica
6 Replies
9. Solaris
I have backed up the contents of my Solaris 10 machine in its entirety, and I'm trying to figure out if I can somehow use this archive to restore my old system just as it was on a new machine. Assuming I have all files from my old machine backed up, is this possible?
What I've been trying to do... (6 Replies)
Discussion started by: unblockable
6 Replies
10. Solaris
At work I am running a solaris 10 server with a ZFS filesystem. I am unfortunately not a solaris expert by any stretch of the imagination, and the relative difficulty in doing what I consider to be a super basic operation using solaris is driving me insane.
It is my job to figure out some way... (2 Replies)
Discussion started by: dreiak
2 Replies
LEARN ABOUT OSF1
rcvstore
rcvstore(1) General Commands Manual rcvstore(1)
NAME
rcvstore - incorporate new mail asynchronously
SYNOPSIS
rcvstore [+folder] [-[no]create] [-help] [-sequence name] [-[no]public] [-[no]zero]
OPTIONS
Creates the specified folder. If you attempt to incorporate mail into a folder that does not exist, rcvstore creates the folder if you sup-
ply the -create option. If you supply the -nocreate option, the folder is not created and rcvstore exits. The default is -create. Prints a
list of the valid options to this command. Sets the read permissions of sequences. Normally, when you create a sequence with the -sequence
option, the sequence is not accessible to other MH users. The -public option makes the sequence accessible to other MH users. You can use
the -nopublic option to ensure that the sequence that you create is only accessible to yourself. Specifies a sequence in which rcvstore
places the messages which it incorporates. For more information on sequences, see mark(1). The name of the sequence must begin with a let-
ter, and must consist entirely of alphabetic or numeric characters; no punctuation is allowed. Specifies whether to zero existing
sequences before adding new messages. Normally, rcvstore removes all existing messages from a sequence before adding messages to it. If you
specify the -nozero option, rcvstore adds the messages it finds to the existing contents of the sequence. This option only works with the
-sequence option.
The defaults for this command are:
+folder defaults to +inbox -create -nopublic if the folder is read-only, otherwise -public -nozero
DESCRIPTION
The command rcvstore incorporates a message from the standard input into an MH folder. If a +folder argument is not given the file is
placed in your +inbox folder. The new message being incorporated is assigned the next highest number in the folder.
If the specified (or default) folder does not exist, it is created if the -create option is specified; otherwise rcvstore exits.
If your file contains a Msg-Protect: entry, it is used as the protection on the newly created messages; otherwise the MH default of 0600 is
used. During all operations on messages, this initially assigned protection is preserved for each message. You can use chmod to change the
protection on an individual message, and the new protection is preserved thereafter.
The rcvstore command incorporates anything except zero length messages into your MH folder.
If the profile entry Unseen-Sequence: is present and non-empty, then rcvstore adds the newly incorporated message to each sequence named by
the profile entry. Note that rcvstore does not zero each sequence prior to adding messages.
PROFILE COMPONENTS
Path: To determine your Mail directory
Folder-Protect: To set protections when creating a new
folder
Msg-Protect: To set protections when creating a new mes-
sage
Unseen-Sequence: To name sequences denoting unseen messages
FILES
The user profile.
SEE ALSO
chmod(1), inc(1), mark(1), pick(1), mh-mail(4), mh_profile(4)
rcvstore(1)