1 |
On Sat, Nov 16, 2013 at 12:03 PM, Tanstaafl <tanstaafl@×××××××××××.org>wrote: |
2 |
|
3 |
> No... |
4 |
> |
5 |
> I know all about running a local MTA. |
6 |
> |
7 |
> My real question is, why can portage do this (send emails without a local |
8 |
> MTA installed)? |
9 |
> |
10 |
> Why did the gentoo devs decide to build an smtp client into it capable of |
11 |
> doing TLS, instead of simply requiring an MTA to be able to email emerge |
12 |
> logs? |
13 |
> |
14 |
> |
15 |
They didn't. The smtp client is part of Python, not part of portage. If |
16 |
you're developing in Python, you just call Python's mail API and let Python |
17 |
take care of the mail, instead of calling the local MTA. Easier and faster |
18 |
development. |
19 |
|
20 |
Cron is written in C where you don't get mail functionality for free so |
21 |
it's easier to use the local MTA. |
22 |
|
23 |
-- |
24 |
Manuel A. McLure WW1FA <manuel@××××××.org> <http://www.mclure.org> |
25 |
...for in Ulthar, according to an ancient and significant law, |
26 |
no man may kill a cat. -- H.P. Lovecraft |