Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th September 2007, 16:31
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Question Couldn't find any host by that name

Ubuntu 6.06
Apache 2
PostFix
CourierPOP3
Courier IMAP
Bind9
ISPConfig 2.2.16


Have got the server accessible BTW VIA web-browser- www.giganetwireless.com

I have created all email accounts that server 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 accpeting the cert the email status is checked- Thunderbird encounters no errors- yet their is never any email it can retrieve.

There should be mail there however!
I emailed myself form a Yahoo account yesterday!
This morning in my Yahoo email account I see the email I sent had bounced back to my Yahoo email account.

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.

Can someone provide some guidance so I can overcome this problem?

Thank you

Regards

Last edited by giganet; 5th September 2007 at 18:32.
Reply With Quote
Sponsored Links
  #2  
Old 6th September 2007, 22:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

This is the problem:

Code:
mh1:~# dig mx giganetwireless.com

; <<>> DiG 9.2.1 <<>> mx giganetwireless.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60607
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
giganetwireless.com.    28800   IN      MX      10 giganetwireless.com.
giganetwireless.com.    28800   IN      MX      5 mail.giganetwireless.com.

;; ADDITIONAL SECTION:
giganetwireless.com.    28800   IN      A       72.169.152.211

;; Query time: 210 msec
;; SERVER: 213.191.92.84#53(213.191.92.84)
;; WHEN: Thu Sep  6 22:54:30 2007
;; MSG SIZE  rcvd: 90

mh1:~#
mail.giganetwireless.com, however, is a CNAME record:

Code:
mh1:~# dig mail.giganetwireless.com

; <<>> DiG 9.2.1 <<>> mail.giganetwireless.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34770
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.giganetwireless.com.      IN      A

;; ANSWER SECTION:
mail.giganetwireless.com. 28800 IN      CNAME   giganetwireless.com.
giganetwireless.com.    28800   IN      A       72.169.152.211

;; Query time: 157 msec
;; SERVER: 213.191.92.84#53(213.191.92.84)
;; WHEN: Thu Sep  6 22:54:44 2007
;; MSG SIZE  rcvd: 72

mh1:~#
But it must be an A record:
http://www.howtoforge.com/traditional_dns_howto_p5
"In addition to that, you must not use CNAME records for MX and SOA records."
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
giganet (7th September 2007)
  #3  
Old 7th September 2007, 20:52
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Default

Thank you once again Falko


OK, here are the curent contents of my zone file 'pri.giganetwireless.com'

Code:
$TTL        86400
@       IN      SOA     ns1.dnsexit.com. web_admin.giganetwireless.com. (
                        2007090529       ; serial, todays date + todays serial #
                        28800              ; refresh, seconds
                        7200              ; retry, seconds
                        604800              ; expire, seconds
                        86400 )            ; minimum, seconds
;
                NS      ns1.dnsexit.com.              ; Inet Address of name server 1
                NS      ns2.dnsexit.com.              ; Inet Address of name server 2
;

mail  MX      10 giganetwireless.com.

giganetwireless.com.      A        72.169.152.211
www       A       72.169.152.211
ns2       A       64.182.102.188
ns1       A       63.223.76.173
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 a mx ptr ?all"

;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;




giganetwireless.com  MX      10 mail.giganetwireless.com.
mail       A       72.169.152.211
www       A       72.169.152.211

And here is the current ouput when I run 'dig'

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: 50856
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1

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

;; ANSWER SECTION:
giganetwireless.com.    86400   IN      MX      10 mail.giganetwireless.com.
giganetwireless.com.    86400   IN      A       72.169.152.211
giganetwireless.com.    86400   IN      SOA     ns1.dnsexit.com. web_admin.giganetwireless.com. 2007090529 28800 7200 604800 86400
giganetwireless.com.    86400   IN      NS      ns2.dnsexit.com.
giganetwireless.com.    86400   IN      NS      ns1.dnsexit.com.

;; ADDITIONAL SECTION:
mail.giganetwireless.com. 86400 IN      A       72.169.152.211

;; Query time: 7 msec
;; SERVER: 72.169.152.211#53(72.169.152.211)
;; WHEN: Fri Sep  7 11:41:06 2007
;; MSG SIZE  rcvd: 180
AS of this morning my domain is resolving, I setup a DNSExit account for managed DNS for 'www.giganetwireless.com'.
Thunderbinrd barfed a bunch of email at me from a variety of senders even some 'catchall' for a couple of my WISP clients.

Out of curiosity I went to my Yahoo account and sent a test email to president <at> giganetwireless <dot> com- next I used Thunderbird to check that accounts status and recieved the piece of email.

At this point if I attept to send an email I am perpetually hounded for the password for president <at> giganetwireless <dot> com and even though I enter the correct password it keeps coming back at me prompting for the password and will never send the email???


Thanks you for your help Falko

Regards
Reply With Quote
  #4  
Old 8th September 2007, 12:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by giganet
At this point if I attept to send an email I am perpetually hounded for the password for president <at> giganetwireless <dot> com and even though I enter the correct password it keeps coming back at me prompting for the password and will never send the email???
Please make sure you use the correct username and password in your email client.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
giganet (9th September 2007)
  #5  
Old 9th September 2007, 00:54
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
 
Exclamation

Thank you Falko...


Yesss!

I totally screwed up in neglecting to check the 'usr' name in Thunderbird SMTP Authentication section.
It was 'president@giganetwireless.com' to acommodate my old server.

Once I set the usr to 'web1_pres' email went out, where it went I am unsure.
Can't seem to get a reverse DNS lookup to come up PASS for some reason.

Went and setup a Managed DNS Service account for 'giganetwireless <dot> com' at DNSExit, defined a MX and A record for the email amongst other records, when I run the NSLookup at DNSExit I see the following results:

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
I am able to send and receive email internal to the server presently which indicates that the email system is working- now to get the revers DNS lookup right so the outside world will accept my servers email....

Thank you Falko

Regards
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP relay trouble DVS General 3 11th June 2007 09:56
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
I broke it.. I think.. Email in is not being delivered? edge Server Operation 1 3rd July 2006 14:22
view webalizer stats kuyaedz General 22 12th March 2006 14:45


All times are GMT +2. The time now is 06:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.