From owner-freebsd-questions@FreeBSD.ORG Sun Feb 19 20:52:54 2012 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 00E34106566B for ; Sun, 19 Feb 2012 20:52:54 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECA38FC08 for ; Sun, 19 Feb 2012 20:52:53 +0000 (UTC) Received: by eaan10 with SMTP id n10so2212953eaa.13 for ; Sun, 19 Feb 2012 12:52:52 -0800 (PST) Received-SPF: pass (google.com: domain of odhiambo@gmail.com designates 10.14.47.68 as permitted sender) client-ip=10.14.47.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of odhiambo@gmail.com designates 10.14.47.68 as permitted sender) smtp.mail=odhiambo@gmail.com; dkim=pass header.i=odhiambo@gmail.com Received: from mr.google.com ([10.14.47.68]) by 10.14.47.68 with SMTP id s44mr8959497eeb.11.1329684772563 (num_hops = 1); Sun, 19 Feb 2012 12:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gsxsx+8ULTWY4gmrwKF8+as8VbnBBMys+yIXe7BXLgY=; b=v4vCEXqW2vAx/0dKeSyKtMLYSuZdqcCWmn1WZbLfWTGemEHKdpqLEaIvX6CT3RlxPa mdVTyMgEd68KqhX1OW1GyO8cc07zlQdf8SBKUa52V5M1G+NOPLlrBcOHRVZS9dxvlxqp zKrYtq517SSbOVgo/tyadBW2/SETQvikarBj8= Received: by 10.14.47.68 with SMTP id s44mr7134413eeb.11.1329682899849; Sun, 19 Feb 2012 12:21:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.108.76 with HTTP; Sun, 19 Feb 2012 12:20:59 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Sun, 19 Feb 2012 23:20:59 +0300 Message-ID: To: Daniel Lewis Content-Type: multipart/related; boundary=90e6ba5bbb75e8d2ee04b956ecd1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Mail 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, 19 Feb 2012 20:52:54 -0000 --90e6ba5bbb75e8d2ee04b956ecd1 Content-Type: text/plain; charset=UTF-8 On Sun, Feb 19, 2012 at 22:23, Daniel Lewis wrote: > I just install free bsd 8.2 and i can send mail out but cant recieve. From > recipient end its combining the hostname and domain name. > > Hi Daniel, In order to be able to "receive" e-mails on your server, a lot more is involved than just installing the box. Your domain name (e.g. danlewis.name) must be published in the web. I mean, you must have a registered domain name. After it being registered, it must have some special records published (DNS) and these records are called MX (Mail eXchanger) records. They must point back to your server's *public *IP address if it is the one you want to receive mail from. That public IP address needs to be static/permanent or some other special DNS (dynamic DNS) records need to come into play. Once all that is done, you will need to setup a fully-fledged mail server that can receive mail and let people retrieve it. In that case, you will need to run two applications - one is an SMTP server (the one that receives and places the mail into a 'mailbox') and the other being a POP3/IMAP4 server (the one that allows a user with a valid username and password to "retrieve" their e-mail from the mailbox). I suggest you start looking at Exim , Postfix(for SMTP) and Dovecot (for POP3/IMAP). There are several primers for setting these up, and so be prepared to start reading all those and making decisions on what you need to do - because now you are an aspiring "Server Administrator" (mail server for starters, and I know soon you'll be becoming a web server, database server, etc administrator, for that is the life you have chosen:)) May I start by pointing you to the following primers: 1. Exim+Dovecot - http://exim4u.org/ 2. Postfix+Dovecot - http://www.purplehat.org/?page_id=4 The above two include using MySQL database as backend and have a GUI to manage, which means you will soon be getting your hands dirty with MySQL and Apache, and PHP - I feel so sad for you because of this, but it's life:-) 3. http://rob0.nodns4.us/howto/ - This one was just posted to this list today. It's about Postfix+Dovecot using SQLite database as backend. I guess there is no GUI to manage this. Remember, when faced with difficulties, a good sysadmin reads log files for the different applications s/he runs and tries to figure it out using Google, then when stuck, can post a question to a general mailing list like this one, or to a specific mailing list dealing with the particular application. Welcome to FreeBSD, and to being a Systems Administrator. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. --90e6ba5bbb75e8d2ee04b956ecd1--