Bug #22129
closedNon-RFC-conformant email adresses
0%
Description
"LoginWarnings" send by the TYPO3 Backend are send from email address "no_reply@no_reply.no_reply". This is a hard coded value and non-conformant to official standards. RFC 2606 - Reserved Top Level DNS Names [1] names ".invalid" as TLD "intended for use in online construction of domain names that are sure to be invalid and which it is obvious at a glance are invalid."
The currently used from address may cause problems (bounces, blacklisting of server etc) with picky mail servers and they were right, one may say. Hardcoding this value makes manual changes of this value unreasonable since every update resets the email adresses.
To keep TYPO3 a sustainable CMS I propose the following changes in the core:
Move the from address of warning mails to $TYPO3_CONF_VARS. Default value is the RFC-conformant from address invalid@invalid.invalid. The address is customizable by the TYPO3 administrator. Blanking the value triggers the use of the postmaster address defined by the web server configuration if applicable.
[1] http://www.faqs.org/rfcs/rfc2606.html
Define [BE][warning_email_addr] and [BE][warning_mode].
Log into your system.
(issue imported from #M13560)
Updated by Jonas Renggli over 13 years ago
- Target version deleted (
0)
This issue has been fixed in TYPO3 4.5.0 by Ernesto Baschny. The E-Mail at Login is now sent via SwiftMailer
// If An email should be sent to the current user, do that: if ($this->uc['emailMeAtLogin'] && strstr($this->user['email'], '@')) { $from = t3lib_utility_Mail::getSystemFrom(); /** @var $mail t3lib_mail_Message */ $mail = t3lib_div::makeInstance('t3lib_mail_Message'); $mail->setTo($this->user['email']) ->setFrom($from) ->setSubject($subject) ->setBody($msg); $mail->send(); }
Sender can be configured in localconf.php
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromAddress'] $GLOBALS['TYPO3_CONF_VARS']['MAIL']['defaultMailFromName']
if there's no mail address configured getSystemFromAddress()
in class.t3lib_utility_mail.php
tries to generate a mail-address itself. It takes the domain from the first record found in table sys_domain
and creates a mail address like no-reply@your-domain.com