olden-mail is an IMAP & SMTP proxy that allows you to connect to SSL enabled mail servers using insecure plaintext connections.
This is of course very insecure, but it's intended to allow vintage computers that don't have SSL capability or ther right ciphers to still be used for e-mail.
You can install using homebrew.
% brew tap rbdr/apps git@git.sr.ht:~rbdr/homebrew-apps % brew install rbdr/apps/olden-mail
You can find pre-built packages for linux @ build.r.bdr.sh. There you can find a .tar.gz
that includes only the binary, or .rpm
and .deb
distributions for fedora and debian that include a manpage.
Binaries are provided for x86_64 and aarch64.
Unstable releases are built directly from the main branch, while tagged versions have their own release and can be considered more stable.
=> olden-mail pre-built releases @ gemini | olden-mail pre-built releases @ https
Make sure you have rust and Make installed. Clone the repository, and run:
% make -e profile=release
Then copy the file somewhere in your PATH
% cp ./target/release/olden-mail /usr/local/bin
The proxy requires you to set environment variables, but otherwise takes
no options.
LOCAL_IMAP_PORT
u16, the port in which the server will listen for IMAP clients. Defaults to 143.
LOCAL_IMAP_BIND_ADDRESS
String, the address on which to listen for IMAP clients. Defaults to 0.0.0.0.
REMOTE_IMAP_PORT
u16, the port to which the server will forward the IMAP messages. Defaults to 993.
REMOTE_IMAP_HOST
String, the host to which the server will forward the IMAP messages. Required.
LOCAL_SMTP_PORT
u16, the port in which the server will listen for SMTP clients. Defaults to 25.
LOCAL_SMTP_BIND_ADDRESS
String, the address on which to listen for SMTP clients. Defaults to 0.0.0.0.
REMOTE_SMTP_PORT
u16, the port to which the server will forward the SMTP messages. Defaults to 465.
REMOTE_SMTP_HOST
String, the host to which the server will for SMTP messages. Required.
Olden mail comes with middleware that transforms messages before they're sent to the client or server:
Whenever a command is modified you can see the actual sent text prefixed with ###
in the debug logs.
text/gemini; lang=en
This content has been proxied by September (3851b).