Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
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 15:17:46
Message-Id: 52878C73.7030803@libertytrek.org
In Reply to: Re: [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? by Neil Bothwick
1 On 2013-11-16 10:04 AM, Neil Bothwick <neil@××××××××××.uk> wrote:
2 > On Sat, 16 Nov 2013 09:59:09 -0500, Tanstaafl wrote:
3 >
4 >> On 2013-11-16 9:56 AM, Neil Bothwick <neil@××××××××××.uk> wrote:
5 >>> So it uses SMTP by default, Python has standard libraries that make
6 >>> this simple, and only uses sendmail when you explicitly instruct it
7 >>> to do so.
8 >>
9 >> Ok... so... the question remains - can I tell cron to send mail the
10 >> same way?
11 >
12 > You don't, cron sends mail via sendmail, to the recipient specified by
13 > the MAILTO variable in the crontab file.
14
15 Thanks Neil, but... you said 'You don't'... not 'You CAN'T'...
16
17 Can you elaborate on this? If this is not possible - why is it not
18 possible? In other words, if portage can do it, why can't cron?

Replies

Subject Author
Re: [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? Neil Bothwick <neil@××××××××××.uk>