Sign inSign up

tigerhacker/opentrashmail-web

By tigerhacker

•Updated over 3 years ago

Image
0

211

tigerhacker/opentrashmail-web repository overview

⁠Open Trashmail: Web

Open Trashmail, but split up, this is just the PHP/Nginx based web server

⁠Changes

⁠SMTP
  • Updated to run on Python 3.11 (supports 3.6-3.11)!
  • Fixes to support different text encodings in received emails
  • Fixes to support recieveing emails with non-JSON serialisable content, encode to base64
  • No env parameters, pass in your premade config.ini
⁠Web
  • Support base64 encoded payload
  • Allow downloading of emails as a .eml
  • Add default domain to webui field

⁠Getting started

Here is a basic config.ini to get you started

[GENERAL]
DOMAINS=example.com
[MAILSERVER]
MAILPORT=25
DISCARD_UNKNOWN=false
[DATETIME]
DATEFORMAT=D.M.YYYY HH:mm
[CLEANUP]

docker run -p 80:80 -v ./data:/data tigerhacker/opentrashmail-web

⁠Docker Compose

Here is a sample docker compse file to get you stared, including the web component

version: "3"
services:
  smtp:
    image: tigerhacker/opentrashmail-smtp
    container_name: opentrashmail-smtp
    restart: unless-stopped
    ports:
      - "25:25"
    volumes:
    - ./data:/data
    - ./config.ini:/config.ini:ro

  web:
    image: tigerhacker/opentrashmail-web
    container_name: opentrashmail-web
    restart: unless-stopped
    ports:
      - "80:80"
    volumes:
    - ./data:/data
    - ./config.ini:/config.ini:ro
    

⁠Code

Source:

Forked from:

Tag summary

Content type

Image

Digest

sha256:284687a95…

Size

153.3 MB

Last updated

over 3 years ago

docker pull tigerhacker/opentrashmail-web