From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 06:09:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDCEA16A423 for ; Wed, 15 Feb 2006 06:09:10 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 121CF43D46 for ; Wed, 15 Feb 2006 06:09:09 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from alpha.home (ppp222-1.lns2.adl4.internode.on.net [203.122.222.1]) by smtp3.adl2.internode.on.net (8.13.5/8.13.5) with ESMTP id k1F697Ow028682 for ; Wed, 15 Feb 2006 16:39:08 +1030 (CST) (envelope-from malcolm.kay@internode.on.net) From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Wed, 15 Feb 2006 16:39:06 +1030 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602151639.06855.malcolm.kay@internode.on.net> Subject: Identity for HELO in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 06:09:11 -0000 I have set sendmail for masquerading with the lines: FEATURE(masquerade_envelope) MASQUERADE_AS(`internode.on.net') FEATURE(`genericstable') GENERICS_DOMAIN(`alpha.home') in the .mc configuration file (alpha.home.mc). I can now send e-mails using the standard 'mail' utility to most destinations but apparently 'alpha.home' is still used as the source domain in the HELO command and as this just my private hostname for the machine it is not known at the receiving end in spite of the FEATURE(masquerade_envelope) which I naively expected to be applied here. Some sites not finding a valid host name here will reject the mail, EG when using send-pr I get the following: ... while talking to mx1.freebsd.org.: >>> DATA <<< 450 : Helo command rejected: Host not found ... Deferred: 450 : Helo command rejected: Host not found <<< 554 Error: no valid recipients How do I get sendmail to use a valid host name such as "internode.on.net"? Help would be much appreciated, Malcolm Kay