Bug 1477476 - libreport-plugin-mailx don't respect the EmailFrom/EmailTo settings when write it in '"'
libreport-plugin-mailx don't respect the EmailFrom/EmailTo settings when wri...
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libreport (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: abrt
BaseOS QE - Apps
Depends On:
  Show dependency treegraph
Reported: 2017-08-02 04:01 EDT by Frank Büttner
Modified: 2018-03-23 12:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Frank Büttner 2017-08-02 04:01:36 EDT
Description of problem:
When using it to send an e-mail the header of the mail contains an incorrect "From"/"To" field.

But the from/to part at the smtp transfer part are ok.
The error happens after the data command.

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. let an application crash

Actual results:
The generated email will contain in invalid "From"/"To" field in the header.
From: <"foo@foo.foo"@localhost.localdomain>
To: <"bar@bar.bar" @localhost.localdomain>

But the the smtp part before the data command:
MAIL FROM:<foo@foo.do> SIZE=15023
RCPT TO:<bar@bar.bar> ORCPT=rfc822;bar@bar.bar

Expected results:
An correct mail header.

Additional info:

will work. But on http://abrt.readthedocs.io/en/latest/examples.html the fields are written with '"'.

Note You need to log in before you can comment on or make changes to this bug.