Comment on Spit Balling A Work Around For Blocked Email Port

2xsaiko@discuss.tchncs.de ⁨1⁩ ⁨week⁩ ago

Yeah, this should work.

Alternatively, you can set up Postfix to deliver mail over SSH to another MTA by defining a new service in master.cf that calls sendmail on the destination server. This postfix could run in a container as well or on the host, whatever is reachable.

Old NixOS configuration for that here, see the default_transport and masterConfig parts: git.dblsaiko.net/systems/tree/…/relay.nix?h=ssh-m…

Alternatively, if you don’t have another mail server somewhere that you want to relay to, the simplest option is probably to just have Postfix deliver into a local mailbox and access that over IMAP (the imaps port should not be blocked, right? You can use a non-standard port though). Turn off non-local delivery though.

source
Sort:hotnewtop