From owner-freebsd-questions@FreeBSD.ORG Sat Aug 26 15:15:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CF31816A500 for ; Sat, 26 Aug 2006 15:15:27 +0000 (UTC) (envelope-from eoghanj@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 B696D44870 for ; Sat, 26 Aug 2006 14:45:58 +0000 (GMT) (envelope-from eoghanj@gmail.com) Received: by nf-out-0910.google.com with SMTP id i2so1087218nfe for ; Sat, 26 Aug 2006 07:45:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=gX+n7761kl9j0YkQlhyA0nfq9jEs8zgG2PbHpdTFbUhwEEfP+hxJPhAWmmRTmYSXPVvnuge8ulbmIKSOYZcYNcBmuDhJpMGR4dYAWuV8QF5AcFV2A37t7LSfWttO6/yxO9wp5sc/ZoO8n/N/cGUGpYYYB0Af1XI5OTl3M1q+OBo= Received: by 10.49.8.10 with SMTP id l10mr6738173nfi; Sat, 26 Aug 2006 07:45:57 -0700 (PDT) Received: from ?192.168.1.33? ( [194.125.117.239]) by mx.gmail.com with ESMTP id k9sm1701742nfc.2006.08.26.07.45.56; Sat, 26 Aug 2006 07:45:56 -0700 (PDT) In-Reply-To: <20060825182054.GH78862@gothmog.pc> References: <280932DB-C727-4ED8-8985-72BC2C43EDA9@gmail.com> <20060825173513.GF78862@gothmog.pc> <20060825182054.GH78862@gothmog.pc> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <65B04548-4EB7-4B60-887D-7AA3383F2605@gmail.com> Content-Transfer-Encoding: 7bit From: eoghan Date: Sat, 26 Aug 2006 15:45:54 +0100 To: Giorgos Keramidas X-Mailer: Apple Mail (2.752.2) Cc: freebsd-questions@freebsd.org Subject: Re: sendmail 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: Sat, 26 Aug 2006 15:15:28 -0000 On 25 Aug 2006, at 19:20, Giorgos Keramidas wrote: > If someone was to re-write a step by step guide for Sendmail on > FreeBSD, > it would take far more than a single email response. > > You should definitely start by reading, at least, the following: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ > sendmail.html > > For available configuration options and the functionality they > implement, you can also look at: /usr/share/sendmail/cf/README > > The Sendmail FAQ is also a valuable resource, and it is available > online > at: http://www.sendmail.org/faq/index.html > > In general, what you have as a goal is something that works like this: > > work > +--------------+ related +------------------+ > | | messages | | > | Sendmail | ====================> | Company's Mail | > | | | Gateway | > | Running | | | > | as | +------------------+ > | a local | > | MTA | > | | ==========. > | | | other +------------------+ > +--------------+ | messages | | > | | Mail Gateway | > `=========> | of your | > | Internet | > | Provider | > | | > +------------------+ > > This is very easy to do in FreeBSD. You just have to run `make' > once in > the `/etc/mail' directory. This will create two files, called: > > HOSTNAME.mc > HOSTNAME.submit.mc > > where `HOSTNAME' is your local host name. You can configure Sendmail, > by following the instructions in the Handbook, the help in the README > file of the Sendmail macros, at `/usr/share/sendmail/cf/README', and > making configuration changes to `HOSTNAME.mc'. > > You can direct all outgoing email from `localhost' to the mail gateway > of your ISP, by reading the comments in `/etc/mail/HOSTNAME.mc' and > enabling the `SMART_HOST' feature. Hey thanks a mill Giorgos Will read up on this. Eoghan