Where is mail stored? etc...

I got a few quick questions...
I want to make backups of all the email on our server (we use IMAP accounts)... Where are the files stored?
Also, any suggestions on a good offsite backup program? I want to have a drive at home that automatically backs up the server at work every night... I could backup the whole server once when I'm at work... after that, when the drive is at home, it only backs up files that have been changed... since i am remotely backing up, i should back up incrementally like that right?
Thanks,
Chris

Hi:
No doubt others will give their opnions on what and how to back up as well as what to use.
Briefly Mail is stored in either an outgoing queue awaiting transfer to a remote server or in a local mail store accessible by local mail users. Outgoing mail messages are stored, by default, in the following spool directory on the  startup disk: /var/spool/postfix. This location is temporary and the mail is stored until its transferred out. These locations can be moved to any accessible volume, either local or NFS mounted and symlinked to by the mail administrator. The Mail Service keeps track of incoming mail messages with a database, but the database doesn’t contain the messages themselves; the Mail Service stores each message as a separate file in a mail folder for each user. Incoming mail is stored on the startup disk in the following directory: /var/spool/imap/user/whatever the user name is. Cyrus puts a database index file in the folder of user messages. You can change the location of any or all of the mail folders and database indexes to another folder, disk, or disk partition. You can even specify a shared volume on another server as the location of the mail folder and database. Be careful if you decide to use a shared volume as things can slow down a bit. You should not use NFS for remotely mounted filesystems. Incoming mail remains on the server until its deleted.
You could also enable IMAP for all users that have their accounts enabled for mail. This way all mail is kept on the server until its deleted by the administrator or by the users, if you decide to go for this option as well then /var/imap is the database and /var/spool/imap is the mail store.
As for backup it depends on what you want to spend. Retrospect is a cheap solution that will do the incremental backup that you seem to want. Its been around for a long time and for most people its the first thing they turn to especially on the Mac platform. However its not perfect its slightly limited in its functions and there are problems with it running on the Intel platform, specifically Xserves. It can be ran remotely and supports a variety of devices. There are numerous others which others I’m sure will mention.

Similar Messages

  • Where is mail stored under Tiger?

    I want to back up old correspondence, both outgoing and incoming. Where are they stored? Thanks.

    Michael,
    Just to suppliment your good advice, the Mail Downloads folder is not the primary location of attachments to emails -- attachments reside in the mailbox (including Inbox), thus within the Messages folder of the mailbox, and generally are only seen in the downloads folder if opened by another application other than mail. The preference for how long a copy stays in the Downloads folder can be set in Mail Preferences/General.
    I think the Mail Downloads folder has been added, primarily to support IMAP and .mac accounts where the file attached would otherwise require access to the server to use beyond simply viewing in the Mail window, but operates much the same with POP accounts.
    I would appreciate any thoughts you have about this, since I may have missed something in my explorations.
    Ernie
    PowerMac G5 Dual 2.5, iBook, and QS G4 867   Mac OS X (10.4.3)  

  • OSX 10.8.2 with Server App - Where is mail stored

    I have OSX 10.8.2 with the Server App installed.
    When I first started using the server, I did not have Mail services turned on.  I was able to get all emails from the server (for example whenever cron jobs run) at the local users mail folder.  For example, if the user is johndoe the mail would get sent to [email protected] and the actual mail box would be located at /var/mail/
    I then turned on Mail services and was looking at what the options there were.  I did not actually add any mail service options.  Have not created a Mail server to receive or send mail.  So this has nothing to do with MX records, or anything to do with external email communiciations.
    This is where it got strange. Local mail stopped arriving at the /var/mail folder.  If I used Terminal to check mail at [email protected] it was obvious new mail was arriving and being stored somewhere.  Its just not being stored in the users /var/mail/ folder.
    Can someone please tell me where the mail is being stored locally?  Why did the location change.  Is it because I turned Mail services ON?  Can I make the mail go back to the original location in /var/mail/?
    Shown below are some of the log files related to mail delivery.  SMTP log and Mail Server log both look happy.
    Any help greatly appreciated.
    Oscar
    I looked at the smtp log on the server - everything seemed to be good.
    Jan 14 06:47:18 server.local postfix/pipe[37427]: 58FCDC7B83C: to=<[email protected]>, orig_to=<johndoe>, relay=dovecot, delay=0.03, delays=0/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
    Jan 14 06:47:18 server.local postfix/qmgr[2788]: 58FCDC7B83C: removed
    Jan 14 06:49:08 server.local postfix/pickup[37160]: 74726C7B846: uid=501 from=<johndoe>
    Jan 14 06:49:08 server.local postfix/cleanup[37460]: 74726C7B846: message-id=<[email protected]>
    Jan 14 06:49:08 server.local postfix/qmgr[2788]: 74726C7B846: from=<[email protected]>, size=604, nrcpt=1 (queue active)
    Jan 14 06:49:08 server.local postfix/pipe[37463]: 74726C7B846: to=<[email protected]>, orig_to=<johndoe>, relay=dovecot, delay=0.2, delays=0.02/0.01/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service)
    Jan 14 06:49:08 server.local postfix/qmgr[2788]: 74726C7B846: removed
    Jan 14 06:49:09 server.local postfix/pickup[37160]: C1FA6C7B84B: uid=501 from=<johndoe>
    Jan 14 06:49:09 server.local postfix/cleanup[37460]: C1FA6C7B84B: message-id=<[email protected]>
    Jan 14 06:49:09 server.local postfix/qmgr[2788]: C1FA6C7B84B: from=<[email protected]>, size=606, nrcpt=1 (queue active)
    Jan 14 06:49:09 server.local postfix/pipe[37463]: C1FA6C7B84B: to=<[email protected]>, orig_to=<johndoe>, relay=dovecot, delay=0.06, delays=0.02/0/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
    Jan 14 06:49:09 server.local postfix/qmgr[2788]: C1FA6C7B84B: removed
    Jan 14 06:49:36 server.local postfix/pickup[37160]: 9E9E7C7B850: uid=501 from=<johndoe>
    Jan 14 06:49:36 server.local postfix/cleanup[37460]: 9E9E7C7B850: message-id=<[email protected]>
    Jan 14 06:49:36 server.local postfix/qmgr[2788]: 9E9E7C7B850: from=<[email protected]>, size=605, nrcpt=1 (queue active)
    Jan 14 06:49:36 server.local postfix/pipe[37463]: 9E9E7C7B850: to=<[email protected]>, orig_to=<johndoe>, relay=dovecot, delay=0.03, delays=0/0/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
    Jan 14 06:49:36 server.local postfix/qmgr[2788]: 9E9E7C7B850: removed
    I looked at the Mail Server Log - everything seemed good here too.
    Jan 14 06:53:10 server.local dovecot-lda[37564]: lda(pid 37564 user johndoe): msgid=<[email protected]>: saved mail to INBOX
    Jan 14 06:53:14 server.local dovecot-lda[37572]: lda(pid 37572 user johndoe): msgid=<[email protected]>: saved mail to INBOX
    Jan 14 06:53:23 server.local dovecot-lda[37581]: lda(pid 37581 user johndoe): msgid=<[email protected]>: saved mail to INBOX
    Jan 14 06:55:10 server.local dovecot-lda[37606]: lda(pid 37606 user johndoe): msgid=<[email protected]>: saved mail to INBOX
    Jan 14 06:55:11 server.local dovecot-lda[37610]: lda(pid 37610 user johndoe): msgid=<[email protected]>: saved mail to INBOX
    Jan 14 06:55:19 server.local dovecot-lda[37617]: lda(pid 37617 user johndoe): msgid=<[email protected]>: saved mail to INBOX

    I tried what you recommended and the mail that gets sent out when the cron job runs still goes to the Library/Server/Mail/Data/mail location.  When I checked the /Library/Server/Mail/Config/postfix/main.cf it actually had the mail_spool_directory = /var/mail commented out.
    I uncommented to see it would send mail to /var/mail but it did not work.  Am I missing something.  Another parameter somewhere. Any other suggestions on where I should look?
    Any online documentation that would explain more about what happens when mail services is activated by the Server App?

  • Where is mail stored after archive and install?

    Hello All,
    I need to know where my old mails are stored after archive and install. To give a bit of background... This is a work computer. Its a MacMini which came with 10.4 installed. Before I joined the company boss upgraded to Leopard and thats what I have been using all this time. Recently it blue screened and I had to do an archive and install after trying various other options.
    I only had the original install discs with 10.4 in them and not the Leopard discs. Since I needed to my computer up and running, I used those discs and did an archive and install.
    I have all my old documents, etc but I couldn't open mail from the previous systems folder because its a different OS.
    Is it possible to retrieve my old emails without having to install Leopard again?
    Any help is appreciated.

    When I started the computer up, instead of the login page with the account names coming up, there was just a blue screen. There are lots of articles that gave suggestions to try but nothing worked so I had to archive and install.

  • Where is mail stored?tall

    I want to wipe my current HD which has 10.4.11 and do a clean install of 10.5. Afterwards, I'll reinstall all my photo and music files from an external HD. My concern is how can I put all my email account information back in Mail as well as put all the emails back in as well. Where is all that data stored? Is there anything I have to do concerning authorizing iTunes with a new OS?

    *"Where is all that data stored?"*
    /Users/yourusername/Library/Mail

  • Where is mail stored?

    Hi, I have a lot of various folders created for clients and projects -- from my .mac account and an IMAP account. I'm curious, where these e-mails posted on my hard drive? I want to be able to see how much space these messages are taking up on my drive, and I need to make a copy/backup some files to give to colleagues in a different location. Any tips? Thanks!

    Welcome to the discussions, Denise.
    The messages are stored in the various account folders in the Mail folder in your Library (~/Library/Mail). Attachments are in ~/Library/Mail Downloads.
    AK

  • Where Is Mail Stored So I Can Burn CDs to Get It Off Hard Drive?

    i have so much mail in various mailboxes which i no longer need to access, but i want to save it on CD in case i need to look at it in the future.
    can someone please let me know in which directory this mail is kept? i tried to do this once before, thinking i could just drag the folders out of the program, and burn those.
    but when i checked them, the messages weren't there. presumably they're stored somewhere like the Library.
    also, i am planning to upgrade to Tiger and want to get the old mail off my hard drive before i do that.
    thanx.

    Glad I could help.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • Where is Sent mail stored in POP account?

    OK;
    I should know this and Wikipedia doesn't explain it, but in using Mail under a POP account where "leave mail on server for x time " is selected, are both the incoming and outgoing mail saved on server or only the incoming? I ask because I am trying to restore a POP account using a TM backup that is a few days old. I know the incoming mail will be there for the time since the backup because I checked "leave on server", but will the Sent mail be there also?

    Mail that you send is stored in the Sent Messages.mbox folder for the account, in your Library/Mail folder. It is not stored on the server.
    AK

  • Where is mail data stored in 10.9.4? Mail works fine, but there is no data in Users/Library...?

    Where is mail data (all messages) stored in 10.9.4?  Mail works fine, but I cannot find the data to back it up. It is NOT in Users/Library..(In fact, my User folder has no Library folder at all)..?

    Exposing the /Home/Library/ Folder
    Pick one of the following methods:
    A. This method will make the folder visible permanently. Open the Terminal application in your Utilities folder and paste the following at the command prompt:
    chflags nohidden ~/Library
    Press RETURN.
    B. Click on the Desktop, press the OPTION (⌥) button, select Library from the Finder's Go menu.
    C. Select Go To Folder from the Finder's Go menu. Paste the following in the path field:
    ~/Library
    Press the Go button.
    The data are in your /Home/Library/Mail/V2/ folder.

  • Where are the unsent Workflow E-mails stored?

    Hi All
    Where are the unsent Workflow E-mails stored?
    Regards
    Rahman

    just trying through this
    There r 2 path A and B
    and notifications are A1 A2 A3 And B1
    A A1 A2 A3
    B B1
    Notification A1to A3 are respond type and all the three performer can respond or reject.
    at the same time i've to send B1 notification to that performer which has not responded imeadtly after preavious responder which has responded.
    How can i trace that from tables
    Please it's urgent
    Thanks
    Bachan

  • Mail stored elsewhere?

    I unchecked sync box for mail on mobile me and now have lost all incoming mail that I hadn't answered on Mac Air, iPad and iPhone it's totally gone so is there a server copy somewhere that I can't find? I'm new to apple but been on PC and Blkbry for years! Thane!

    Thank u so much but...When I went to settings on new Mac, then mail,contacts etc, and then went to mobile me and "un"checked the sync box for mail, contacts and calendar cuz I have so many duplicates, it seemed to simply "remove" all mail in my inbox on new Mac, iPad and iPhone it's just gone, so I wondered if there was a site like I had with my old earthlink acct where I went online to earthlink.net then their webmail and logged in online for mail at least all of it was there and I could "resend" to me does that make sense I'm wondering if all mail is somewhere on line or stored? Luckily it's new so I have only about 50 emails to try and remember what they were! Ha

  • Where is iTunes storing my album artwork?

    Running:
    OS X 10.9 Mavericks
    iTunes 11.1.3
    All of my 500+ albums in iTunes have artwork, however my Album Artwork folder on my mac is empty and has no photos.
    I've looked in iTunes media and all other files and I can't find it anywhere.
    (I want to select it as a folder to share with my Apple TV and use it as a screensaver)
    Is there anyway I can trace the file location to find out where iTunes is storing all of my artwork?

    westkestrel wrote:
    I've looked in Album Artwork and it says there are no photos there. (I even searched in each individual folder within it and it is empty)
    If they are stored there, they are encrypted anyway, so you would not be able to use them.
    When looking through the idividual song files under itunes I can't find anything that isn't in an audio format. There are no jpegs, png, etc.
    They are actually embedded in the song files.  To get at it, right-click the track in the library, Get Info, go to the Artwork tab, and you should see it.  You can do a Copy from there.

  • Iphone 3G - cannot access the bottom of the mail,Contact etc. Settings pane

    When I go to the pane I can set all my mail accounts etc but if I try to scroll down to the bottom of that page where I can set the sorting order of the contacts the iphone freezes and takes me back to the home screen.
    I have done a total 2 hour reset of the phone 2 hours ago and restored the software fresh without using a backup...
    Any ideas ?

    are you signed in to those stores? do you have them restricted in settings, restrictions?

  • Where are photographs stored on my computer?

    as have all my pics on a separate hard disk, want to delete a double i have on my hard disk - problem is cannot find that file anywhere. where do i access in iphoto where and how to put the pictures?
    yes, tried in the Pictures folder, but there is nothing there.
    i seem to remember that in iPhoto i can somehow reroute where pictures are stored. where and how do i find this?
    Many thanks,
    Mark

    Mark:
    Do you have a library currently that is a managed library? That is when photos are imported into it the files are copied into the library package/folder? If so the photos are located in the Originals folder of that library package in your Pictures folder. You can open it like this.
    It sounds like you want to have a referenced library where you are responsible for the management of the source files and have iPhoto only use alias files pointing to them. There are some consequences to that system. One is that if you have the library open and the disk gets dismounted iPhoto can lose the link between the alias files and the originals and you may have to reset them either folder by folder (if you're lucky) or file by file. Another downside is that if you delete a photo from the library you will have to find that file via the Finder on the external HD and delete it manually.
    You would be better served, IMO, if you had a managed library on the external HD which contained all of your photos. Then have a smaller library on the MBP with just the most current or most important files for when you take the laptop on the road. You can use the paid version of iPhoto Library Manager to copy albums or events from one library to the other as needed.
    You will also need a system to backup the external HD since those will be your only copy of the photos. There's a thread today by a user whose external HD crashed with the only copies of his photos on it. He's paying a considerable amount of money to recover that HD, more than a second external HD would cost. It's something to think about.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Where do mail rules live in finder? I lost all and want to retrieve them rather than re invent

    Where do mail rules live in finder?

    Mail rules are stored in iCloud if you use iCloud.
    They're in ~/Library/Mobile Documents/com~apple~mail/Data/MailData/SyncedRules.plist.
    Note you should be VERY careful about modifying anything under Mobile Documents as it's iCloud and changes/errors/deletions you make will be instantly synched to all your devices.

Maybe you are looking for

  • My iPod Touch keeps freezing! WHY?!

    I have the 8GB, 4th Generation iPod Touch with software version 4.2.1. It's about two years old and has recently begun to freeze (no colored pages, just frozen on whatever screen it was on when it froze). It happens when I am playing and exploring my

  • Webservice from Portal Service - Import Param of WebService Method Error

    Hello, I have developed a portal service and after that I created a portal web service from that portal service... If I use a String variable for the import parameter of my webservice method everything works fine! But if I us a custom class for the i

  • Premiere Pro CC Crashing when Scrolling Through Sequence in Timeline - Audio Waveform Goes Blank First

    The description is in the title: Premiere Pro CC Crashing when Scrolling Through Sequence in Timeline - Audio Waveform Goes Blank First. Just started today, won't stop crashing now after a minute or two, and always does it when I scroll through the t

  • Icons won't appear on launch pad terminal won't open

    Hi I having a major problem with my Mac (it's a MacBook Pro 2012 i5 16gb) for a long  time I tried to open launch pad it only appears the name of the app not the icon, so I checked a few forums and mostly the solution was to run in the terminal a com

  • Can Not Make Alias of Files on Server

    I have one computer on my network I cannot get to make alias files. It will make the alias and when you go to select it I get cannot find alias error. Even when I repair it it errors. I have tried the short cut to make an alias with no luck and even