From owner-freebsd-questions Wed Aug 11 16:43:16 1999 Delivered-To: freebsd-questions@freebsd.org Received: from toad.timing.com (toad.timing.com [208.203.137.221]) by hub.freebsd.org (Postfix) with ESMTP id 0B3B614D23 for ; Wed, 11 Aug 1999 16:43:09 -0700 (PDT) (envelope-from jhein@timing.com) Received: (from jhein@localhost) by toad.timing.com (8.9.3/8.9.3) id RAA12669 for ; Wed, 11 Aug 1999 17:28:39 -0600 X-Authentication-Warning: toad.timing.com: jhein set sender to jhein@toad.timing.com using -f MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14256.42989.476991.302056@taz.timing.com> In-Reply-To: <01bee3b7$aecddd40$LocalHost@signup> References: <01bee3b7$aecddd40$LocalHost@signup> X-Mailer: VM 6.73 under Emacs 20.3.1 From: "John E. Hein" To: "Ghulam Dastgir" Cc: Subject: DNS/Sendmail problems Date: Tue, 10 Aug 1999 16:30:05 -0600 (MDT) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Specifying DMghulam.force9.co.uk in sendmail.conf is not enough (not that you did only that). There is a ruleset change needed as well to rewrite the envelope address. I had the same problem. Before I added that rule change, the Return-Path still had the full hostname. Try doing the following: -- go to /usr/src/etc/sendmail/cf % cp freebsd.mc ghulam.mc (or something) -- add the following lines to the ghulam.mc FEATURE(`allmasquerade') FEATURE(`masquerade_envelope') MASQUERADE_AS(ghulam.force9.co.uk) then % make ghulam.cf and % cp -ip /etc/sendmail.cf /etc/sendmail.cf.orig % cp -ip ghulam.cf /etc/sendmail.cf % diff /etc/sendmail.cf /etc/sendmail.cf.orig (to see the change) Ghulam Dastgir wrote at 22:09 -0700 on Aug 10: > There I am happily sending and receiving email then one day all of a sudden > I can't send email. The problem, my ISP's mail server complains that it > doesn't recognise the domain being given when I send my email out. > > Apparently sendmail says my full email name is: > banta@voyager.ghulam.force9.co.uk, I know this is nonsense because > voyager.ghulam.force9.co.uk is the hostname of my FBSD box (shortname > voyager) and my domain is ghulam.force9.co.uk. > So why is sendmail doing this? > > I've checked my /etc/sendmail.cf file and made sure that I am masquerading > as my proper domain name i.e. ghulam.force9.co.uk. Because sendmail by > default would otherwise use the full name of the local system - > voyager.ghulam.force9.co.uk. > > So despite me masquerading sendmail still seems to revert to the system > name. > > I've even set that thing in /etc/sendmail.cf (whose name I forget) that > forces sendmail to use the proper domain name - but no luck. > By the way, I've checked my DNS files and they're all OK. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message