When using a default install of Magento (>=1.9) on DirectAdmin the emails send by Magento can appear to come from [email protected] or from [email protected]. These addresses can appear in the “From”, “Reply-To” or “Return-Path”. Some email clients show this as [email protected] on behalf off [email protected]  There is a simple fix for both these issues.

Mail from [email protected]

For this issue just add the following code to your /etc/exim.conf

untrusted_set_sender = *
no_local_from_check

Mail from [email protected]

This is a new feature in Magento, to change this in Magento admin got to:

Configuration > Advanced > System > Mail Sending Settings > Set Return-Path

Here you can choose between “Yes”, “No” and “Specified”, choose “Yes” to let Magento decide the address based on store settings or “Specified” to enter a fixed address.