Gentoo Archives: gentoo-user

From: kashani <kashani-list@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Basic SMTP server
Date: Sun, 15 Jan 2006 19:57:37
Message-Id: 43CAA554.60802@badapple.net
In Reply to: Re: [gentoo-user] Basic SMTP server by Chris White
1 Chris White wrote:
2 > On Monday 16 January 2006 04:03, Tom Smith wrote:
3 >
4 >>I need to find a basic SMTP server, one that will allow the server to
5 >>send outbound messages (such as Cronjob status and various alerts) and
6 >>will allow LAN devices (such as printers and copiers) to relay mail
7 >>through it. It doesn't need to support SMTP AUTH, TLS, or anything of
8 >>that nature--it just needs to be a basic, no frills mail server.
9 >
10 >
11 > Probably best asked on the gentoo-server mailing list to be honest. Most
12 > people use either sendmail/qmail, but those are probably not as 'trim' as
13 > you'd want.
14
15 You'd actually be better off reading the forums as it's been discussed a
16 few hundred times in the past year.
17
18 I suggest postfix and here's the config you should add to the end of
19 /etc/postfix/main.cf
20
21 myhostname = myhost.domain.com
22 mydomain = domain.com
23 myorigin = $myhostname # or maybe $mydomain
24 inet_interfaces = all
25 mydestination = $myhostname, localhost.$mydomain, localhost
26 mynetworks_style = subnet
27 mynetworks = 127.0.0.0/8, 10.10.10.0/24
28
29 edit /etc/main/aliases
30 run newaliases
31 /etc/init.d/postfix restart
32 rc-update add postfix default
33
34 You're done.
35
36 kashani
37 --
38 gentoo-user@g.o mailing list