View Full Version : Mail disappearing into the ether
AceRimmer
8th December 2006, 21:20
My website is now up and running, I'm now having problems with mail.
I can check mail, and send email, however I'm neither receiving or sending anything?
I setup the DNS entries on my domain service to:
A record: @ xx.xx.xx.xxx
A record: mail xx.xx.xx.xxx
A record: www xx.xx.xx.xxx
MX record: mail.mysite.net. priority 10
I'm guessing it's this thats causing the problem, help appreciated.
falko
9th December 2006, 15:52
Can you post the real domain name here?
till
9th December 2006, 16:28
Do you get any entries logged in your mail logfile, when you send a email to your domain?
AceRimmer
9th December 2006, 17:09
The domain is icanlearnit.net
This is what was in /var/log/mail.log:
Dec 8 23:59:03 elmo postfix/master[27123]: daemon started -- version 2.3.3, configuration /etc/postfix
Dec 9 01:05:43 elmo postfix/qmgr[27132]: F14D2A5C325: from=<admin@icanlearnit.net>, size=1395, nrcpt=1 (queue active)
Dec 9 01:05:43 elmo postfix/qmgr[27132]: B60E7A5C32F: from=<admin@icanlearnit.net>, size=1401, nrcpt=1 (queue active)
Dec 9 01:06:03 elmo postfix/smtp[28026]: F14D2A5C325: to=<myemail@email.com>, relay=none, delay=21507, delays=21487/0.1/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
Dec 9 01:06:03 elmo postfix/smtp[28028]: B60E7A5C32F: to=<myemail@email.com>, relay=none, delay=21147, delays=21127/0.08/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
Dec 9 02:29:03 elmo postfix/qmgr[27132]: F14D2A5C325: from=<admin@icanlearnit.net>, size=1395, nrcpt=1 (queue active)
Dec 9 02:29:03 elmo postfix/qmgr[27132]: B60E7A5C32F: from=<admin@icanlearnit.net>, size=1401, nrcpt=1 (queue active)
Dec 9 02:29:23 elmo postfix/smtp[29078]: F14D2A5C325: to=<myemail@email.com>, relay=none, delay=26506, delays=26486/0.03/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
Dec 9 02:29:23 elmo postfix/smtp[29079]: B60E7A5C32F: to=<myemail@email.com>, relay=none, delay=26146, delays=26126/0.05/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
edge
9th December 2006, 17:22
Looks like your mailserver is down at the moment (or it cannot be reached)
Are you behind a router / firewall, and if so, did you forward / open the correct ports?
AceRimmer
9th December 2006, 18:07
That seems to have been the issue, I forgot to open the port, DOH!
Thanks for pointing it out.
Still can't send emails, but can receive them now. Will have to investigate further why I cant send them.
AceRimmer
10th December 2006, 12:01
Im still having a problem with outgoing mail:
Dec 10 07:46:06 elmo postfix/smtp[20068]: 7DACCA5C342: to=<myemail@googlemail.com>, relay=none, delay=56510, delays=56490/0.06/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=googlemail.com type=MX: Host not found, try again)
Dec 10 07:46:06 elmo postfix/smtp[20067]: 5AA7CA5C340: to=<myemail@gmail.com>, relay=none, delay=56569, delays=56549/0.04/20/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
/etc/resolv.conf
nameserver 192.168.1.1Which is the router.
falko
10th December 2006, 15:13
/etc/resolv.conf
nameserver 192.168.1.1Which is the router.
Please put this in /etc/resolv.conf instead:
nameserver 145.253.2.75
nameserver 193.174.32.18
nameserver 194.25.0.60These are three DNS servers that I know work.
AceRimmer
11th December 2006, 16:06
I tried updating the resolv.conf and the mail log now shows:
Dec 11 00:00:07 elmo postfix/smtp[11848]: connect to gmail-smtp-in.l.google.com[66.249.93.114]: Connection timed out (port 25)
Dec 11 00:00:07 elmo postfix/smtp[11857]: connect to gmail-smtp-in.l.google.com[66.249.93.27]: Connection timed out (port 25)
Dec 11 00:00:07 elmo postfix/smtp[11858]: connect to gmail-smtp-in.l.google.com[66.249.93.114]: Connection timed out (port 25)
Dec 11 00:00:37 elmo postfix/smtp[11848]: connect to alt1.gmail-smtp-in.l.google.com[209.85.133.114]: Connection timed out (port 25)
Dec 11 00:00:37 elmo postfix/smtp[11857]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.27]: Connection timed out (port 25)
Dec 11 00:00:37 elmo postfix/smtp[11858]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.27]: Connection timed out (port 25)
Dec 11 00:01:07 elmo postfix/smtp[11848]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.114]: Connection timed out (port 25)
Dec 11 00:01:07 elmo postfix/smtp[11857]: connect to alt2.gmail-smtp-in.l.google.com[64.233.167.114]: Connection timed out (port 25)
Dec 11 00:01:07 elmo postfix/smtp[11858]: connect to alt1.gmail-smtp-in.l.google.com[209.85.133.27]: Connection timed out (port 25)
Could it be my router stopping the server from connecting?
till
11th December 2006, 16:14
Either your router, your DSL provider blocks the connection. It might also be that google blocks your connections when you connect trough a DSL line.
AceRimmer
12th December 2006, 18:41
Yippee,
Got it working it was my router! again.
thanks for your help.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.