Package: dma
Version: 0.13-1
Followup-For: Bug #983916

Workround, for anyone else hitting this problem... sed can be used to do a
simple line wrap. I use:

sed 's/\(.\{800\}\)/&\n---/g'

which wraps lines at 800 bytes and adds '---' to the start of the next line.

In particular, for logwatch (which seems to be the only problem on my system)
I have created /etc/logwatch/conf/logwatch.conf containing:

mailer="tee /tmp/last-logwatch | sed 's/\(.\{800\}\)/&\n---/g' | sendmail -t"

It would still be nice if dma could handle the long lines itself, of course.

-- 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)
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