[Pkg-aide-maintainers] Bug#882311: should wrap its e-mail to less than 998 bytes

Marc Haber mh+debian-packages at zugschlus.de
Tue Nov 21 10:31:12 UTC 2017


Package: aide
Version: 0.16-2
Severity: minor

Hi,

the line length in SMTP is limited to 998 bytes. The exim packages in
Debian do enforce this.

On a system with very long paths (I have yet to see a system that
actually applies), the file detail information in the aide daily report
can exceed this length. In this case, the message is not fowarded by
Debian's default MTA in its default configuration.

aide's daily cron job should therefore wrap lines.

fold(1), which is in coreutils, can do this job nicely, augmented by the
--witdh=900 --spaces arguments. Maybe it would be a good idea to make
the width configurable.

Greetings
Marc



More information about the Pkg-aide-maintainers mailing list