From what I can tell, DirectAdmin is incorrectly setting a From Header address in it's system outgoing email messages.
Specifically I am seeing this in the messages when a new account is created, i.e. the ones with subjects of:
Your account for example.tld is now ready for use.
and
Creator Duplicate: Your account for example.tld is now ready for use.
But I suspect this applies to all outgoing messages being sent by the DirectAdmin panel.
The From Header is being set to whatever the contact email address is for that reseller. The problem arises with DMARC validation at the recipient's end.
If the reseller has their contact email address set to an @yahoo.com email address, then our server (and any other DirectAdmin server) is not authorized to send email from the yahoo.com domain name. This results in the message not being delivered to some recipients.
The From Header should be set to a specific server-only email address. I would propose the same email address that the envelope-sender is set to: diradmin@%the_server_hostname%.
The message does include a Reply-To header which can be set to the reseller's contact email address as that does not play a role in DMARC and SPF validation.
If this is configurable some where in DirectAdmin - I don't know where that is, and if someone can clue me in on where this can be configured - such as a template file - it'd be much appreciated.
I also suspect that this same issue affects other messages that are sent out from DirectAdmin but I don't have an exhaustive list (account suspensions and unsuspensions? Account deletions?)
Specifically I am seeing this in the messages when a new account is created, i.e. the ones with subjects of:
Your account for example.tld is now ready for use.
and
Creator Duplicate: Your account for example.tld is now ready for use.
But I suspect this applies to all outgoing messages being sent by the DirectAdmin panel.
The From Header is being set to whatever the contact email address is for that reseller. The problem arises with DMARC validation at the recipient's end.
If the reseller has their contact email address set to an @yahoo.com email address, then our server (and any other DirectAdmin server) is not authorized to send email from the yahoo.com domain name. This results in the message not being delivered to some recipients.
The From Header should be set to a specific server-only email address. I would propose the same email address that the envelope-sender is set to: diradmin@%the_server_hostname%.
The message does include a Reply-To header which can be set to the reseller's contact email address as that does not play a role in DMARC and SPF validation.
If this is configurable some where in DirectAdmin - I don't know where that is, and if someone can clue me in on where this can be configured - such as a template file - it'd be much appreciated.
I also suspect that this same issue affects other messages that are sent out from DirectAdmin but I don't have an exhaustive list (account suspensions and unsuspensions? Account deletions?)