From owner-freebsd-questions@FreeBSD.ORG Sun Mar 16 22:34:34 2008 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 8E231106566B for ; Sun, 16 Mar 2008 22:34:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-out-05.forthnet.gr (mx-out.forthnet.gr [193.92.150.104]) by mx1.freebsd.org (Postfix) with ESMTP id E8F678FC1B for ; Sun, 16 Mar 2008 22:34:33 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from mx-av-05.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-05.forthnet.gr (8.13.8/8.13.8) with ESMTP id m2GMYV2T001701; Mon, 17 Mar 2008 00:34:31 +0200 Received: from MX-IN-02.forthnet.gr (mx-in-02.forthnet.gr [193.92.150.185]) by mx-av-05.forthnet.gr (8.14.2/8.14.2) with ESMTP id m2GMYUKC030767; Mon, 17 Mar 2008 00:34:30 +0200 Received: from kobe.laptop (adsl127-166.kln.forthnet.gr [77.49.246.166]) by MX-IN-02.forthnet.gr (8.14.2/8.14.2) with ESMTP id m2GMYSRN026869; Mon, 17 Mar 2008 00:34:30 +0200 Authentication-Results: MX-IN-02.forthnet.gr smtp.mail=keramida@ceid.upatras.gr; spf=neutral Authentication-Results: MX-IN-02.forthnet.gr header.from=keramida@ceid.upatras.gr; sender-id=neutral Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m2GMYRjP001790; Mon, 17 Mar 2008 00:34:27 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m2GMYRB2001789; Mon, 17 Mar 2008 00:34:27 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 17 Mar 2008 00:34:27 +0200 From: Giorgos Keramidas To: Malcolm Kay Message-ID: <20080316223427.GA1696@kobe.laptop> References: <200803161817.47739.malcolm.kay@internode.on.net> <200803170026.07732.malcolm.kay@internode.on.net> <20080316143708.GA35250@owl.midgard.homeip.net> <200803170836.31414.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803170836.31414.malcolm.kay@internode.on.net> Cc: freebsd-questions@freebsd.org Subject: Re: Network identity for sending 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, 16 Mar 2008 22:34:34 -0000 On 2008-03-17 08:36, Malcolm Kay wrote: > On Mon, 17 Mar 2008 01:07 am, Erik Trulsson wrote: > > I do not use sendmail myself, so I am not sure of all the details, but > > go to /etc/mail/ and define SMART_HOST appropriately in the right .mc > > file. > > Read the Makefile there for information on how to rebuild things and which > > files are used. > > > > Googling for 'freebsd sendmail smart_host' should also provide useful > > information. > > On Mon, 17 Mar 2008 05:59 am, Giorgos Keramidas wrote: > > Set SMART_HOST in `/etc/mail/your-master-config.mc' :) > > > > Then run: > > > > # cd /etc/mail > > # make && make install > > # make restart > > > > Thanks guys, > I'd heard of SMART_HOST but did not realise this would overcome > my identity problem. > > Your attention is much appreciated. Hi Malcolm. You are welcome, of course :) If you stick around with Sendmail, it may be interesting to search through the archives. There are a few posts which may be interesting for other setup details of your outgoing email, like email address rewriting (commonly called `masquerading' in Sendmail documentation). A few pointers to get you started are: http://groups.google.com/group/mailing.freebsd.questions/msg/a6aafc66482070c1 http://groups.google.com/group/comp.unix.bsd.freebsd.misc/msg/83fdd8740321db86 http://groups.google.com/group/lucky.freebsd.questions/msg/7cf951f12567f2fe http://groups.google.com/group/comp.unix.bsd.freebsd.misc/msg/562dc23fca32c37c http://groups.google.com/group/list.freebsd.questions/msg/8dff805cd2bc76be Then in the post at http://groups.google.com/group/list.freebsd.questions/msg/c9fc1a5a75d9120a you can find a bit of help about `mailertable', the Sendmail feature I use to forward all my email to my default SMART_HOST and redirect company-internal email to the internal mail server of my workplace.