From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax?
Date: Sat, 16 Nov 2013 23:24:49 +0200 [thread overview]
Message-ID: <5287E2A1.1010206@gmail.com> (raw)
In-Reply-To: <5287AE73.5050703@libertytrek.org>
On 16/11/2013 19:42, Tanstaafl wrote:
> On 2013-11-16 12:32 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
>> sendmail sends mail.
>
> And apparently so does portage...
>
> So, anyone care to venture a guess as to why the gentoo devs decided to
> implement their own smtp server just so portage could send emails all by
> itself, rather than requiring the installation of an MTA?
>
portage DOES NOT implement an MTA. From Neil's earlier mail:
"Python has standard libraries that make this
simple, and only uses sendmail when you explicitly instruct it to do so"
That's about as simple as anything can get: one import, set up a few
config variables, one function call and your mail gets sent. It's far
easier than adding sendmail as a dep.
Or look at it this way: You need python to run portage, therefore you
already have basic mail sending capabilities already built-in. So use 'em
--
Alan McKinnon
alan.mckinnon@gmail.com
next prev parent reply other threads:[~2013-11-16 21:25 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-16 14:05 [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? Tanstaafl
2013-11-16 14:13 ` Tanstaafl
2013-11-16 14:56 ` Neil Bothwick
2013-11-16 14:59 ` Tanstaafl
2013-11-16 15:04 ` Neil Bothwick
2013-11-16 15:17 ` Tanstaafl
2013-11-16 17:32 ` Neil Bothwick
2013-11-16 17:42 ` Tanstaafl
2013-11-16 21:24 ` Alan McKinnon [this message]
2013-11-18 13:45 ` [gentoo-user] Re: Tell cron to send email using sender:passwd <at> host:587 syntax? James
2013-11-16 19:29 ` [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? Benjamin Lee
2013-11-16 20:03 ` Tanstaafl
2013-11-16 20:25 ` Manuel McLure
2013-11-17 11:42 ` Tanstaafl
2013-11-17 11:45 ` Tanstaafl
2013-11-16 23:14 ` Neil Bothwick
2013-11-17 9:00 ` Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5287E2A1.1010206@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox