Bug#427690: exim4-base cronjob refers to program 'mail' but has no dependency on it

Mrten debian at ii.nl
Tue Jun 5 20:30:39 UTC 2007


Package: exim4-base
Version: 4.63-17
Severity: normal


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.

-- Package-specific info:
Exim version 4.63 #1 built 20-Jan-2007 10:42:32
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 PAM Perl GnuTLS move_frozen_messages Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /etc/exim4/exim4.conf

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.1-Mrten
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages exim4-base depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  cron                        3.0pl1-100   management of regular background p
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  exim4-config [exim4-config- 4.63-17      configuration for the exim MTA (v4
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libdb4.3                    4.3.29-8     Berkeley v4.3 Database Libraries [
ii  lsb-base                    3.1-23.1     Linux Standard Base 3.1 init scrip
ii  netbase                     4.29         Basic TCP/IP networking system

Versions of packages exim4-base recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

-- debconf information excluded




More information about the Pkg-exim4-maintainers mailing list