![]() |
getnameinfo failed Postfix Virt domains - falko
Hi all.
I have installed postfix using virtual domains on a fresh ubuntu install using falko great howto: Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS) All tests appear to reply with correct responses as per the howto. I can get into database using phpmyadmin. I have setup two user accounts this way, 'news@scribalpublishingmail.com.au' and 'test@scribalpublishingmail.com.au'. using mailx I have sent each a welcome email. I have registered the domain name and arranged DNS hosting. they say they can see the mail server. I have forwarded the required ports on my router. I have sent an email to news@scribalpublishingmail.com.au from two seperate external email accounts and neither of them have bounced. I can browse to suirrelmail across my network using the ipaddress/squirrelmail/ but it will not let me sign in to either of the accounts that I setup. Then I noticed that the result of netstat -tap Quote:
here is my postfix info vi /etc/postfix/main.cf Quote:
myorigin = /etc/mailname to myorigin = their fqdn as I have done above but it has not changed anything and below: Quote:
Quote:
Any help would be greatly appreciated. Cheers |
started again. got as far as page 2
I decided to start again from scratch. reformat. fresh install. pages 1 to 3 of The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) then page 1 of Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS)
I omitted installing postfix-tls because it cannot find a source for it and I have read in other threads that it is not needed as it is included in the latest postfix. Quote:
I completed section 4 Create The MySQL Database For Postfix/Courier I checked to see that I could log into phpmyadmin and I could. On to page 2 section 5 Configure Postfix /etc/mysql/my.cnf already had: bind-address = 127.0.0.1 I restarted MySql anyway. /etc/init.d/mysql restart then: netstat -tap | grep mysql and got: Quote:
my hosts file looks like this: Quote:
Quote:
there isnt anything else. I havent even gotten as far as creating the six text files. I dont understand what I could have done wrong. can anybody please help me understand this? |
What's in /etc/resolv.conf? Does the internet connection work on the server?
|
Quote:
|
More learningnessment
Thank you Falko and Ralic for your propmt replies.
I think I will take Ralic's advice and ignore it, now that I know what is going on, and since if I do it from the actual server terminal instead of ssh the error is not there. just to be on the safe side, the contents of /etc/resolv.conf is one line nameserver 10.1.1.1 (which is my DSL 504T adsl modem router). I did do a search in this forum for 'getnameinfo failed' but there were no results. again I thank you both for your help and I will continue on with the build. This is the 5th time I have started again from scratch but each time I get better results and each time I am learning more. Cheers p.s. is there a way to mark posts as "resolved" in this forum. |
Can you try
Code:
nameserver 145.253.2.75 |
Many thanks.
Thanx Falko.
it works when I use the ip address you gave me. What is this IP address? I assume I now have to put in the IP address of the name server for my ISP. I can see it in the status area of my router. Again thank you. With your help and a few others, I have been able to build and get working, my own mail server, in a week, without ever having touched linux before. I can see that I have embarked on a journey that I am going to enjoy. Thank you. |
Quote:
|
| All times are GMT +2. The time now is 02:53. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.