X-Recipient: archive-cygwin@delorie.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:to:from:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=Uqv
	/M2lJS6VS3ySl93HuVUYBtx1bS6GBBWGFPmR0gwoNNC68VvgaQA6syrRf6tlzKgU
	0F3qirkESGnr4AlJ/aI6BOe+kr9CAnJfc3CI257oOMkpIyvwJeVB0/Ld2GyuxS4m
	7e9EBIGV7G6EsHxY6NFvgpGeEF/PDuyvTx3fl9Ao=
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:to:from:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; s=default; bh=4h2YRDeh/
	Aw0X0bnsndULsYmp/Q=; b=fu+ZvoOUqeywKD7uQ7TqwZkUqCGw5I80lei2BSCJn
	wUutO4fT/tJ9xFU1b9X9B3iNgPROnLKsRvwXvpIDX1UClN6YAHdcDJsg4KYh8oL3
	gX4vvJuhWzYRRfe9JuU7Q31yJsMjm4Ua8fAF/Cl3WKN99tSyOpJ3NxGuM1YLN6uR
	RA=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin@cygwin.com
From: "D. Boland" <daniel@boland.nl>
Subject: Minires truncates host names
Date: Sat, 05 Jul 2014 22:11:54 +0200
Lines: 40
Message-ID: <53B85C0A.A51E8FA2@boland.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi Group,

I finally got Sendmail ported to Cygwin. But when looking up valid hostnames from
sender addresses, Minires fails. Here's the output, testing one of Sendmails' rules.

$ echo "check_mail daniel@cygwin.com" | /usr/sbin/sendmail -d8.20 -bt
readcf: option TrustedUser may cause problems on systems
        which do not support fchown() if UseMSP is not set.
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> check_mail         input: daniel @ cygwin . com
Basic_check_mail   input: daniel @ cygwin . com
tls_client         input: $| MAIL
TLS_connection     input:
TLS_connection   returns:
tls_client       returns:
CanonAddr          input: < daniel @ cygwin . com >
canonify           input: < daniel @ cygwin . com >
Canonify2          input: daniel < @ cygwin . com >
dns_getcanonname(cygwin.com, trymx=1)
dns_getcanonname: trying cygwin.com. (A)
Minires: query "cygwin.co." type 1
Minires: DnsQuery: 9003 (Windows)
        NO: errno=0, h_errno=1
Canonify2        returns: daniel < @ cygwin . com >
canonify         returns: daniel < @ cygwin . com >
Parse0             input: daniel < @ cygwin . com >
Parse0           returns: daniel < @ cygwin . com >
CanonAddr        returns: daniel < @ cygwin . com >
Basic_check_mail returns: $# error $@ 5 . 1 . 8 $: "553 Domain of sender address " "
does not exist"
check_mail       returns: $# error $@ 5 . 1 . 8 $: "553 Domain of sender address " "
does not exist"
>

As can be seen, Minires queries "cygwin.co.", not "cygwin.com." Is this a bug? Is
there a way to test Minires lookups outside of Sendmail?

Greetings,
Daniel


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

