delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/27/15:16:45

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT 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 DOT 18739 DOT 7 DOT camel AT panoramix> <efd1e0$2o7$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ren=E9 Berber wrote:

> Joost Kraaijeveld wrote:
>=20
>> Can I configure where cron sends the mail to? It seems to be=20
>> "user AT localhost", where user is the account cron is running under,
>> but I would like it to go to "otheruser AT somewhere DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019