Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have server disks from a Linux system. Linux has crashed. I would like to know how to check where the mails are stored in the system (probably postfix). I can only view files in Windows - the Linux system is not functioning.

share|improve this question

Mail is usually stored in /var/mail on Linux systems.

share|improve this answer
Only root file in mbox format (in /var/mail). Only mails received by root@ (approximately 10 mails). There must be more accounts and more mails. But where? – algorytmus Mar 1 '12 at 21:07

You will need something that can read the file system of the Linux server. That is actually hard on Windows, because there are not great drivers available. You might do better with a "LiveCD" style bootable Linux system.

To read the disk you need something that can understand the file system. Since you don't specify a distribution, the most likely format is ext3, or perhaps ext4, for which a Windows ext2 IFS driver or a user-space tool that reads the file system are the best bet.

Once you have access to the disk, Postfix stores email in /var/spool/postfix, in a binary format that you really want the postcat(1) tool to extract in human readable format. The basic data is plain enough text, though.

The configuration of Postfix, which can - but rarely does - override the configuration is in /etc/postfix on a typical system.

share|improve this answer
I already found it out. I actually want to check where mails are placed by postfix - some configuration file; where to find it? – algorytmus Mar 1 '12 at 20:46
Sorry, that wasn't clear; I thought you needed to get to the disk, not to the Postfix bits. I extended the answer to help out there. – Daniel Pittman Mar 1 '12 at 20:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.