Project

General

Profile

Actions

Bug #2093

open

Wt::Mail can't resole localhost

Added by Boris Nagaev over 10 years ago. Updated over 10 years ago.

Status:
Feedback
Priority:
Low
Assignee:
-
Target version:
-
Start date:
08/07/2013
Due date:
% Done:

0%

Estimated time:

Description

Hello!

While user registration, I get the following error message:

[info] "Mail.Client: Smtp::Client: using 'localhost' (from smtp-self-host property) as self host"

[info] "Mail.Client: Smtp::Client: using 'localhost:25' (from smtp-host and smtp-port properties) as SMTP host"

[info] "Mail.Client: Smtp::Client: connecting to 'localhost:25"

[error] "Wt: error during event handling: Host not found (authoritative)"

[fatal] "Host not found (authoritative)"

Postfix is listening on 25 port.

This was hotfixed by adding 127.0.0.1 to settings.xml.

Other applications recognize "localhost":

$ nc localhost 25

220 servername ESMTP Postfix (Debian/GNU)

Wt 3.2.3, Linux.

Debian 7. On Debian 6, this was not reproduced (same static boost, Wt and application binaries). Moreover, no [info] messages were logged.

This is very likely to be my fail, not Wt's. If you know what it could be, help me.

Actions #1

Updated by Wim Dumon over 10 years ago

  • Status changed from New to Feedback

Indeed probably not a Wt bug.

Is localhost in /etc/hosts? Does /etc/host.conf contain order hosts,bind?

Actions #2

Updated by Boris Nagaev over 10 years ago

/etc/hosts contain

127.0.0.1 localhost

, but no

order hosts,bind

Actions

Also available in: Atom PDF