Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-94321

dnf-automatic: command_email fails to send e-mails to multiple recipients

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.8
    • rhel-9.7
    • dnf
    • None
    • No
    • Moderate
    • rhel-swm
    • ssg_core_services
    • 0
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Hide

      dnf-automatic can send e-mails for multiple recipients via s-nail's /usr/bin/mail command:

      [emitters]
      emit_via = command_email
      [command_email]
      email_to = root,test

      Show
      dnf-automatic can send e-mails for multiple recipients via s-nail's /usr/bin/mail command: [emitters] emit_via = command_email [command_email] email_to = root,test
    • None
    • New Test Coverage
    • Bug Fix
    • Hide
      Cause: dnf-automatic configured to use `command_email` emitter to send e-mails to multiple recipients and default /usr/bin/mail program installed with s-nail package.
      Consequence: /usr/bin/mail fails to send the e-mail.
      Fix: dnf-automatic program was changed to expand `email_to` keyword in `command_format` formatting string from a single argument to multiple arguments.
      Result: dnf-automatic can sends e-mails to multiple recipients with a default /usr/bin/mail program.
      Show
      Cause: dnf-automatic configured to use `command_email` emitter to send e-mails to multiple recipients and default /usr/bin/mail program installed with s-nail package. Consequence: /usr/bin/mail fails to send the e-mail. Fix: dnf-automatic program was changed to expand `email_to` keyword in `command_format` formatting string from a single argument to multiple arguments. Result: dnf-automatic can sends e-mails to multiple recipients with a default /usr/bin/mail program.
    • Proposed
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      dnf-automatic fails to send e-mail notifications for multiple recipients if `command_email` emitter is used. The cause is that /usr/bin/mail of s-nail expects each recipient as a separate argument.

      This is a request to restore compatibility (relative to RHEL 8) with the default /usr/bin/mail provider in RHEL 9.

      Affected packages:

      dnf-automatic-4.14.0-29.el9.noarch
      s-nail-14.9.22-6.el9.x86_64

              rhn-support-ppisar Petr Pisar
              rhn-support-ppisar Petr Pisar
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: