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.
irmadlad@lemmy.world 1 week ago
I already have sendmail on the server. Is there something special about Postfix? Just asking,I’ve never run Postfix and I’ve never had this experience before with a host. I guess they think that if they charge an extra 6 Euros to flip the switch, people wouldn’t use it for spam purposes. I’m bound and determined to figure out a workaround just because.
2xsaiko@discuss.tchncs.de 1 week ago
There isn’t really, you can probably use sendmail as well. Postfix is just the MTA I’m used to and know can do all of this.
From what I’ve heard about sendmail’s config file, I personally wouldn’t want to use it specifically though…