fcron sends mail without body. sendmail is called with '-Froot -odi mathieu' as args. I've changed the config to use a stdin dumper instead of sendmail and there is no stdin at all. Here is an e-mail from fcron as I see it after checking it in kmail. Return-Path: <root@mat.depardo.kn> X-Original-To: mathieu Delivered-To: mathieu@mat.depardo.kn Received: by mat.depardo.kn (Postfix, from userid 0) id 07C941802C; Tue, 1 Mar 2005 10:51:54 +0100 (CET) Message-Id: <20050301095154.07C941802C@mat.depardo.kn> Date: Tue, 1 Mar 2005 10:51:54 +0100 (CET) From: root@mat.depardo.kn (fcron) To: undisclosed-recipients:; Status: R X-Status: NC Reproducible: Always Steps to Reproduce: 1. 2. 3. fcron version and flags: sys-apps/fcron-2.9.5.1-r2 -debug -doc +pam (-selinux) and postfix's mail-mta/postfix-2.1.5-r2 +ipv6 -ldap +mailwrapper +mbox -mysql +pam -postgres -sasl (-selinux) +ssl -vda
This has also been happening on one of my machines. The configuration: AMD64 machine running Linux-2.6.10-as6. fcron 2.9.5.1-r2: -debug -doc +pam (-selinux) exim-4.43-r2: -X -dnsdb -exiscan +exiscan-acl +ipv6 -ldap -lmtp -mailwrapper -mbox -mysql -nis +pam +perl -postgres -sasl +ssl -syslog +tcpd ... so it doesn't appear to be MTA-related.
Same here (usinf esmtp for local mail delivery). I notice however, the mail is fine when the program returns exit status 1. Whenever the exit status is 0, the mail is blank.
great! that at least gives me a workaround (however stupid) to have the output of my cronjobs back: &bootrun 00 6 * * * /local/sbin/freshPortage.sh -nocolor && exit 1
Created attachment 52829 [details, diff] this fix seems to work for me Is this a new change in glibc that fseek() doesn't immediately call lseek()?
that fixes it for me. :)
for me too. thanks.
Just dropping a note saying I'm working on this, so you guys don't think it's going ignored. I'll test the patch and barring any problems will have this FIXED today or tomorrow at the latest.
Patch looks good. Fixes it here as well. -r3 is in cvs. Thanks guys.