X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: How to configure cron's mail? Date: Wed, 27 Sep 2006 14:15:41 -0500 Lines: 19 Message-ID: References: <1159328985 DOT 18739 DOT 7 DOT camel AT panoramix> 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: OpenPGP: url=hkp://random.sks.keyserver.penguin.de X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/