Date: Tue, 1 Jan 2002 12:03:46 +0100 (CET) From: Frans ter Borg <frans@quanza.net> To: Colin Harford <colin.harford@mail.su.ualberta.ca> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Crontab mailings... Message-ID: <Pine.BSF.4.21.0201011153460.59280-100000@support.euronet.nl> In-Reply-To: <B856D520.C80%colin.harford@mail.su.ualberta.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0201011153460.59280-100000>