[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why doesn't cron mail jobs' output?



Did you disable completely sendmail?

You know that in the new sendmail security model, you need at least
a daemon listening on 127.0.0.1 to get local mail. Which is the
reason that OpenBSD comes with sendmail enabled but using a
configuration that only listen on loopback address (not available
to the world).

What does "mailq -Ac" says? Does it list tons of messages that
couldn't be delivered to localhost?


On Sat, Mar 01, 2003 at 05:39:15PM +0100, Piotr Zgorecki wrote:
> On Sat, Mar 01, 2003 at 02:33:37PM +0100, Bruno Rohee wrote:
> > On Sat, Mar 01, 2003 at 02:27:05PM +0100, Piotr Zgorecki wrote:
> > > Hi,
> > > 
> > > After installing OpenBSD I got a bit surprised with cron's
> > > behaviour. It doesn't send jobs' output to their owners. This is
> > > different from what cron's manpage says... So, did I break anything,
> > > or is it by default (and it seems to, as I didn't insert those
> > > pipes to "mail" in root's crontab - this I know for sure :)
> > 
> > Are you sure there's actually an output? When there is one I sure
> > get mail.
> > 
> > Try a dummy cron job like "echo foobar" to see if it works.
> > 
> I had done this - I didn't get mail. But I did this once again just to
> make sure... voila. The first trial was at 6am... sorry for bothering
> (I had even checked both root's and plain user's crontab, no mails
> received, I swear... Magic;)
> 
> Regards,
> Piotr

-- 
Hugo Villeneuve <hugo_(_at_)_EINTR_(_dot_)_net>
http://EINTR.net/ 



Visit your host, monkey.org