0
Summary
So I have mostly set up hosting emails. I can send mails from my phone through IMAP with my new server however I never receive any mail. I have tried the following:
telnet localhost 2525
ehlo f.com
mail from: eric
rcpt to: eric@f.com
data
Subject: Test
This is a test
.
This shows that the email queries correctly however running the following shows 0 emails received:
telnet localhost 173
a login user pass
b select inbox
At this point I see no new emails:
0 EXISTS
0 RECENT
c logout
However if I do the same but send it to an external email address (like gmail) then it works. This leads me to believe that I simply can't receive incoming emails right now. I have also verified this through sending from a gmail address but it still shows 0 EXISTS
.
What I think is wrong
So I have an ISP that does block port 25, and for that reason I use dynu.com to redirect port 25 to port 2525 instead. The outbound traffic is getting redirected correctly as I am able to send emails out so my thought is that my MX record is not setup correctly.
I have my MX setup as follows:
I just redirect it to the dynu account basically. Is this done correctly? Isn't this basically where e@f.com gets redirected to the dyndns service of dynu then back to my actual server?
Thanks for the response. I changed the Mail server address to: relay.dynu.com. When running your example I get: f.com mail is handled by 10 relay.dynu.com > relay@dynu.com has address 168.235.105.136 (not my IP address) – Eric F – 2018-11-26T17:23:12.363
I did try changing it so it points to f.dynu.net instead and then when I do host -t f.dynu.net it does show my ipaddress... so I will have to see if that works. I need to wait until my MX change actually goes through – Eric F – 2018-11-26T17:26:55.577
I am guessing that a connection to
relay.dynu.com
port 25 does not reach your server at port 2525. Most likely dynu.com is not doing what you hoped it would do (give you a hostname that forwards every connection to its port 2525 to your port 25). I would guess that the best service they offer is to host a mail relay for you (accepting all email and then forwarding it on to your server, likely using ETRN instead of SMTP then) – Christoph Sommer – 2018-11-26T17:36:41.380See my edit to my question. It shows outgoing ports should goto 25, 26, an 2525 so I think it should be doing its job of forwarding emails to port 2525 as far as I can tell.. – Eric F – 2018-11-26T17:43:10.303
The settings you posted are listed as outgoing ports, so I am guessing this is for sending mail from your computer. – Christoph Sommer – 2018-11-26T17:46:53.103
I think you are correct. I will use their forwarding service and see if that works. Thanks for the help! – Eric F – 2018-11-26T18:36:17.280
So I did sign up for dynu's forwarding service, as well as transferring my domain to be with them to try and make it easier but I can't receive emails still.. All it says under the email forward settings is to specify a catch all email address and it gives a primary and secondary MX record. I put those in my DNS forwarding as it says not still never receive.. any suggestions? – Eric F – 2018-12-03T20:44:10.237