Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jul 2008 22:51:54 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Jyun-Yi Liou <7yuny1@gmail.com>
Cc:        Yavuz Maslak <maslak@ihlas.net.tr>, freebsd-questions@freebsd.org
Subject:   Re: crontab mails
Message-ID:  <20080727025154.GB36346@gizmo.acns.msu.edu>
In-Reply-To: <81a9e3840807260518t5379f40ble7a7f696cd7c1389@mail.gmail.com>
References:  <002c01c8eead$d08d4050$dc96eed5@ihlasnetym> <81a9e3840807260518t5379f40ble7a7f696cd7c1389@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 26, 2008 at 08:18:14PM +0800, Jyun-Yi Liou wrote:

> Hi Yavuz,
> It's easy to tell crontab stop sending mail to you by disable sendmail in
> /etc/rc.conf
> 
> %> echo "sendmail_enable=\"NO\""
> man rc.conf for more information :-)

Kind of overkill, don't you think?
Sendmail does more than crontab mails.

> 
> or set the variable MAILTO  null on corntab
> MAILTO=""

Better.

////jerry


> 
> Regards,
> jyuny1
> 
> 2008/7/26 Yavuz Maslak <maslak@ihlas.net.tr>
> 
> > Hello
> >
> > On freebsd7.0, my crontab sends many mails about its jobs.
> >
> > I want crontab not to send these mails
> >
> > How can I do that ?
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe@freebsd.org"
> >
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080727025154.GB36346>