Re: [gentoo-user] simple mta for local delivery

2005-10-03 Thread kashani

Mark Shields wrote:

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



Didn't he say something about a simple MTA? :-)

kashani
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] simple mta for local delivery

2005-10-03 Thread tiesman
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



Re: [gentoo-user] simple mta for local delivery

2005-10-03 Thread kashani

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



Re: [gentoo-user] simple mta for local delivery

2005-10-03 Thread Covington, Chris
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



Re: [gentoo-user] simple mta for local delivery

2005-10-03 Thread ralf

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



Re: [gentoo-user] simple mta for local delivery

2005-10-02 Thread Mark Shields
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 [EMAIL PROTECTED] wrote:
Hey, I'm looking for a simple mta, which also can do local delivery. I'm usingnbsmtp now, to get mail off the system to the smtp server of my isp. But I'dlike 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, isthere?TIA, Tiesps 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