Date: Sat, 4 May 2002 12:51:34 -0700 (PDT) From: Mike Brown <mike@hyperreal.org> To: freebsd-questions@freebsd.org Subject: SOLVED Re: Djmy.domain not working after upgrade Message-ID: <20020504195134.9201.qmail@hyperreal.org> In-Reply-To: <20020430021759.77725.qmail@hyperreal.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020504195134.9201.qmail>