[Pkg-Cyrus-imapd-Debian-devel] Bug#344045: cyrus21-common: non \n terminated lines at end of mail will be lost invoking "mail -s xyz user@host"

Leif Jakob leif+debian at cube.ch
Mon Dec 19 16:00:11 UTC 2005


From: Leif Jakob <leif+debian at cube.ch>
Subject: cyrus21-common: non \n terminated lines at end of mail will be lost invoking "mail -s xyz user at host"
Package: cyrus21-common
Version: 2.1.18-2
Severity: normal

*** Please type your report below this line ***

We switched from sendmail/procmail to sendmail/cyrus:

The problem is, that eMails generated by nagios end with 
-- cut here--
..
Additional Info:
[Missing line that was here before the switch]
-- cut here--

I did not track the problem down but in the /var/spool/cyrus/ mailbox
the missing lines are not present. To reproduce the problem call:

echo    "This works"   | mail -s "Test with newline"    user at host
echo -n "This is lost" | mail -s "Test without newline" user at host

I'll change the command in /etc/nagios/misccommands.cfg to always
append a \n but to silently drop lines is a bug IMHO.

Cheers Leif


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)

Versions of packages cyrus21-common depends on:
ii  adduser         3.80                     Add and remove users and groups
ii  debconf [debcon 1.4.62                   Debian configuration management sy
ii  dpkg            1.13.11                  package maintenance system for Deb
ii  gawk            1:3.1.4-2                GNU awk, a pattern scanning and pr
ii  libc6           2.3.5-8.1                GNU C Library: Shared libraries an
ii  libdb3          3.2.9-23                 Berkeley v3 Database Libraries [ru
ii  libsasl2        2.1.19-1.7               Authentication abstraction library
ii  libssl0.9.7     0.9.7g-5                 SSL shared libraries
ii  libwrap0        7.6.dbs-8                Wietse Venema's TCP wrappers libra
ii  libzephyr3      2.1.20010518.SNAPSHOT-14 The original "Instant Message" sys
ii  netbase         4.23                     Basic TCP/IP networking system
ii  perl            5.8.7-9                  Larry Wall's Practical Extraction 
ii  sendmail-bin [m 8.13.5-3                 powerful, efficient, and scalable 

Versions of packages cyrus21-common recommends:
ii  cyrus21-imapd                 2.1.18-2   Cyrus mail system (IMAP support)
ii  cyrus21-pop3d                 2.1.18-2   Cyrus mail system (POP3 support)

-- debconf-show failed





More information about the Pkg-Cyrus-imapd-Debian-devel mailing list