Package: sendmail
Version: 8.14.3-5+lenny1
Severity: wishlist
Tags: patch

We should add more sanity checking to our sendmail configs. Here's two macros 
that cause a sendmail config build to fail with a usable error when a file
or directory goes missing:


dnl sanity checking macros

define(`fatal_error', `
errprint(__line__`: fatal error: $* 
')
m4exit(`1')
')
define(`file_check', `
syscmd(`ls  $1 >/dev/null ')
ifelse(sysval, `0', `', `fatal_error(`file not found "$1" for $2')' )
')

file_check(QUEUE_DIR, `QUEUE_DIR')
dnl end sanity


Thanks,
Patrick

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/4 CPU cores)
Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sendmail depends on:
ii  sendmail-base            8.14.3-5+lenny1 powerful, efficient, and scalable 
ii  sendmail-bin             8.14.3-5+lenny1 powerful, efficient, and scalable 
ii  sendmail-cf              8.14.3-5+lenny1 powerful, efficient, and scalable 
ii  sensible-mda             8.14.3-5+lenny1 Mail Delivery Agent wrapper

sendmail recommends no packages.

Versions of packages sendmail suggests:
pn  rmail                         <none>     (no description available)
pn  sendmail-doc                  <none>     (no description available)

Versions of packages sensible-mda depends on:
ii  libc6                    2.7-18          GNU C Library: Shared libraries
ii  procmail                 3.22-16         Versatile e-mail processor
ii  sendmail-bin [mail-trans 8.14.3-5+lenny1 powerful, efficient, and scalable 

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to