Yesterday I discovered mailcow. It’s just what I was looking for, a combination of the components I use at work (dovecot/postfix/SOGo) into an easy to use package for at home. :-) Thanks for making it available.
The problem I face is that at home, my ISP is blocking port 25, so I need to find a solution to ‘re-deliver’ incoming mails to a non-blocked port, like 2525. I found dynu.com that does the trick nicely but requires a per-domain fee. There is also forwardemail.net, and I like that one better, as it can be completely free.
I am using this configuration: https://forwardemail.net/en/faq#can-i-forward-emails-to-ports-other-than-25-eg-if-my-isp-has-blocked-port-25
with the two DNS entries in the mydomain.nl zone:
forward-email-port=2525
forward-email=fqdn.homeserver.nl
Now, when sending a test email to test@mydomain.nl, this is what I get:
test@mydomain.nl: host mx1.forwardemail.net[138.197.213.185] said: 550
Error for fqdn.homeserver.nl of "Can’t send mail - all recipients were
rejected: 550 5.1.1 test@fqdn.homeserver.nl: Recipient address rejected:
User unknown in local recipient table" If you need help please forward this
Forwardemail.net seems to have rewritten the To-field from test@mydomain.nl into test@fqdn.homeserver.nl, causing mailcow to respond with a 550 error.
I don’t understand why forwardemail.net changes test@mydomain.nl into test@fqdn.homeserver.nl at “re-delivery” time. I have confirmed that mailcow is accepting email for test@mydomain.nl, but not for test@fqdn.homeserver.nl. (that is only the FQDN for my home server, and not a domain I ever want to receive email for)
Is anyone here using forwardemail.net? Tips, suggestions to make it work?
(or other ways to make mailcow work with a blocked port 25 as also welcome)