Date: 09 Sep 2002 19:16:53 +0100 From: Stacey Roberts <stacey@Demon.vickiandstacey.com> To: dan@slightlystrange.org Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Request for proof of sendmail config procedure Message-ID: <1031595414.345.14.camel@Demon.vickiandstacey.com> In-Reply-To: <20020909102727.GA3392@catflap.home.slightlystrange.org> References: <1031506596.16286.89.camel@Demon.vickiandstacey.com> <20020909102727.GA3392@catflap.home.slightlystrange.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-CxQBnMlUyk9altTO1N+s Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sorry my reply is this late. I actually *do* have an account with ZoneEdit.com, and I use ddclient to check and update my external IP address. Currently, ZoneEdit provide the two nameservers with which I registered my domain name, and as such provide primary DNS for my domain (as against my ISP's nameservers which are used on my FBSD g'way in /etc/resolv.conf) Like I said, I've not done *anything* to sendmail as yet, but would like to run a mail server that processes mail for my domain. Here's what I know what is expected: Run "make" in /etc/mail Create local-hostname file in /etc/mail and populate with the domains sendmail is to act for Backup sendmail.cf & hostname.mc (or freebsd.mc in my case) Edit .mc file in /etc/mail Use m4 compiler to generate hostname.cf Copy hostname.cf to sendmail.cf Restart sendmail Now from what I know of sendmail, attempting to run a fully configured (with FQDN; mailer rules & masquerading) sendmail with a badly / non / incorrectly configured DNS is just asking for trouble - hence my post. I am sorry if my initial post was less than clear on the info I require. In essence then:- Do I / Can I run my own nameserver on my local network? Do I create slave or master zone entries? Like I mentioned earlier, I would understand if this is asking too much in one post, but I'd appreciate someone who might have been in the same situation to give me some pointers / guidance on this one. Thanks for taking the time to respond, Dan. Stacey On Mon, 2002-09-09 at 11:27, Daniel Bye wrote: > On Sun, Sep 08, 2002 at 06:36:34PM +0100, Stacey Roberts wrote: > > Hello, > > I'm hoping that the knowledgeable list members might be able to > > assist me in setting up sendmail for my home site. I appreciate that > > there is the possibility that what I am attempting is a no-go, and I'd > > appreciate someone telling this as well. > >=20 > > Here's the set-up: > > a] I have an ADSL connection to my home net, with a dynamic (I can sens= e > > the frowns on a few foreheads already!) IP addr assigned from my ISP > >=20 > > b] I have my own, registered domain name, and the target machine has it= s > > hostname set to <hostname>.domainname.com > >=20 > > c] Sendmail has *never* been tweaked (not even the "make" in /etc/mail)= , > > but mail works fine (i.e.: I have configured mua to send / receive > > e-mail via ISP's mail server). > >=20 > > Here's what I'd like to do: > >=20 > > 1] Configure sendmail on the target machine so that I can run my own > > mail server > >=20 > > 2] Configure sendmail such that the hostname is left out in the headers > > of outging mail - masquerade using my domain name > >=20 > > 3] I know that a configured DNS is required for sendmail to work > > correctly (which I can do), but is it possible to use my ISP's > > nameservers instead of running my own local primary servers? > >=20 > > If this is too much of an ask, let me know, okay? Thanks to those that > > might respond. >=20 > I use a very similar setup (sed -e s/sendmail/exim/g yourmail), and it=20 > works just fine. Can't help with point 2, as I am not a sendmail person. >=20 > But, point 3 - as you are on ADSL, your best bet would be to use dynamic > DNS - one thing I noticed about BT's ADSL is that each time you reboot, > you are likely to get a new IP address. Create an account on something > like ZoneEdit.com (free for up to 5 hosts, I think), and make sure that > as part of your startup you update your A record to show your new address= . > ZoneEdit.com updates are done over http, so you can use wget for this. >=20 > The problem with using your ISP's name servers is that they will have > unsuitable TTL and refresh values for a host whose address is likely > to change on a frequent basis. Running your own primaries locally would > have problems too - chicken and egg style of thing - how will you=20 > advertise your name server, if its IP address is not guaranteed to be > the same from one day to the next? >=20 > If I have misunderstood your question, forgive me - and help me by > restating it! >=20 > HTH >=20 > Dan >=20 > --=20 > Daniel Bye >=20 > PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc > PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 Stacey Roberts B.Sc (HONS) Computer Science Web: www.vickiandstacey.com --=-CxQBnMlUyk9altTO1N+s Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQEVAwUAPXzlkJvQeubckvvXAQHFWgf/Qds0Qe3O6vhOjmyqK4ysALOl0FCFrZLE zW7QkLWzN7Ejoc3UtvOeSXhGBNlCy0QG0mPMlF4ESFLCpxrZ8f0KU7K5FXx3A9HQ BrkbBUR2fNhYwRjgS00+sLyZs9JrUdGCnJajYW243awcJ7+b/AJnH/sl35ANj5qU HZ/xbzwzUsKrc8/j0gKPuPJHfbVtGAQ/O59AhhloJUtYe1VrTRKGg0W1J4weZaqy AQU51ND3LWT3aKqtSmFvsoNEhaGWz9H9LCrTw5WZwCxvevG/JqO0TeWG7LjW+4E3 NEoLtGxNaJYH5K3sOxCfHALQEJfd9aFV4qw6MoJ6AFZMrNA9CrYmxg== =EVMv -----END PGP SIGNATURE----- --=-CxQBnMlUyk9altTO1N+s-- 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?1031595414.345.14.camel>