Postfix mail storage files

12,155

Solution 1

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.

Solution 2

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

Share:
12,155

Related videos on Youtube

algorytmus
Author by

algorytmus

Updated on September 18, 2022

Comments

  • algorytmus
    algorytmus over 1 year

    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.

  • algorytmus
    algorytmus about 12 years
    I already found it out. I actually want to check where mails are placed by postfix - some configuration file; where to find it?
  • Daniel Pittman
    Daniel Pittman about 12 years
    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.
  • algorytmus
    algorytmus about 12 years
    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?
  • Burgi
    Burgi over 7 years
    Can you add some context to this?