From owner-freebsd-questions Sat May 4 12:51:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hyperreal.org (taz3.hyperreal.org [209.133.83.22]) by hub.freebsd.org (Postfix) with SMTP id 61EE337B405 for ; Sat, 4 May 2002 12:51:40 -0700 (PDT) Received: (qmail 9202 invoked by uid 1001); 4 May 2002 19:51:34 -0000 Message-ID: <20020504195134.9201.qmail@hyperreal.org> Subject: SOLVED Re: Djmy.domain not working after upgrade In-Reply-To: <20020430021759.77725.qmail@hyperreal.org> To: freebsd-questions@freebsd.org Date: Sat, 4 May 2002 12:51:34 -0700 (PDT) From: Mike Brown X-Whoa: whoa. X-Mailer: ELM [version 2.4ME+ PL92 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks to some nudgin from Per Hedeland on comp.mail.sendmail, I figured out the solution. Apparently $j is deprecated or ineffective now, and proper masquerading involves $M and some rule changes. The best way to set it is by editing a .mc file, not the .cf file. However, when I ran 'make installworld' and 'mergemaster', no .mc files were copied into /etc/mail. Only a new prefab .cf file appeared. I don't know if this indicates a failure on my part to run something correctly, or a failure in the upgrade process. I'm perfectly willing to admit it was a mistake I made! Anyway, the steps to solve the problem were as follows: cd /usr/src/etc/sendmail make make install (now /etc/mail has the base files) cd /etc/mail make (now there's a /etc/mail/myhost.mydomain.mc) edit myhost.mydomain.mc and add near the top: MASQUERADE_AS(mydomain) FEATURE(`masquerade_envelope') make install make restart - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message