Spam-Problem with sending AdminConfirmation Mails
When sending a confirmation Mail to the configured AdminUser the method:
protected function createAdminConfirmationRequest(User $user)
in Class: vendor/in2code/femanager/Classes/Controller/NewController.php
handles the mail-generation.
But it sends the email with the email and the username of the registrant as sender addresses with (lines 424ff):
StringUtility::makeEmailArray($user->getEmail(), $user->getUsername()), 'New Registration request', [ 'user' => $user, 'hash' => HashUtility::createHashForUser($user), ], ConfigurationUtility::getValue('new./email./createAdminConfirmation.', $this->config), $this->request );
This leads to problems with the sending mailserver if there are antispam configurations (SPF, DKIM, DMARC) because the mailserver needs to send emails with probably any possible email addresses. So in our case emails are classified as SPAM.
I don't see an option to change this behaviour by configuration (Typoscript, ...) - is this correct?
Would be great if you could look into that.
Best regards
Frank Wulf cosmoblonde GmbH