From owner-freebsd-questions Tue Jul 27 14:35: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.lee.net (trinity.lee.net [208.229.121.1]) by hub.freebsd.org (Postfix) with ESMTP id 6520614EBF for ; Tue, 27 Jul 1999 14:34:58 -0700 (PDT) (envelope-from awells@journalstar.com) Received: from journalstar.com (leepcC-159.sub-c.lee.net [208.205.126.159]) by trinity.lee.net (8.9.1/8.9.0) with ESMTP id QAA09255 for ; Tue, 27 Jul 1999 16:35:40 -0500 Message-ID: <379E2597.F7FE2F16@journalstar.com> Date: Tue, 27 Jul 1999 16:33:11 -0500 From: Tony Wells X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: New sendmail config? References: <199907271753.NAA05223@chromatix.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I just happened to have to do the same thing today! Here's what I did, sendmail gurus feel free to comment. :-) (I'm assuming you're using the stock sendmail.cf file) Back-up your current /etc/sendmail.cf to something like /etc/sendmail.cf.bak so you can copy back the original if something breaks. You'll find the .mc files which get 'compiled' by /usr/bin/m4 in: /usr/src/contrib/sendmail/cf/cf Copy the file generic-bsd4.4.mc to some new file, say foo.mc Edit the file foo.mc and on the first line add the line: (yes that is a back-tick) include(`../m4/cf.m4') Also add the line to the end of the file: FEATURE(`accept_unresolvable_domains') Run the command: /usr/bin/m4 foo.mc > foo.cf Run the command: /usr/sbin/sendmail -C foo.cf To check your configuration. If it complains about not being able to find /etc/sendmail.cw change the line in foo.cf Fw/etc/sendmail.cw to: Fw -o /etc/sendmail.cw Copy your new foo.cf to /etc/sendmail.cf Restart the daemon. Ouila', you're done. Nick LoPresti wrote: > > It seems as if sendmail has a new configuration commanding it to only accept mail from domain that are reverse-lookupable(is that a word?). How do you turn this off? I really don't need this function. Thanks. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message