LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-05-2007, 03:02 PM   #1
giganet
LQ Newbie
 
Registered: Sep 2007
Location: California
Distribution: Ubuntu 6.06
Posts: 5

Rep: Reputation: 0
Arrow Email bounces & says: Couldn't find any host by that name


Hello group...

Ubuntu 6.06
Apache 2
PostFix
CourierPOP3
Courier IMAP
Bind9
ISPConfig 2.2.16 [running apache]

Have got the server accessible BTW VIA web-browser-

I have created all email accounts that are served by this site under ISPConfig.

Using Thunderbird, if I press "Get Mail' the client connects and authenticates to the server, a cert is presented for acceptance after accepting the cert the email status is checked- Thunderbird encounters no errors- yet there is no email to retrieve.

There should be email there however!
I sent mail to the email address from a Yahoo account yesterday twice!
This morning in the Yahoo email account I see both emails I sent had bounced back.

Code:
<president@giganetwireless.com>:
Sorry, I couldn't find any host by that name. (#4.1.2)
I'm not going to try again; this message has been in the queue too
 long.
When I run 'dig @72.169.152.211 any giganetwireless.com' I see the following:

Code:
mailman@giganetwireless:/etc/bind$ sudo dig @72.169.152.211 any giganetwireless.com

; <<>> DiG 9.3.2 <<>> @72.169.152.211 any giganetwireless.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26902
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;giganetwireless.com.           IN      ANY

;; ANSWER SECTION:
giganetwireless.com.    86400   IN      A       72.169.152.211
giganetwireless.com.    86400   IN      SOA     ns1.giganetwireless.net. web_admin.giganetwireless.com. 2007090507 28800 7200 604800 86400
giganetwireless.com.    86400   IN      NS      ns1.giganetwireless.net.
giganetwireless.com.    86400   IN      NS      ns2.giganetwireless.net.

;; ADDITIONAL SECTION:
ns2.giganetwireless.net. 105977 IN      A       205.178.190.52

;; Query time: 7 msec
;; SERVER: 72.169.152.211#53(72.169.152.211)
;; WHEN: Wed Sep  5 12:00:18 2007
;; MSG SIZE  rcvd: 170
The domain is not new...
I haven't tried mailing from another service!!

I did try emailing from another of my own accounts 'presisdent <at> 800coolstuff <dot> com' which is on another server to 'president <at> giganetwireless <dot> com'.
My Outgoing SMTP used in my email client is 'mail.giganetwireless.com'...

When I attempt to send from 'presisdent <at> 800coolstuff <dot> com' TO 'president <at> giganetwireless <dot> com' I am prompted to enter the passsword for the email account 'president <at> giganetwireless <dot> com' on 'mail.giganetwireless.com'- but the server never accepts the password in this case??

While composing this post I did recieve email from the system [source]:

Code:
From - Wed Sep 05 10:02:38 2007
X-Account-Key: account1
X-UIDL: 1189011627.14523_0.giganetwireless.com
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <root@giganetwireless.com>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on giganetwireless.com
X-Spam-Level: **
X-Spam-Status: No, score=2.9 required=5.0 tests=NO_RELAYS,TVD_SPACE_RATIO
	autolearn=no version=3.2.3
X-Original-To: root
Delivered-To: web1_pres@giganetwireless.com
Received: by giganetwireless.com (Postfix, from userid 0)
	id 442B4106CA; Wed,  5 Sep 2007 10:00:02 -0700 (PDT)
From: root@giganetwireless.com (Cron Daemon)
To: root@giganetwireless.com
Subject: Cron <root@giganetwireless> /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_mx.php
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20070905170002.442B4106CA@giganetwireless.com>
Date: Wed,  5 Sep 2007 10:00:02 -0700 (PDT)
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.4 with clamscan / ClamAV 0.91.2/4166/Wed Sep  5 08:20:22 2007

Could not open input file: /root/ispconfig/scripts/shell/check_mx.php
Hmm I just found that I have a lame nameserver using DNSLookup.

Here are the contents of my zone file:

Code:
mailman@giganetwireless:/etc/bind$ sudo cat pri.giganetwireless.com
$TTL        86400
@       IN      SOA     ns1.giganetwireless.net. web_admin.giganetwireless.com. (
                        2007090507       ; serial, todays date + todays serial #
                        28800              ; refresh, seconds
                        7200              ; retry, seconds
                        604800              ; expire, seconds
                        86400 )            ; minimum, seconds
;
                NS      ns1.giganetwireless.net.              ; Inet Address of name server 1
                NS      ns2.giganetwireless.net.              ; Inet Address of name server 2
;

giganetwireless.com  MX      10 mail.giganetwireless.com.

giganetwireless.com.      A        72.169.152.211
www       A       72.169.152.211
ns2       A       205.178.190.52
ns1       A       205.178.190.52
webmail       A       72.169.152.211
login       A       72.169.152.210
mail       A       72.169.152.211

ftp       CNAME  giganetwireless.com.

mail.giganetwireless.com.       TXT  "v=spf1 mx ptr ?all"

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
I use nameservers from my other domain giganetwireless.net as it has Managed DNS whereas giganetwireless.com does not have Managed DNS from my registrar.

What's wierd is when I am at ZoneEdit Lookup and run lookups on giganetwireless.com it always states that there are no MX or CNAMES!

But how can this be?
In ISPConfig I have defined both a CNAME and MX name.

I am completely open to any suggestions and help ;-)

Thank you Regards
 
Old 09-07-2007, 06:55 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Your answer is that there is no MX record which you need in order to direct mail from outside the lan. You need to establish from the registrar how to set the MX record. Normally they have a control panel so that you can set both A and MX records.
 
Old 09-08-2007, 12:44 AM   #3
giganet
LQ Newbie
 
Registered: Sep 2007
Location: California
Distribution: Ubuntu 6.06
Posts: 5

Original Poster
Rep: Reputation: 0
Arrow

Quote:
Originally Posted by TigerOC View Post
Your answer is that there is no MX record which you need in order to direct mail from outside the lan. You need to establish from the registrar how to set the MX record. Normally they have a control panel so that you can set both A and MX records.
Thank you for the reply ;-)

Yes I found that and added the MX record...

Now I am trying to figure out why my reverse DNS lookup is not working???
I'm getting FAIL on 'Reverse DNS Lookup' at DNSStuff...

But when I look in my reverse zone file I beleive what is there is correct?
The zone files are created by ISPConfig, so any manual editing needs to go below or it will be removed any time ISPConfig re-edits a zone file.

Code:
$TTL        86400
@               IN      SOA     www.giganetwireless.com. hostmaster.giganetwireless.com. (
                                2007090504       ; serial, todays date + todays serial #
                                28800   ; Refresh
                                7200    ; Retry
                                604800  ; Expire
                                86400)  ; Minimum TTL
                        NS      www.giganetwireless.com.
                        NS      www.giganetwireless.com.
211       PTR     giganetwireless.com.
211       PTR     www.giganetwireless.com.
211       PTR     webmail.giganetwireless.com.
210       PTR     login.giganetwireless.com.
211       PTR     72.169.152.211.
211       PTR     darlenes-homes.com.
211       PTR     www.darlenes-homes.com.
211       PTR     highcountryhomesofanza.com.
211       PTR     www.highcountryhomesofanza.com.
What am I missing here?

Thank you for the help...

Regards
 
Old 09-08-2007, 01:56 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The detail is in who maintains your DNS records. The registrar of your domain name holds your DNS records and is accredited to do so by ICANN. Your DNS server becomes irrelevant in the equation.You need to edit the MX record held by your registrar and give the IP address of your server. Once your have done that it will propagate through the system.
You indicate above that;
Quote:
whereas giganetwireless.com does not have Managed DNS from my registrar.
I find this a bit strange because the registrar has to register DNS detail with ICANN in order to register the domain. A registrar is required by ICANN to have DNS servers to service the domains they register. If you want to take over a domain and maintain the DNS records associated with the domain you must be registered with ICANN. What I am saying is that the registrar must have a method of maintaining the DNS records associated with this domain name.

Last edited by TigerOC; 09-08-2007 at 02:05 AM.
 
Old 09-08-2007, 05:15 PM   #5
giganet
LQ Newbie
 
Registered: Sep 2007
Location: California
Distribution: Ubuntu 6.06
Posts: 5

Original Poster
Rep: Reputation: 0
Arrow

Quote:
Originally Posted by TigerOC View Post
The detail is in who maintains your DNS records. The registrar of your domain name holds your DNS records and is accredited to do so by ICANN. Your DNS server becomes irrelevant in the equation.You need to edit the MX record held by your registrar and give the IP address of your server. Once your have done that it will propagate through the system.
You indicate above that;

I find this a bit strange because the registrar has to register DNS detail with ICANN in order to register the domain. A registrar is required by ICANN to have DNS servers to service the domains they register. If you want to take over a domain and maintain the DNS records associated with the domain you must be registered with ICANN. What I am saying is that the registrar must have a method of maintaining the DNS records associated with this domain name.
Thank you for the reply...

I resell domains through SRSPlus which is owned by Network Solutions, the domain 'giganetwireless <dot> com' does not have Managed DNS.
What I have done for this domain is I have gone to DNSExit and setup a static managed DNS service account.
Below are the results as of moments ago when I am logged into 'DNSExit <dot> com'.
This shows that I have a MX record, yet when I run the DNS Report tool at DNSStuff it fails on the MX server reverse lookup.

Code:
NSLookup Reported by Name Server: NS1.DNSEXIT.COM
Mail Exchanger(MX) 	Preference#
mail.giganetwireless.com 	10
Hosts (A Record) 	IP Addresses
giganetwireless.com 	72.169.152.211
login.giganetwireless.com 	72.169.152.210
mail.giganetwireless.com 	72.169.152.211
Alias(CName) 	Alias to Host 	IP Addresses
www.giganetwireless.com 	giganetwireless.com 	72.169.152.211
ftp.giganetwireless.com 	giganetwireless.com 	72.169.152.211

NSLookup Reported by Name Server: NS2.DNSEXIT.COM
Mail Exchanger(MX) 	Preference#
mail.giganetwireless.com 	10
Hosts (A Record) 	IP Addresses
giganetwireless.com 	72.169.152.211
login.giganetwireless.com 	72.169.152.210
mail.giganetwireless.com 	72.169.152.211
Alias(CName) 	Alias to Host 	IP Addresses
www.giganetwireless.com 	giganetwireless.com 	72.169.152.211
ftp.giganetwireless.com 	giganetwireless.com 	72.169.152.211

Quote:
I find this a bit strange because the registrar has to register DNS detail with ICANN in order to register the domain.
SRSPlus never imposed any requirement to have a DNS server to become a partner to resell domains.
I do know that when I setup new domains I have the option to select Managed DNS hosting provided by SRSPlus or not to use that service for that domain..

In example- I intend to run my own Nameservers and have just recently registered the domain 'giganetwireless <dot> net' for another server I am putting online.
For this domain I opted to utilize the Managed DNS service from SRSPlus.

Causes a bit of a snarl I realize, but I will work the kinks out.
This server that I am working on is meant to cater to our WISP clients email services.

Since I have delegated control for nameserver authority to DNSExit I don't have to create any records at SRSPlus any longer.

In using the DNS Report tool at DNSStuff last night I found that I had 2 MX records each with different preference levels.
After removing a record the results from DNSStuff improved as the duplicate MX record FAIL was gone.

The sticky devil right now though is getting the 'Reverse DNS entries for MX records'
DNSStuff continues to fail the Reverse DNS Lookup portion of my DNSReport.

This has me perplexed as I am postitive my DNS records at DNSExit has both an MX and an A record for the mail.

Thank you once again for your help....

Regards
 
Old 09-09-2007, 03:16 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Sorry am no expert in DNS and its upper control levels within the ICANN control. You would have to get an opinion from someone in this field.
 
Old 09-09-2007, 11:41 PM   #7
giganet
LQ Newbie
 
Registered: Sep 2007
Location: California
Distribution: Ubuntu 6.06
Posts: 5

Original Poster
Rep: Reputation: 0
Lightbulb

Quote:
Originally Posted by TigerOC View Post
Sorry am no expert in DNS and its upper control levels within the ICANN control. You would have to get an opinion from someone in this field.
Hey no problem, thanks for your help though just the same!

I broke some ground last night and all the changes propagated early this morning, I am now able to send and receive email.

Had to do some modificiations to the format I was using on my zone file records not to mention the zone files at DNSExit.
The only issue standing presently is HughesNet has no reverse DNS PTR for my mail server and won't modify their records either!

I still need to work CNAMEs at my server, ISPConfig and me are still getting acquainted.

SO for the time-being I will use the IP address rather than the mail.server.name.
I'm getting data lines installed by Verizon this week or maybe the next depending on their buildout progress in conditioning the lines...


Have a great day

Regards
 
  


Reply

Tags
email



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem routing email from LAN host using Exim 4.43-1 neiljt Linux - Server 0 03-11-2007 09:42 AM
forward some email in Sendmail to another host schmuckman Linux - Server 1 10-11-2006 08:58 PM
Guarding Against Forged Email Bounces kemplej Linux - Networking 5 08-05-2005 09:16 PM
How do I host Email on my server? unclejessie77 Linux - Software 1 02-15-2004 10:23 AM
host lookup failed can't use Mozilla or email but ping is OK khepfer Linux - Newbie 4 12-13-2003 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration