Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3F5BEA88.2DEE711C@dessent.net> Date: Sun, 07 Sep 2003 19:33:44 -0700 From: Brian Dessent Organization: My own little world... X-Accept-Language: en,en-US MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: FQDN hostname References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Note-from-DJ: This may be spam Kilian CAVALOTTI wrote: > > Hello, > > I'd like to know why the cygwin hostname can't take any argument. I need to > see if my FQDN win32 hostname is properlly configured, and all what I can > see using 'hostname' is just the netbios name. Is it possible to see (and > maybe set) the full hostname with cygwin ? > > My main problem is my mailer (Outlook Express) just send the netbios name > when it says HELO to the smtp mailserver, that adds a > 'X-Reject: 450 : Helo command rejected: Host not found' > header to all my outgoing mails. > Is it possible to bypass this behaviour, and force OE to send its full > qualified domain name, when it says HELO ? And I assume that cygwin and OE > use the same kind of method to retrieve the hostname. This really has nothing to do with Cygwin. In windows there is a "global" domain name and then a "connection-specific" domain name for each connection, and these are all set in the "Network and Dial-Up Connections" thing under TCP/IP properties. The "global" domain name you may have to set in the registry as it's probably not set by Windows unless you're a member of a domain. Also, the DHCP response (if enabled) can also contain a domain suffix that windows will try to use. You can see all of this if you run "ipconfig /all". As far as OE goes, who knows what it uses in its HELO string, but I'd imagine that if you have either a "primary DNS suffix" or a "connection-specific DNS suffix" that it would use one of those. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/