Closed fairking closed 8 months ago
Could it be your external IP ("x.x.x.x") is not configured on a network interface on this fedora machine, but on a (nat) router? I would think so, given the screenshot of port forwards. The error says it cannot bind to the requested IP, so that would make sense in case of NAT. If that's the case, you could specify the 192.... address in the "public" Listener (and remove it from the "internal" Listener), and configure your external IP address in the public listener under "NATIPs".
Keep in mind that you will run into deliverability issues when you external/public IP address changes. Once you get further, you'll set DNS records (e.g. SPF) that tie your domain in with your external IP. I'm also guessing you cannot set up reverse DNS for your external IP, which is used by some mail servers to increase the "looks like spam score". Receiving email should be OK, but it's not great if your IP changes and someone else temporarily has the IP for your MX record...
I had a similar issue and as mjl said, mox expects addresses listed under IPs
to be bind()able from the local machine. You can use NATIPs
to indicate the routable IP, and specify the address for the local interface under IPs
.
However, a bigger issue will be running an SMTP server behind a dynamic IP address; at the very least that IP range will likely be present on multiple DNSBL lists. Do you not have access to a static IP address you could use instead?
I hope this has been resolved by now, or is no longer an issue? Given the lack of activity. I'll close this issue for now, feel free to reopen if help is still needed.
Hi guys,
I someone could help me with running the service.
System: Fedora 37 amd64 User : mox X.X.X.X - My External IP (Dynamic DNS), IP could change. mymail.com - My domain
The command:
./mox serve
gives me the following response:I also have the following ports forwarded on my router:
My mox.conf as follows:
My domains.conf as follows:
Not sure what I am doing wrong. The error does not mean anything.