From owner-freebsd-isp Tue Jan 1 3: 4:26 2002 Delivered-To: freebsd-isp@freebsd.org Received: from support.euronet.nl (support.euronet.nl [194.134.32.134]) by hub.freebsd.org (Postfix) with ESMTP id 3240737B41E for ; Tue, 1 Jan 2002 03:04:22 -0800 (PST) Received: from localhost (franst@localhost) by support.euronet.nl (8.11.3/8.11.0) with ESMTP id g01B3kK82989; Tue, 1 Jan 2002 12:03:47 +0100 (CET) X-Authentication-Warning: support.euronet.nl: franst owned process doing -bs Date: Tue, 1 Jan 2002 12:03:46 +0100 (CET) From: Frans ter Borg X-Sender: franst@support.euronet.nl To: Colin Harford Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Crontab mailings... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 1 Jan 2002, Colin Harford wrote: > I have checked the sendmail docs for info on this, and I seem to be > blind as I can not find the answer. > > Basically, what I would like to do, is for all the daily mail output > from the crontab scripts (daily, weekly, monthly) to be mailed to a > valid email account. > > Of course, I would prefer to not to have to keep sendmail or another > mail server process running all the time.... Since most periodic scripts are run from a root crontab, their output will be mailed to root on that box. Normally you should be able to change where root's mail goes by changing it in /etc/aliases and running 'newaliases' or the equivalent on your system. (do 'man 5 crontab' instead of man sendmail) You shouldn't need to have a mailserver process running all the time, since cron will inject the mails into the commandline mail tools, though these should be properly configured... If cron cannot find your sendmail or /bin/mail try and change the locations in /usr/src/usr.sbin/cron/cron/config.h and recompile. good luck. Frans -- Quanza Engineering B.V. www.quanza.net Frans ter Borg, Haarlemmerstraat 49-3, 1013 EK Amsterdam T:+31 6 20 444 979, F:+31 84 8704241, E:frans@quanza.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message