Project

General

Profile

Actions

Bug #2093

open
BN

Wt::Mail can't resole localhost

Bug #2093: Wt::Mail can't resole localhost

Added by Boris Nagaev about 13 years ago. Updated about 13 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.

WD Updated by Wim Dumon about 13 years ago Actions #1

  • 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?

BN Updated by Boris Nagaev about 13 years ago Actions #2

/etc/hosts contain
127.0.0.1 localhost
, but no
order hosts,bind

Actions

Also available in: PDF Atom