Wt::Mail can't resole localhost
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.