GitHub - s1t5/mail-archiver: Mail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox migration and a dashboard. (original) (raw)

📧 Mail-Archiver - Email Archiving System

A comprehensive solution for archiving, searching, and exporting emails

🌐 Website: mail-archiver.org

Website Docker .NET PostgreSQL Bootstrap GitHub Stars Buy Me a Coffee Ko-fi

✨ Key Features

📌 Core Features

🔍 Search & Access

👥 User Management

🧩 Email Provider Support

📥 Import & Restore Functions

🗑️ Retention Policies

📚 Documentation

For detailed documentation on installation, configuration, and usage, please refer to the Documentation Index. Please note that the documentation is still fresh and is continuously being expanded.

🖼️ Screenshots

Dashboard

Mail-Archiver Dashboard

Archive

Mail-Archiver Archive

Email Details

Mail-Archiver Mail

🚀 Quick Start

Prerequisites

🛠️ Installation

  1. Install the prerequisites on your system
  2. Create a docker-compose.yml file

services: mailarchive-app: image: s1t5/mailarchiver:latest restart: always environment: # Database Connection - ConnectionStrings__DefaultConnection=Host=postgres;Database=MailArchiver;Username=mailuser;Password=masterkey;

  # Authentication Settings
  - Authentication__Username=admin
  - Authentication__Password=secure123!

  # TimeZone Settings
  - TimeZone__DisplayTimeZoneId=Etc/UCT
ports:
  - "5000:5000"
networks:
  - postgres
volumes:
  - ./data-protection-keys:/app/DataProtection-Keys
depends_on:
  postgres:
    condition: service_healthy

postgres: image: postgres:17-alpine restart: always environment: POSTGRES_DB: MailArchiver POSTGRES_USER: mailuser POSTGRES_PASSWORD: masterkey volumes: - ./postgres-data:/var/lib/postgresql/data networks: - postgres healthcheck: test: ["CMD-SHELL", "pg_isready -U mailuser -d MailArchiver"] interval: 10s timeout: 5s retries: 5 start_period: 10s

networks: postgres:

  1. Edit the database configuration in the docker-compose.yml and set a secure password in the POSTGRES_PASSWORD variable and the ConnectionString.
  2. Definie a Authentication__Username and Authentication__Password which is used for the admin user.
  3. Adjust the TimeZone__DisplayTimeZoneId environment variable to match your preferred timezone (default is "Etc/UCT"). You can use any IANA timezone identifier (e.g., "Europe/Berlin", "Asia/Tokyo").
  4. Configure a reverse proxy of your choice with https to secure access to the application.

⚠️ AttentionThe application itself does not provide encrypted access via https! It must be set up via a reverse proxy!

  1. Initial start of the containers:
  2. Restart containers:
  3. Access the application in your prefered browser.
  4. Login with your defined credentials and add your first email account:

🔐 Security Notes

⚙️ Advanced Setup

For a complete list of all configuration options, please refer to the Setup Guide.

📋 Technical Details

Architecture

🤝 Contributing

We welcome contributions from the community! Please read our Contributing Guide for detailed information about how to contribute to Mail Archiver.

For code changes by third parties, please coordinate with us via email at mail@s1t5.dev before making any changes.

You can also:

💖 Support the Project

If you find this project useful and would like to support its continued development, you can buy me a coffee! Your support helps me dedicate more time and resources to improving the application and adding new features. While financial support is not required, it is greatly appreciated and helps ensure the project's ongoing maintenance and enhancement.

Buy Me a Coffee Ko-fi GitHub Sponsors

🌟 Project Sponsors

With the generous support of our sponsors, Mail Archiver continues to evolve. Thank you for making it possible!

Disclaimer: The services listed above are third-party offerings and are neither affiliated with, endorsed by, nor tested by the Mail Archiver project.

Admin Intelligence

💝 Individual Sponsors

A special thanks to all individual sponsors who support this project through GitHub Sponsors, Ko-fi, and Buy Me a Coffee. Your contributions make a real difference!


📄 License: GNU GENERAL PUBLIC LICENSE Version 3 (see LICENSE file)