Author Topic: Failure to resolve local host name  (Read 2449 times)

Offline hufemj

  • Newbie
  • *
  • Posts: 2
Failure to resolve local host name
« on: October 24, 2010, 12:46:36 PM »
I'm doing a demonstration at a conference and set up RoundCube for use locally on my laptop, running Ubuntu 10.04. I set up /etc/hosts to give normal looking domain names to my local host. Two users are set up on the local machine and I'm trying to email 'mark' from 'discountcc' via RoundCube. In the demo, discountcc is a user at update.ru and mark is a user at markD610.org. mark reads his email using Evolution and discountcc sends from RoundCube.

Here's what /etc/hosts looks like:

127.0.0.1   localhost mail.localhost
127.0.1.1   mark-D610
127.0.1.1   markD610.org
127.0.1.1   update.ru

For whatever reason, mark@update.ru receives mail, but mark@markD610.org does not. All of the addresses above are pingable. Here's the error message:

This is the mail system at host mark-D610.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

: Host or domain name not found. Name service error for
    name=markD610.org type=AAAA: Host not found

Apparently roundcube looks at /etc/hosts for update.ru, but not for markD610.org. Any suggestions?

Mark

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Failure to resolve local host name
« Reply #1 on: October 26, 2010, 08:15:11 AM »
For some reason the domain markD610.org is searched on an IPv6 address, because of the type=AAAA

Have you tried adding:

Code: [Select]
::1 localhost markD610.org

to the hosts file?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he