Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax?
Date: Sat, 16 Nov 2013 21:25:40
Message-Id: 5287E2A1.1010206@gmail.com
In Reply to: Re: [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? by Tanstaafl
1 On 16/11/2013 19:42, Tanstaafl wrote:
2 > On 2013-11-16 12:32 PM, Neil Bothwick <neil@××××××××××.uk> wrote:
3 >> sendmail sends mail.
4 >
5 > And apparently so does portage...
6 >
7 > So, anyone care to venture a guess as to why the gentoo devs decided to
8 > implement their own smtp server just so portage could send emails all by
9 > itself, rather than requiring the installation of an MTA?
10 >
11
12
13 portage DOES NOT implement an MTA. From Neil's earlier mail:
14
15 "Python has standard libraries that make this
16 simple, and only uses sendmail when you explicitly instruct it to do so"
17
18 That's about as simple as anything can get: one import, set up a few
19 config variables, one function call and your mail gets sent. It's far
20 easier than adding sendmail as a dep.
21
22 Or look at it this way: You need python to run portage, therefore you
23 already have basic mail sending capabilities already built-in. So use 'em
24
25 --
26 Alan McKinnon
27 alan.mckinnon@×××××.com