X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: How to configure cron's mail?
Date:  Wed, 27 Sep 2006 14:15:41 -0500
Lines: 19
Message-ID: <efeikt$jaq$1@sea.gmane.org>
References:  <1159328985.18739.7.camel@panoramix> <efd1e0$2o7$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <efd1e0$2o7$1@sea.gmane.org>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Ren=E9 Berber wrote:

> Joost Kraaijeveld wrote:
>=20
>> Can I configure where cron sends the mail to? It seems to be=20
>> "user@localhost", where user is the account cron is running under,
>> but I would like it to go to "otheruser@somewhere.com".
>=20
> Yes, in /etc/ssmtp/ssmtp.conf, but when you install the ssmtp package
> you are supposed to run ssmtp-config.  Anyway you can edit the file,
> just define root and rewriteDomain so that cron uses those.

I forgot to add that there is a second option: specify MAILTO inside cronta=
b.

In fact that is a more flexible option, you could make cron send emails to =
several addresses, also to different ones for each job.
--=20
Ren=E9 Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

