Date: Wed, 25 Jun 2008 19:57:33 +0100 From: "N.J. Mann" <njm@njm.f2s.com> To: Schiz0 <schiz0phrenic21@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Crontab Not Sending Email - nrcpts=0 Message-ID: <20080625185733.GA90582@oberon.njm.f2s.com> In-Reply-To: <8d23ec860806251134r2ff5334fmbc017d42e40ba74b@mail.gmail.com> References: <8d23ec860806251134r2ff5334fmbc017d42e40ba74b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <8d23ec860806251134r2ff5334fmbc017d42e40ba74b@mail.gmail.com>,
Schiz0 (schiz0phrenic21@gmail.com) wrote:
>
> I have another odd problem. Cron refuses to send any emails. Here's
> what DID work:
[...]
I also see this, both on 6-STABLE and 7-STABLE. I have not tried
8-CURRENT.
This is what I have found so far. After cron has sent the header
information to sendmail and before it sends the body, cron detects a
SIGPIPE and stops further processing of the cron job. (This gives the
size=0 in the sendmail log file.) sendmail then drops the uncompleted
message.
Sadly, I have not had enough time to dig any deeper. I ended up
patching cron to ignore SIGPIPE and this "fixed" the problem.
I really must make some more time to look into this.
Cheers,
Nick.
--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080625185733.GA90582>
