From owner-freebsd-questions@FreeBSD.ORG Sun Apr 20 08:34:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B588037B401 for ; Sun, 20 Apr 2003 08:34:31 -0700 (PDT) Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29EC043FDD for ; Sun, 20 Apr 2003 08:34:31 -0700 (PDT) (envelope-from apeiron@comcast.net) Received: from [192.168.0.10] (pcp01380957pcs.levtwn01.pa.comcast.net [68.81.162.166]) by mtaout11.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HDN009BTF934J@mtaout11.icomcast.net> for freebsd-questions@freebsd.org; Sun, 20 Apr 2003 11:34:15 -0400 (EDT) Date: Sun, 20 Apr 2003 11:34:17 -0400 From: Christopher Nehren In-reply-to: <20030420133335.GB70273@users.munk.nu> To: Jez Hancock Message-id: <1050852857.2369.25.camel@prophecy.dyndns.org> Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Content-type: multipart/signed; boundary="=-Kh262+gg9juClfj+je1i"; protocol="application/pgp-signature"; micalg=pgp-sha1 References: <1050842887.2369.9.camel@prophecy.dyndns.org> <20030420133335.GB70273@users.munk.nu> cc: FreeBSD questions List Subject: Re: Same old sendmail "loops back to me", not solved with FAQ, etc. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 15:34:32 -0000 --=-Kh262+gg9juClfj+je1i Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2003-04-20 at 09:33, Jez Hancock wrote: > Hi, >=20 > Firstly have you tried setting up an MX record for prophecy.dyndns.org so= it > points to your latest IP addr each time you reconnect? I forgot (my apologies) to mention that the IP address and MX record are completely and totally irrelevant, as all I'm trying to do is send email from a router for my home network to a machine on that home network. 'prophecy.dyndns.org' is simply a DynDNS hostname for my IP that I prefer to use instead of pcp[numbers]pcs.levtwn01.comcast.net . Yes, I've set up the /etc/mail/service.switch file correctly on both machines, and I have host entries in /etc/hosts , and it still barfs on me. As far as I can see, the error message that it gave me has nothing at all to do with what I want to accomplish. > In general regarding the whole freebsd sendmail gubbins... > Try and stay clear of changing the sendmail.cf files directly. Instead > do this: >=20 > cd /etc/mail/ > cp freebsd.mc prophecy.dyndns.org.mc > (Make all changes to this file from now on and when you've made a change = to > it at any time, make sure to rebuild a new .cf file from it using 'make', > see below:). I already have a prophecy.dyndns.org.mc file on top of the freebsd.mc file; I've edited both of them and the problem still exists, before and after a 'make'. > Now check that this line is in /etc/mail/prophecy.dyndns.org.mc: > define(`confCW_FILE', `-o /etc/mail/local-host-names') That's there already. > And then: >=20 > cp /etc/defaults/make.conf /etc/make.conf >=20 > Edit /etc/make.conf so it includes: > SENDMAIL_MC=3D/etc/mail/prophecy.dyndns.org.mc > (this ensures that when you 'make installworld' your config is used) > (note you only really have to copy the bit above into the /etc/make.conf = file, > the file only has effect when you run 'make' in /usr/src afaik) Okay, did that. > Edit your /etc/local-host-names file so it includes: > prophecy.dyndns.org > (sounds like you did this already:) Yep, did that. > cd /etc/mail > make all > cp prophecy.dyndns.org.cf freebsd.cf > make restart Okay, did that too. > Anyway hope that vaguely helps. It's still giving me the MX error ... but thank you for the extensive information. =3D) Regards, Christopher --=-Kh262+gg9juClfj+je1i Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+or34UdqurN0fljsRAknsAJ9yEVkOqeAWGMPwxpPio7DvAMUa2wCfW/h4 wP9VpZGHxEEmXOlXI8NdjUI= =51UF -----END PGP SIGNATURE----- --=-Kh262+gg9juClfj+je1i--