From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 21:12:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A250916A403 for ; Mon, 23 Apr 2007 21:12:39 +0000 (UTC) (envelope-from freebsd@skyhawk.ca) Received: from defout.telus.net (defout.telus.net [199.185.220.240]) by mx1.freebsd.org (Postfix) with ESMTP id 5706813C459 for ; Mon, 23 Apr 2007 21:12:39 +0000 (UTC) (envelope-from freebsd@skyhawk.ca) Received: from priv-edtnaa06.telusplanet.net ([216.232.62.60]) by priv-edtnes86.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070423191949.FKUV15806.priv-edtnes86.telusplanet.net@priv-edtnaa06.telusplanet.net> for ; Mon, 23 Apr 2007 13:19:49 -0600 Received: from [192.168.2.156] (s216-232-62-60.bc.hsia.telus.net [216.232.62.60]) by priv-edtnaa06.telusplanet.net (BorderWare MXtreme Infinity Mail Firewall) with ESMTP id DAE8WSMQDH for ; Mon, 23 Apr 2007 13:19:48 -0600 (MDT) Message-ID: <462D06D8.8060902@skyhawk.ca> Date: Mon, 23 Apr 2007 12:19:52 -0700 From: Andrew Fremantle User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Invalid Global DNS name and 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: Mon, 23 Apr 2007 21:12:39 -0000 Hello, I've got a machine on the local network, with a local DNS name (which is not a valid name in the global DNS). My problem is that I cannot kludge sendmail into behaving nicely and allow the periodic(8) mailings to get through. The machine is named psyche.local domain1.com is a domain that we own, but this machine has nothing to do with it. I want the emails delivered to andrew@domain1.com. This is not an email server in any way - All I care about it getting my periodic output. Here are the settings I'm trying : /etc/mail/psyche.local.mc define(`SMART_HOST', `mail.telus.net') define(`MAIL_HUB',`mail.telus.net') define(`confDOMAIN_NAME',`domain1.com') MASQUERADE_AS(domain1.com) MASQUERADE_DOMAIN(psyche.local psyche) FEATURE(`allmasquerade') FEATURE(`masquerade_envelope') /etc/mail/genericsdomain psyche.local /etc/mail/genericstable root andrew@domain1.com andrew andrew@domain1.com /etc/mail/aliases root : andrew@domain1.com /etc/hosts 192.168.2.10 psyche psyche.local With all the configurations I've tried, emails are rejected by my smarthost with an error like "sender address root@psyche.local invalid; domain does not exist". What I'd like to do is find a way to alter sendmail's perception of my hostname. Ideally, this would only affect sendmail and nothing else. I can't possibly be the only person running such a configuration. How have other people in the list worked past this? - Andrew