Beating my head against the email wall - cannot receive email
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.
Beating my head against the email wall - cannot receive email
Greetings -
I'm killing myself trying to figure out how to receive email to my server. I can send email all day without any problems, but am yet to receive a single email not sent locally.
I'm using exim4 to send, mutt to read. What else do I need to do? I'm really at a loss.
Now with regard to mail.grimdar.com, there is no box named that. Don't know if that is important or not, like I said I'm really at a loss here and have found nothing helpful (that I recognize as helpful anyway) as far as just how an MX record should look and what all the parts of such a record relate to.
What other information can I supply you with? Any help is sincerely appreciated.
If there is no mail.grimdar.com box, where do you expect incoming mail to come to? The MX record is what all remote servers use to look up the mailservers handling delivery for grimdar.com. If you want to point mail to, say, server1.grimdar.com, change the MX record to reflect that.
If there is no mail.grimdar.com box, where do you expect incoming mail to come to? The MX record is what all remote servers use to look up the mailservers handling delivery for grimdar.com. If you want to point mail to, say, server1.grimdar.com, change the MX record to reflect that.
Ok, thanks. I did change the record now to point to duff.grimdar.com, which is a legit target. I shot an email to rolf@grimdar.com after making the change but it never arrived (or hasn't arrived after twenty minutes, and i do not believe it will arrive). See my next reply about port 25 if that's any help. I continue to be at my wit's end over this issue.
Last edited by dazed-and-confused; 09-01-2008 at 06:45 AM.
[chort@horus4 chort]$ dig +short mail.grimdar.com
68.57.212.10
[chort@horus4 chort]$ telnet mail.grimdar.com 25
Trying 68.57.212.10...
telnet: connect to address 68.57.212.10: Operation timed out
telnet: Unable to connect to remote host
Port 25/tcp is blocked.
Right I did change the MX record to point to duff.grimdar.com, but my remote telnet session still gives the same time out. Below is a dump of my results. Can you educate me on why port 25 being blocked or inaccessible is impacting my mail receipt? I thought mail went outbound on 25 and inbound on 110? Or is that just pop3 mail and does not apply in my setup?
Code:
rolf@asgard:~$ telnet duff.grimdar.com 25
telnet: could not resolve duff.grimdar.com/25: Name or service not known
rolf@asgard:~$ telnet grimdar.com 25
telnet: could not resolve grimdar.com/25: Name or service not known
rolf@asgard:~$ telnet www.grimdar.com 25
Trying 68.57.212.10...
telnet: connect to address 68.57.212.10: Operation timed out
telnet: Unable to connect to remote host
For more information, I hope, here is a tail of my /var/log/exim4/mainlog - which has really never shown any errors. I sent out a test email from duff.grimdar.com to my comcast.net email, which worked as expected and has always worked.
duff.grimdar.com doesn't resolve to an IP address at all for me. And http://www.mxtoolbox.com tells me that it isn't just me that can't resolve duff.grimdar.com! mail.grimdar.com did resolve - it's just that it's port was blocked.
The MX record should point (eventually) to a valid, globally resolveable name from which an IP address can be obtained from every DNS server in the world. The computer at that IP address needs port 25 open and to have mail server software running. You haven't got the first step working.
I sent out a test email from duff.grimdar.com to my comcast.net email, which worked as expected and has always worked.
Sending is completely different to receiving. You need almost NOTHING to send an email correctly (although it's more likely to get spam-filtered without being from a valid domain etc.).
All that log says is that it sent an email to Comcast. That's got nothing to do with you recieving email addressed to @yourdomain.com
duff.grimdar.com doesn't resolve to an IP address at all for me. And http://www.mxtoolbox.com tells me that it isn't just me that can't resolve duff.grimdar.com! mail.grimdar.com did resolve - it's just that it's port was blocked.
ledow, thanks for the reply. Maybe since I just updated the MX record the changes need time to disperse? I don't know why else duff.grimdar.com would not resolve.
Quote:
The MX record should point (eventually) to a valid, globally resolveable name from which an IP address can be obtained from every DNS server in the world. The computer at that IP address needs port 25 open and to have mail server software running. You haven't got the first step working.
Ok, I went out to joker.com and looked at my A record - no entry for duff.grimdar.com, so I added one. Now the record looks like this:
Code:
Host Target
duff.grimdar.com 68.57.212.10
www.grimdar.com 68.57.212.10
mail.grimdar.com 68.57.212.10
MX-Records
Priority Mail server (from) Target mail server (to)
50 grimdar.com duff.grimdar.com
Last edited by dazed-and-confused; 09-01-2008 at 07:34 AM.
Sending is completely different to receiving. You need almost NOTHING to send an email correctly (although it's more likely to get spam-filtered without being from a valid domain etc.).
All that log says is that it sent an email to Comcast. That's got nothing to do with you recieving email addressed to @yourdomain.com
I agree with you, but do not know where to start to be able to receive emails sent to the grimdar.com domain. What common "things" can I check or modify to get this working?
In order to receive mail, the following conditions (among others) must be true:
You must have a valid MX record for the domain.
The MX record must point to a host with a valid A record.
The host must be running a mailserver.
Port 25 (SMTP) must not be firewalled and must be able to receive connections.
Right now, I can resolve duff.grimdar.com, but not connect to port 25. It appears that host is using Comcast for an ISP. I would check and see if Comcast is blocking connections to port 25. If it is a residential connection, I would strongly suspect this to be the case.
I have comcast - and to my knowledge they haven't been blocking port 25 (although I wouldn't doubt it... it is comcast). You prolly have already done this, but make sure your router forwards port 25 to your machine. Make sure any firewall on your machine is allowing port 25 to be open.
In order to receive mail, the following conditions (among others) must be true:
You must have a valid MX record for the domain.
The MX record must point to a host with a valid A record.
The host must be running a mailserver.
Port 25 (SMTP) must not be firewalled and must be able to receive connections.
Right now, I can resolve duff.grimdar.com, but not connect to port 25. It appears that host is using Comcast for an ISP. I would check and see if Comcast is blocking connections to port 25. If it is a residential connection, I would strongly suspect this to be the case.
Comcast is the ISP, and I believe they are blocking all port 25 traffic. Is there a way around this bloackage on my end? I will contact comcast and ask them to allow me unfettered access to port 25, but I anticipate they will ignore me.
I have comcast - and to my knowledge they haven't been blocking port 25 (although I wouldn't doubt it... it is comcast). You prolly have already done this, but make sure your router forwards port 25 to your machine. Make sure any firewall on your machine is allowing port 25 to be open.
Right, I have set this box outside the firewall - it is totally exposed to the big scary internet. All ports should be open, but to make sure I did specify in my router settings to forward port 25 traffic to that box.
Are you as a comcast user able to telnet to port 25 from outside your domain? I am not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.