Package: dma
Version: 0.13-1
Severity: normal

I am using dma on a few standalone systems for handling reports from
various system daemons.

One of those daemons is logwatch. On one system, logwatch is reporting on some
log lines which happen to be very long (1060 characters). When one of those
log lines is included, logwatch gets an error sending the mail:

/etc/cron.daily/00logwatch:
sendmail: bad mail input format: from root (uid 0) (envelope-from 
root@<redacted>)
run-parts: /etc/cron.daily/00logwatch exited with return code 141

logwatch uses "sendmail -t", and I can reproduce the error from the command 
line.
Sending an email using "sendmail -t" (when sendmail is actually dma) with a 1060
byte line gets that error.

I realise dma is not intended to be a fully flexible mail system, but it would 
be useful
if it could handle routine system reports.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_SOFTLOCKUP
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_IE.utf8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dma depends on:
ii  debconf [debconf-2.0]  1.5.74
ii  libc6                  2.31-9
ii  libssl1.1              1.1.1j-1
ii  ucf                    3.0043

dma recommends no packages.

dma suggests no packages.

-- Configuration Files:
/etc/dma/auth.conf [Errno 13] Permission denied: '/etc/dma/auth.conf'

-- debconf information excluded

Reply via email to