Package: dma
Version: 0.0.2010.06.17-11
Severity: normal

(I'm the maintainer of the Debian package logwatch.)

In http://bugs.debian.org/642398 a user reported that dma fails to accept what
it gets from logwatch. It turned out that logwatch's output does not end with a
newline, rather it ends with newline followed by a space. 

This behaviour of logwatch is at least accepted by /usr/sbin/sendmail as 
implemented in courier and postfix (I use them), and probably most other
mailers in Debian (I haven't received any other bug report concerning this
issue). 

Based on the principle of "be conservative in what you send, be liberal in
what you accept" I've fixed the problem in logwatch, but I think that this 
problem should also be fixed in dma.

% cat > /tmp/testmail
To: [email protected]
Subject: test

Hello World!
 ^D
% /usr/sbin/sendmail -t < /tmp/testmail
sendmail: can not read mail: Invalid argument
%

vs.

% cat /tmp/testmail
To: [email protected]
Subject: test

Hello World!
^D
% /usr/sbin/sendmail -t < /tmp/testmail
%

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dma depends on:
ii  debconf [debconf-2.0]  1.5.40  
ii  libc6                  2.13-21 
ii  liblockfile1           1.09-3  
ii  libssl1.0.0            1.0.0e-2

Versions of packages dma recommends:
pn  dma-migrate  <none>
pn  safecat      <none>

dma suggests no packages.

-- Configuration Files:
/etc/dma/auth.conf [Errno 13] Keine Berechtigung: u'/etc/dma/auth.conf'
/etc/dma/dma.conf [Errno 13] Keine Berechtigung: u'/etc/dma/dma.conf'
/etc/dma/virtusertable [Errno 13] Keine Berechtigung: u'/etc/dma/virtusertable'

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to