- Add email_return_path to civicrm_domain table. By default this is NULL. Expected value is a valid email address.
- Add this field to Edit Domain Information (admin) form and page. Field label = "Send Emails RETURN-PATH". Validate for email address format.
- Modify the SMTP headers we create for our built-in (non-CiviMail) 'send mail to contact(s)' as follows:
+ RETURN-PATH uses value from domain table if NOT NULL. Else, use FROM email address
+ Add a REPLY-TO element in the header. Value = FROM email address
NOTE: This is an attempt to prevent RELAY DENIED issues w/ ISP/SMTP Servers who expect a valid local user in the RETURN-PATH.