Package: nullmailer
Version: 1:2.2+10~g7ed88a0-6
Severity: important
Tags: upstream

Dear Maintainer,

Some messages from nullmailer are rejected by my smart relay running Debian
sendmaili, after it was updated with
https://lists.debian.org/debian-lts-announce/2024/06/msg00004.html

The faiing messages are typically from cron jobs returning a single line
of text ending in a carriage return (\r).

The problem can be reproduced by running

 echo -e "To: r...@example.com\n\nFoo\r"|nullmailer-inject

Which results in

 2024-10-02T11:09:08.179422+00:00 gustav nullmailer-send[453]: Starting 
delivery, 1 message(s) in queue.
 2024-10-02T11:09:08.179444+00:00 gustav nullmailer-send[453]: Starting 
delivery: host: dilbert.example.com protocol: smtp file: 1727867348.32924
 2024-10-02T11:09:08.179466+00:00 gustav nullmailer-send[453]: From: 
<bj...@gustav.example.org> to: <r...@example.com>
 2024-10-02T11:09:08.179489+00:00 gustav nullmailer-send[453]: Message-Id: 
<1727867348.172026.32923.nullmai...@gustav.example.org>
 2024-10-02T11:09:10.006453+00:00 gustav nullmailer-send[32925]: smtp: Failed: 
421 4.5.0 Bare carriage return (CR) not allowed
 2024-10-02T11:09:10.007814+00:00 gustav nullmailer-send[453]: Sending failed: 
Temporary error in sending the message
 2024-10-02T11:09:10.007885+00:00 gustav nullmailer-send[453]: Delivery 
complete, 1 message(s) remain.

The issue is fixed by https://github.com/bruceg/nullmailer/pull/76


Bjørn

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.9-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nullmailer depends on:
ii  debconf [debconf-2.0]  1.5.87
ii  libc6                  2.40-2
ii  libgnutls30t64         3.8.6-2
ii  libstdc++6             14.2.0-3

nullmailer recommends no packages.

nullmailer suggests no packages.

-- debconf information excluded

Reply via email to