This project provides a Python script and Docker-based environment for converting PST (Personal Storage Table) files to MBOX (Mailbox) format. PST files are commonly used by Microsoft Outlook, while MBOX is a more open and widely supported mailbox format.
- Converts PST and OST files to MBOX format.
- Dockerized environment for easy deployment.
- Parses MBOX files and extracts email details, including attachments.
- Stores parsed email data in an SQLite database.
- Suitable for batch processing of PST files.
- Docker: Ensure you have Docker installed on your system.
-
Clone or download this repository to your local machine.
git clone https://github.com/cyber-evangelists/pst_parser.git cd pst_parser docker build -t pst_parser .
-
Place your PST and OST files that you want to convert into the
target_files
directory. -
Start a Docker container using the built image:
docker run -v $(pwd)/target_files:/app/target_files -v $(pwd)/mbox_dir:/app/mbox_dir pst-to-mbox-converter
The script will convert the PST and OST files to MBOX format and store them in the
mbox_dir
directory.
This project is licensed under the MIT License. See the LICENSE file for details.
- This project utilizes the
readpst
utility for PST file conversion.
- Ensure that your PST files are placed in the
target_files
directory before running the Docker container. - Customize the
main.py
script for any additional processing or parsing requirements.