returnpath from incorrect domain

Jeroen Verschoor

New Member
I have an issue with the return-path which Mailwizz chooses. It does not comply with the domain set as from mailaddress:
- Default mailer: Swiftmailer
- One customer has two sending and tracking domains set: domain1.tld and domain2.tld
- There are two bounce servers: domain1.tld and domain2.tld

The delivery server has been set to use one of the mentioned bounce-servers (domain1.tld), but for a fully aligned DMARC (SPF/DKIM) I would prefer using the 'from-domain' used within the return-path. Now the return-path will be domain1.tld when the from mail address has domain2.tld as from domain.

How can I dynamically set the bounce-server / return-path based on the domain in the from address used?