tags #427690 confirmed pending thanks On Tue, Jun 05, 2007 at 10:30:39PM +0200, Mrten wrote: > unless package 'mailx' is installed the exims daily report cannot be sent > > kimiko:/etc/cron.weekly# ./exim4-base > ./exim4-base: line 40: mail: command not found > > line 40 has 'mail' on it: > > sh-3.1# head -40 /etc/cron.daily/exim4-base | tail -2 > eximstats -nr -bydomain -byemail -byedomain </var/log/exim4/mainlog \ > | mail $E4BCD_DAILY_REPORT_TO -s"$(hostname --fqdn) Daily > email activity report" > > installing package mailx makes the cronjob run: > > kimiko:/etc/cron.weekly# apt-get install mailx > Reading package lists... Done > [...] > Setting up mailx (8.1.2-0.20050715cvs-1) ... > > > sh-3.1# ./exim4-base > sh-3.1# > > as one has to manually enable the reportx, this is probably minor.
It is nevertheless a good catch. I have added code to the cron job to catch this error, and exim4-base recommends mailx now. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

