[Koha-bugs] [Bug 28729] Return-path header not correctly set in emails

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 28 11:27:39 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28729

--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Jonathan,

thx for checking.

The change is not in the From header, the change is the Return-Path header.

As far as I understand the issue: We have never set the Return-Path as such,
but we have used "Sender".  
See:
https://stackoverflow.com/questions/19334223/how-can-we-set-return-path-in-a-mail-when-we-use-mailsendmail-module-to-se)

In the emails sent, this resulted in Sender and Return-Path headers being set
to the same email address - the one configured in our Return-Path configuration
settings.

As we are on 18.11 at the moment, there is a bit of a version gap in my
testing. 
With the changes to STMP configuration in mind, we have tested 20.11 more
closely.

There the change appears:

Now Sender is still correct, but Return-Path shows the information from From
(branchemail, KohaAdminEmailAddress).

The Return-Path header appears on the first line from the other headers in my
testing, so can be missed easily when looking at the other headers that appear
further below.

Sender and Return-Path should always match. They did, but not anymore.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list