delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/22/17:14:34

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:mime-version
:content-type; q=dns; s=default; b=EcR2EmPNgjGSnvA5QOh9ZDMnW80R8
zgTBaHTgNzPU0nR87HIRVmmaZFAT9YpXCpFrHhPkM/54NWTEO7IHxY3FlIrtzQDk
Zj0QfPsBsD5C2giIlLn7qioy7QdKPoY7bG7gm90r/4PGpjy6usHXlXhTvaRq5OMz
LHP78pFWd8Mhso=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:mime-version
:content-type; s=default; bh=oOfgWcNdhLimiQdEYX0xfJCRcj8=; b=T/z
OavKXDJYmmEScwL5CEqBGwH2onnqfeEe/aH/K3nqF3FMnZX8FdoeLfM/xD5Er1Sd
Anx8EL1JaPonR2JNsrfGJGvqofdKNCtdnK7aCLP4I7U1cgw5Y7mh05drAvUpX/vV
58oOilBTrSXRmE5G9etMxDOek4GA9v1BgHiw7NwA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,FROM_12LTRDOM,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: nexus.subordi.net
Date: Sat, 22 Feb 2014 22:14:21 +0000
From: Joss Wright <joss-cygwin AT pseudonymity DOT net>
To: cygwin AT cygwin DOT com
Subject: msmtp 1.4.31-1 failed name resolution
Message-ID: <20140222221421.GA734@kafka.pseudonymity.local>
MIME-Version: 1.0
User-Agent: Mutt/1.5.22 (2013-10-16)
X-IsSubscribed: yes

Hello,

I'm running Cygwin 1.7.28 (x86_64) under Windows 8.1. (cygcheck output
is attached.) 

I'm running into a strange problem with msmtp 1.4.31-1. Whenever I run
it, once it has an email address as an argument, it reports: 

"msmtp: cannot locate host <hostname removed>: Non-recoverable failure
in name resolution

msmtp: could not send mail (account default from /home/joss/.msmtprc)"

(<hostname removed> is the appropriate hostname in the original output.)

The configuration is relatively standard, and I've stripped down the
config file to the most basic possible options to try and isolate the
error.

No other programs have any kind of error with name resolution. I can
ping the relevant smtp server, and telnet to the appropriate port on it.
(The server is working when accessed from msmtp in my Linux install.) 

This also occurs for any other server I put into ~/.msmtprc. The error
also occurs if I put an IP address rather than a hostname into the
~/.msmtprc. I've tried running from a shell with elevated privileges,
just in case, to no effect.

This occurs with the msmtp package from cygwin, and also from a version
of msmtp built from source. In the source build I've tried with IDN
enabled and disabled, as I saw a few #ifdef's in the relevant areas of
the code. (Also because the closest thing I could find to this error and
cygwin was some changes to getaddrinfo() with relation to IDN support.)

My only guess, based on the same problem occurring when putting an IP
address directly into the config file, is that the hostname is somehow
not being parsed correctly, but I just can't see how. Any ideas would be
appreciated.

Joss

-- 
Joss Wright | @JossWright
http://www.pseudonymity.net

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019