[gentoo-user] Basic SMTP server

2006-01-15 Thread Tom Smith
I need to find a basic SMTP server, one that will allow the server to
send outbound messages (such as Cronjob status and various alerts) and
will allow LAN devices (such as printers and copiers) to relay mail
through it. It doesn't need to support SMTP AUTH, TLS, or anything of
that nature--it just needs to be a basic, no frills mail server.

Can anyone offer any suggestions for such a mail server?

Thanks in advance for your help!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Basic SMTP server

2006-01-15 Thread kashani

Chris White wrote:

On Monday 16 January 2006 04:03, Tom Smith wrote:


I need to find a basic SMTP server, one that will allow the server to
send outbound messages (such as Cronjob status and various alerts) and
will allow LAN devices (such as printers and copiers) to relay mail
through it. It doesn't need to support SMTP AUTH, TLS, or anything of
that nature--it just needs to be a basic, no frills mail server.



Probably best asked on the gentoo-server mailing list to be honest.  Most 
people use either sendmail/qmail, but those are probably not as 'trim' as 
you'd want.


You'd actually be better off reading the forums as it's been discussed a 
few hundred times in the past year.


I suggest postfix and here's the config you should add to the end of 
/etc/postfix/main.cf


myhostname = myhost.domain.com
mydomain = domain.com
myorigin = $myhostname # or maybe $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = subnet
mynetworks = 127.0.0.0/8, 10.10.10.0/24

edit /etc/main/aliases
run newaliases
/etc/init.d/postfix restart
rc-update add postfix default

You're done.

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