From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 19:55:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41E8A106566B for ; Mon, 19 Oct 2009 19:55:52 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id D01A18FC15 for ; Mon, 19 Oct 2009 19:55:51 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n9JJthD7070227 for ; Mon, 19 Oct 2009 20:55:44 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n9JJthD7070227 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1255982144; bh=/h1AK/K8AEraTzs/n+OC33wqPSckZ9fKW4LVzkFRH6I=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4ADCC437.6030304@infracaninophile.co.uk>|Date:=20M on,=2019=20Oct=202009=2020:55:35=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20Free=20BSD=20Questions=20list=20|Subject:=20Re:=20sendmail=20domain=20configuration| References:=20<20091019193203.GA6357@teddy.fas.com>|In-Reply-To:=2 0<20091019193203.GA6357@teddy.fas.com>|X-Enigmail-Version:=200.95. 6|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B =20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-sign ature"=3B=0D=0A=20boundary=3D"------------enig7E6F12EC78F1A0DA4E8A EFF2"; b=xjPWfKdBZAGGRR72CCJSGo9MHgoxvOCcLrXnQmi+I229UGNvsb7XmIx0tc5BjgKzu z2YHZfcVwOxkihN7jdPPxlBUKs9raVqwKBUVn8uKkPHJUTH90Z7c9o3HOdoGT9ljoa uRPhWCudz8zkAvZEVGXPgLyf2p7W5GgraLG3YaUU= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4ADCC437.6030304@infracaninophile.co.uk> Date: Mon, 19 Oct 2009 20:55:35 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Free BSD Questions list References: <20091019193203.GA6357@teddy.fas.com> In-Reply-To: <20091019193203.GA6357@teddy.fas.com> X-Enigmail-Version: 0.95.6 X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig7E6F12EC78F1A0DA4E8AEFF2" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: sendmail domain configuration 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, 19 Oct 2009 19:55:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7E6F12EC78F1A0DA4E8AEFF2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable stan wrote: > I am trying to work around some design issues. Some of out FreeBSD maci= nes > must live in a made up domain. As a result from these machines gtes > discarded by an sensible mail handling system.=20 >=20 > I have solved this problem on some Soalris machines that also si`uffer = from > this same design by settting the doamin macro in thier sendmail.cf as > follows: >=20 > Dj$w.realdomain.com >=20 > OI know that in FreeBSD I should not edit sendmail.cf directly, but ins= tead > should edit the appropriate .mc file, and remake the .cf file. But I ca= nnot > find the documentation as to how to set this particular sendmail macro = from > the .mc file >=20 > Can anyou give me some guidance here?=20 >=20 /usr/share/sendmail/cf/README documents what you can put into a sendmail = =2Emc file. The specific thing you want is: define(`confDOMAIN_NAME', `$w.realdomain.com')dnl Add this to the `hostname`.mc file, and then just type 'make' in /etc/mai= l to generate a .cf file from it. To generate and install that .cf file = and restart sendmail to use it all in one, just do: # make all install restart=20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig7E6F12EC78F1A0DA4E8AEFF2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkrcxD8ACgkQ8Mjk52CukIz7GgCeNfRArk+HmZBBcOLYYXbbm38B aRMAn1KLalSdEqonQriAw3/5ae/M0MiF =5DpU -----END PGP SIGNATURE----- --------------enig7E6F12EC78F1A0DA4E8AEFF2--