public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] simple mta for local delivery
@ 2005-10-02 16:15 tiesman
  2005-10-02 19:02 ` Mark Shields
  0 siblings, 1 reply; 6+ messages in thread
From: tiesman @ 2005-10-02 16:15 UTC (permalink / raw
  To: gentoo-user ML

Hey, I'm looking for a simple mta, which also can do local delivery. I'm using
nbsmtp now, to get mail off the system to the smtp server of my isp. But I'd
like to have local delivery for cronjobs (or anything similar), but I really
don't want to emerge sendmail or postfix, if I don't have to.
	I was thinking, there must be a simple solution for this problem, is
there?

TIA, Ties

ps I've been searching in google and gentoo forums, but couldn't find a
satisfactory answer, I apologize if this has come up recently or is just a FAQ.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] simple mta for local delivery
  2005-10-02 16:15 [gentoo-user] simple mta for local delivery tiesman
@ 2005-10-02 19:02 ` Mark Shields
       [not found]   ` <4341484B.3090703@badapple.net>
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Shields @ 2005-10-02 19:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]

qmail! I use it on my home server and I love it.

[ Results for search key : ^qmail$ ]
[ Applications found : 1 ]

* mail-mta/qmail
Latest version available: 1.03-r15
Latest version installed: 1.03-r15
Size of downloaded files: 383 kB
Homepage: http://www.qmail.org/
http://members.elysium.pl/brush/qmail-smtpd-auth/
http://www.jedi.claranet.fr/qmail-tuning.html
Description: A modern replacement for sendmail which uses maildirs and
includes SSL/TLS, AUTH SMTP, and queue optimization
License: as-is


On 10/2/05, tiesman <tieze@xs4all.nl> wrote:
>
> Hey, I'm looking for a simple mta, which also can do local delivery. I'm
> using
> nbsmtp now, to get mail off the system to the smtp server of my isp. But
> I'd
> like to have local delivery for cronjobs (or anything similar), but I
> really
> don't want to emerge sendmail or postfix, if I don't have to.
> I was thinking, there must be a simple solution for this problem, is
> there?
>
> TIA, Ties
>
> ps I've been searching in google and gentoo forums, but couldn't find a
> satisfactory answer, I apologize if this has come up recently or is just a
> FAQ.
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
- Mark Shields

[-- Attachment #2: Type: text/html, Size: 2046 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] simple mta for local delivery
       [not found]   ` <4341484B.3090703@badapple.net>
@ 2005-10-03 16:19     ` tiesman
  2005-10-03 16:44       ` kashani
  0 siblings, 1 reply; 6+ messages in thread
From: tiesman @ 2005-10-03 16:19 UTC (permalink / raw
  To: gentoo-user

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?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] simple mta for local delivery
  2005-10-03 16:19     ` tiesman
@ 2005-10-03 16:44       ` kashani
  2005-10-03 22:13         ` ralf
  0 siblings, 1 reply; 6+ messages in thread
From: kashani @ 2005-10-03 16:44 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] simple mta for local delivery
@ 2005-10-03 16:54 Covington, Chris
  0 siblings, 0 replies; 6+ messages in thread
From: Covington, Chris @ 2005-10-03 16:54 UTC (permalink / raw
  To: gentoo-user

Postfix is probably the easiest to setup out of the lot of sendmail,
exim, qmail, postfix. 


---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] simple mta for local delivery
  2005-10-03 16:44       ` kashani
@ 2005-10-03 22:13         ` ralf
  0 siblings, 0 replies; 6+ messages in thread
From: ralf @ 2005-10-03 22:13 UTC (permalink / raw
  To: gentoo-user

kashani wrote:

> 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

searched for local mail howtos, too :)

great little howto, workds, thanks ! :)



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-31  3:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-02 16:15 [gentoo-user] simple mta for local delivery tiesman
2005-10-02 19:02 ` Mark Shields
     [not found]   ` <4341484B.3090703@badapple.net>
2005-10-03 16:19     ` tiesman
2005-10-03 16:44       ` kashani
2005-10-03 22:13         ` ralf
  -- strict thread matches above, loose matches on Subject: below --
2005-10-03 16:54 Covington, Chris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox