No description
This repository has been archived on 2026-02-08. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2025-01-24 21:45:34 +01:00
defaults Add dovecot_proxy.config option 2025-01-24 21:45:34 +01:00
handlers Initial commit 2025-01-14 16:25:12 +01:00
tasks Install missing dovecot-sqlite package 2025-01-14 16:28:01 +01:00
templates Add dovecot_proxy.config option 2025-01-24 21:45:34 +01:00
README.md Initial commit 2025-01-14 16:25:12 +01:00

MUA-facing IMAP and SMTP (submission) proxy with Dovecot

Forwards IMAP and SMTP (submission) connections from MUAs to different backend servers based on the mail domain.

dovecot_proxy:
  domain_proxies:
    example.com:
      backend_host: myoldmailsetup.net
    mymaildomain.org:
      backend_host: mynewmailsetup.org

This proxies users with @example.com email addresses to myoldmailsetup.net and users with @mymaildomain.org email addresses to mynewmailsetup.org.

Make sure to setup ssl certificates (see defaults for ssl_cert and ssl_key).