Can not receive emails from outside

I love the troubleshooting evening sessions :smile:
OT: BTW welcome @hany , take a look at last newsletter there is a gift for you :wink:

whenever i try to change the mx records and replace the smtp.secureserver.net for my ip address
it doesn’t let me to do that
it says "mail server address example smtp.secureserver.net"
it does not accept an ip address in the mx record

@hany make
smtp.xoomtex.com is pointed to A 107.144.112.98

And then point it as MX record.

1 Like

Either make it smtp.xoomtex.com or mail.xoomtex.com or whatever you want to call your maildomain. Configure NethServer to use the same subdomain for mail.
Then create an MX record pointing to that maildomain.

Thanks so much guys for everything
it works fine now
i was able to send and receive emails with my gmail
added the mx records as u suggested and everything is working fine now
i even didn’t have to open ports in the nethserver firewall , i don’t know if i still have to or not

big thanks to Jim , Nas , robb , zamboni
i said this is a wonderful community and I was right

1 Like

thanks for the gift , alefattorini

For gmail :open_mouth:

We give informations for your server, for your email adresses like yourname@xoomtex.com

I don’t understand anymore … :grin:

Can you telnet your smtp port 25, from outside? using ip or dns record

it is not my SMTP it is @hany s one :slight_smile: and no from Ukraine it is not reachable, but it maybe IPS security reason.

If @hany said that all works as expected , please close this topic :slight_smile:

everything is working as expected
thank you guys
you can close the topic and mark it as solved

routing problems arise before port closed ones… :smile:
if you can’t route to the target, trying to connect to it is just useless

I am having a similar problem.

I have setup neth.domain.com and I pointed the mx records to neth.domain.com, but it seems I can send emailsbut I am not able to receive, is there someone I have to configure the settings for incoming mails on neth.

the process is pretty straight forwards for when I use zimbra

Hi,

Port 25 vom WAN to NS is open?

Regards

Uwe

Maybe this is interesting for you: Nethserver and Zimbra not working together

nethserver and zimbra have both been installed on two separate machines.
I use zimbra for a sifferent domain, while I use nethserver, and want to use sogo, for another email domain

on the separate server, as I was saying, I installed zimbra, then pointed my mx records to that server, and voil, it works.

but on nethserver. It does not. I pointed the mx records to the domain of nethserver, but it did not work, unless there is something that I am not doing right.

do I need to point an A record, say mail.dmain.com to nethserver server and then configure the mx records of that domain to mail.domain.com or what needs to be done.

Please, give us real details to make some debugging

I had a blank server, which had centos, and I installed nethserver on it.
I then pointed a domain to that server, lets my.nethdomain.com
then I installed sogo on the server.
I was able to login to sogo, and send emails with user@nethdomaincom
then went to my dns setting and added mx records for the domain to my.nethdomain.com but I am not able to reeive emails. is there something extra I need to do?

give us the real domain to debug your DNS setup, for example

you aren’t giving us any useful info to help you
Please be verbose, thank you

the domain is genius.ke

I have installed the nethserver on login.genius.ke for temporary testing before I deploy correctly on a new server.

I have also reverted the mx records to the old mail provider.

I have pointed the mx records back to the nethserver instance

[root@sme9 ~]# dig genius.ke MX

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.5 <<>> genius.ke MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49685
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;genius.ke.                     IN      MX

;; ANSWER SECTION:
genius.ke.              1800    IN      MX      10 mx1.hopacloud.com.
genius.ke.              1800    IN      MX      10 mx2.hopacloud.com.

;; Query time: 598 msec
;; SERVER: 192.168.45.1#53(192.168.45.1)
;; WHEN: Fri Jun 29 12:12:26 2018
;; MSG SIZE  rcvd: 80

[root@sme9 ~]# dig login.genius.ke MX

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.5 <<>> login.genius.ke MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9486
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;login.genius.ke.               IN      MX

;; ANSWER SECTION:
login.genius.ke.        1800    IN      MX      10 mx2.hopacloud.com.
login.genius.ke.        1800    IN      MX      10 mx1.hopacloud.com.

;; Query time: 138 msec
;; SERVER: 192.168.45.1#53(192.168.45.1)
;; WHEN: Fri Jun 29 12:12:34 2018
;; MSG SIZE  rcvd: 86

[root@sme9 ~]# dig mx1.hopacloud.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.62.rc1.el6_9.5 <<>> mx1.hopacloud.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28105
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mx1.hopacloud.com.             IN      A

;; ANSWER SECTION:
mx1.hopacloud.com.      1800    IN      A       46.249.205.211

;; Query time: 71 msec
;; SERVER: 192.168.45.1#53(192.168.45.1)
;; WHEN: Fri Jun 29 12:12:54 2018
;; MSG SIZE  rcvd: 51

does it look ok?