Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
But when I ping my domain using any other subdomain (except pop, mail and smtp), it works:
Quote:
ping sub.mydomain.com
PING sub.mydomain.com (xx.xx.xx.xx) 56(84) bytes of data.
64 bytes from xx-xx-xx-xx-WashingtonDC.hfc.comcastbusiness.net (xx.xx.xx.xx): icmp_seq=1 ttl=64 time=0.678 ms
I thought I need to set MX record as my domain, to get mailing to work, but now I can't even ping it, the previous MX record was something.secureserver.net, when I tried to ping mail.mydomain.com I always got response of that server.
Do you have an A record configured for mail.mydomain.net ?
Code:
default@debianetch:~$ dig MX gmail.com
; <<>> DiG 9.3.4 <<>> MX gmail.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9260
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 10
;; QUESTION SECTION:
;gmail.com. IN MX
;; ANSWER SECTION:
gmail.com. 1560 IN MX 50 gsmtp163.google.com.
gmail.com. 1560 IN MX 50 gsmtp183.google.com.
gmail.com. 1560 IN MX 5 gmail-smtp-in.l.google.com.
gmail.com. 1560 IN MX 10 alt2.gmail-smtp-in.l.google.com.
;; ADDITIONAL SECTION:
alt2.gmail-smtp-in.l.google.com. 117 IN A 72.14.221.27
alt2.gmail-smtp-in.l.google.com. 117 IN A 72.14.221.114
gsmtp163.google.com. 4246 IN A 64.233.163.27
gsmtp183.google.com. 4114 IN A 64.233.183.27
gmail-smtp-in.l.google.com. 173 IN A 64.233.185.27
gmail-smtp-in.l.google.com. 173 IN A 64.233.185.114
Each MX entry has an associated A record..
Since you are hiding your domain name it's hard to look and see what your problem is....
Also not sure why you set pop, mail, and smtp, cnames for your server, that is un-necessary if you are hosting your own mail server. you are trying to make your setup work with how godaddys servers are configured..
Delete all the cname records for mail, create one valid A record for the Server and then point your MX record to the hostname for your mail server. DONE
Should I remove everything that is associated with mail (email, pop, smtp, etc..)? I really haven't done this before, I got confused about the CNAME, so I thought I need to change it too, since it had secureserver.net. Under MX I have only one record:
Quote:
0 @ mail.mydomain.com
I will add the A entry now and by tomorrow hopefully it will work
I can ping mail.mydomain.com, but when I tried to send mail from gmail account and mail from my server's account to gmail, it didn't work, and I haven't got any failure notice emails. I checked my mail log and all I got is my smtp log when I sent email to the gmail account. Any suggestions?
IF you are hosting that on your Home Internet account, your ISP may have hte SMTP port blocked.. You could try using an internet based port scanner to see if port 25 is open to your mail server..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.