From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EMWnQ-0005ml-NR for garchives@archives.gentoo.org; Mon, 03 Oct 2005 20:20:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j93GfxtA003064; Mon, 3 Oct 2005 16:42:00 GMT Received: from popmail.jettissystems.com (popmail.jettissystems.com [38.118.146.212]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j93Gafvm003241 for ; Mon, 3 Oct 2005 16:36:42 GMT Received: from [10.20.16.102] (unknown [10.20.16.102]) by popmail.jettissystems.com (Postfix) with ESMTP id 1DE6156D49A for ; Mon, 3 Oct 2005 09:44:47 -0700 (PDT) Message-ID: <43415FFC.8050904@badapple.net> Date: Mon, 03 Oct 2005 11:44:44 -0500 From: kashani User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] simple mta for local delivery References: <20051002161522.GA13088@xs4all.nl> <642958cc0510021202s6e802becp984a89cb33ebe845@mail.gmail.com> <4341484B.3090703@badapple.net> <20051003161900.GA7313@xs4all.nl> In-Reply-To: <20051003161900.GA7313@xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 699c57e2-362e-4988-a385-7fc48e31ce6b X-Archives-Hash: fdb3ef82b2ac031f00bd01cf7c24b4bf tiesman wrote: > On Mon, Oct 03, 2005 at 10:03:39AM -0500, kashani wrote: > >>Mark Shields wrote: >> >>>qmail! I use it on my home server and I love it. >> >>Didn't he say something about a simple MTA? :-) > > > Exactly kashani. I do thank you Mark, for a quick answer. But can you also give > me an example config file (or any clues, to get it up and running), because it > is the whole intention to find a MTA suitable for a quick install (or a complex > MTA, with some kind of noob 'config-mode'). > Don't get me wrong, if there's no way of making this work easy, I'll dig in a > mail sysadmin guide or so. But I think it would be useful to have a simple MTA > available for Gentoo, wouldn't it? > The problem is that doing local delivery properly does require some infrastructure. However a stripped down local server could probably drop most of the queuing that goes on in an MTA. The final package is still going to be complicated enough which is why a psuedo MTA isn't an interesting problem for anyone capable of writting a real mail server. Or at least that's my take on it. In any case this should get Postfix working within 15 minutes including compile emerge postfix You might need to unmerge ssmtp before you install postfix vi /etc/mail/aliases point to root to a local account newaliases makes your aliases active vi /etc/postfix/main.cf ctrl +g to get to the bottom, add these lines myhostname = hostname.yourdomain.com mydomain = yourdomain.com myorigin = $myhostname # or you can make it $mydomain inet_interfaces = all # or set to localhost if you don't want the server to be able to receive any email mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain # or some subset of these. mynetworks_style = subnet mynetworks = 127.0.0.0/8 # and any other IP's you'd like to allow to relay though I don't think you need any /etc/init.d/postfix start postconf -n so you verify the right settings are what Postfix is using. If this is off look at the main.cf and delete any duplicates. IIRC Postfix uses the last config which is why we put all the configs at the end of the config file. rc-update add postfix default While not simple I think Postfix is one of the easier MTA's to get up and running quickly. kashani -- gentoo-user@gentoo.org mailing list