Skip to content

Enabling message tracking breaks mail delivery when using exim's sendmail #100

@dhke

Description

@dhke

When

  • message tracking is enabled for a list under "Bounce Management" and
  • when sendmail is provided by exim

not messages get delivered to list subscribers. For a user and a list manager, this error is silent.

It would be nice if message tracking worked with exim or there was an option to disable it from the list management interface.

Version

6.2.66

Installation method

Ubuntu deb

Expected behavior

Mails to list subscribers should be delivered with message tracking enabled.

Actual behavior

Mails get submitted to exim-sendmail, but not delivered because of command line options.

Steps to reproduce

  1. Have a machine with sendmail provided by exim
  2. Configure message tracking for a mailing list
  3. Send mail to mailing list, watch the sendmail gets called (from logs)
  4. See that messages get suppressed

Additional information

The issue is in Sympa/Mailer.pm.

When message tracking is enabled, sendmail gets passed the command line flags -N success,delay,failure -V <envid>

For postfix-sendmail, this sets an envelope id for DSN tracking and enables delivery status notifications for successful deliveries instead of the usual delay, failure.

For exim

  • -N is a debugging option, that suppresses mail delivery.
  • -V makes exim print version information.

Setting message tracking for a list thus essentially disables mail delivery when using exim as the sendmail provider and there does not seem to be an option to disable the feature globally so that it is not available to list owners.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions