baruwaproject / baruwa2

Baruwa 2.0
http://www.baruwa.org
GNU General Public License v3.0
21 stars 9 forks source link

Prevent Exim from adding Sender header #158

Closed freakynl closed 3 years ago

freakynl commented 3 years ago

Currently Exim adds a Sender header to e-mails where the mail (smtp/envelope) from and (header) from differ.

Many companies are starting to use BATV. Several e-mail clients, among which Outlook, show on behalf of

, if this is set.

So they're looking at a lot of ugly inbox message that look something along the lines of:

prvs=SOME-UGLY-LONG-ID-132415182=JohnDoe@domain.tld on behalf of John Doe JohnDoe@domain.tld.

Haven't found a way to disable this. It's also a bit redundant as there's a feature in the message processing called 'Add Envelope From Header'. This sets a X-%org%-BaruwaFW-Envelope-From which basically does the same, but doesn't have this unfortunate side effect.

tomtakan commented 3 years ago

This is not the default behavior, that is only added if the admin turns on the Add Sender Header option in baruwa-setup https://docs.baruwa.com/configuration/backend.html#mta-more-settings