Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (23 loc) · 1.41 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.41 KB

OneWayMail

A Trash Mail Service for your own mail domain.

OneWayMail is an online service to generate temporary e-mail addresses with forwarding to your personal mailbox.

What's this project about?

Most mailservers support setting up a so-called catch-all mail forwarding to a single mailbox. That's where all emails to ...@yourmaildomain would end up. The service does nothing but monitor the mailbox and then forward the emails depending on what rules you have set via the web ui.

image

Prerequisites

  • An own mail domain
  • Mail server (I love hMailServer) which supports IMAP.
  • A catch-all mailbox
  • Windows Server with IIS
  • .NET 4.8 Framework
  • SQL Server

Configuration

OneWayMail has following components:

  • A Web UI where users can request new e-mail-adresses.
  • A Windows Service that constantly monitors the Catch-All mailbox for new mails and forwards the mails using the forwarding rules if necessary.
  • The forwarding rules and logs are stored in a SQL Server database.

The Web UI and the Windows Service share the same SQL Server database.

Web UI

You have to configure the connection string to the database here

Service

The connection string and the IMAP/SMTP settings must be configured here