From owner-freebsd-questions@FreeBSD.ORG Sun Mar 11 15:45:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0775F16A400 for ; Sun, 11 Mar 2007 15:45:49 +0000 (UTC) (envelope-from ed.zwart@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9B47813C46E for ; Sun, 11 Mar 2007 15:45:48 +0000 (UTC) (envelope-from ed.zwart@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so1575335nfc for ; Sun, 11 Mar 2007 08:45:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=aoliQpFB4jkPDyeWk7WKSCRoo/UZxf1x8RZTG+fcCenLKwhtSEDzvSsoPmliaLuKtbygQ41mwomBMhkmt3MW8duzfOkWuR1QMwIRWXQes1h7hBs9iQH7BiXicSwo3Wx+6ZUhrclxJe9fIZwh+KUvgDdp1zF90kWoch7LAWbPSxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=j7vUAobnzPGsq02J7Fv2KarVWSckH+sPfmJwZZj+FjwJ+0+ypz08pLToNEXIrMv7ZFOOmmgal3Ywz04IwM9OXqKb6JCELuvb6W/IYaNZVxSsBBhIiTM2WsF7Dqvwie9Z4DC0CITVD3Z7MjmY3g2GjCC6fGDuoXy0n8Iktfdeqm0= Received: by 10.82.136.4 with SMTP id j4mr6548865bud.1173627947282; Sun, 11 Mar 2007 08:45:47 -0700 (PDT) Received: by 10.82.185.13 with HTTP; Sun, 11 Mar 2007 08:45:47 -0700 (PDT) Message-ID: <6660f1280703110845w52b8babapf2814da0ac6424ae@mail.gmail.com> Date: Sun, 11 Mar 2007 07:45:47 -0800 From: "Ed Zwart" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: getting mail to work 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: Sun, 11 Mar 2007 15:45:49 -0000 I use freebsd on an older computer in my home network to run a webserver, a few web apps (bugzilla, tikiwiki), and samba. I just installed postfix via the ports collection so I can use the mail functionality of bugzilla. Bugzilla does its part correctly; I can see the message in the mailq, but all messages time out. From the postfix site, I learned about the MTU black hole issue (http://www.postfix.org/faq.html#timeouts). After spending some time messing both with my bsd machine's hostname and my home network gateway's settings (domain name and mtu size), I got nowhere. But then I read somewhere (sorry, I don't have the reference) that the handshake that goes on between my MTA and the destination machine includes a check that I'm not spoofing a domain that I don't control. Makes sense! So, I figured that I don't have an MTU problem at all, but a hostname/domain name problem. What I'm a little weak on is understanding is this... I own my_domain.com. I've paid a hoster for the last couple years, but that's ending in a week or so. Meanwhile, I've used dyndns to point foo.homedns.org to my IP. Originally, I had left the gateway's domain as the default (something based on my isp's domain), and set the bsd machine's hostname to foo.my_domain.com. But that's why mail was failing (I think) because dns was reporting that my_domain.com was not the same as my IP. Is this correct? Also, what are valid entries then for hostname then? Anything I want, as long as it's not some domain already known in the dns? Does it matter if I change my "domain" name on my LAN router? Finally, what I'd really like to do is just manage all this myself. I'm not providing any services to anyone but myself. (I don't have users, and don't need to receive mail.) My plan had been to pay dyndns to handle pointing to my_domain.com for me, but now I'm wondering if I can't just do that too. So, last question: does setting up dns on my bsd box mean I can propogate my IP for my_domain.com myself? Thanks in advance for help! e.