XCloner backup log emails rejected. Sender: nobody@noreply.com

XCloner Joomla and WordPress backup notification emails are not beng delivered. Postfix Mail logs (/var/log/maillog) shows that email was bounced by Google because of sender's domain noreply.com

Feb 20 21:41:50 localhost postfix/smtp[48976]: DCE8DE03ED13: to=<This email address is being protected from spambots. You need JavaScript enabled to view it.>, relay=gmail-smtp-in.l.google.com[74.125.71.26]:25, delay=0.51, delays=0.03/0.01/0.2/0.28, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[74.125.71.26] said: 550-5.7.1 Unauthenticated email from noreply.com is not accepted due to domain's 550-5.7.1 DMARC policy. Please contact the administrator of noreply.com domain 550-5.7.1 if this was a legitimate mail. Please visit 550-5.7.1  https://support.google.com/mail/answer/2451690 to learn about the 550 5.7.1 DMARC initiative. x18si5696633wrx.115 - gsmtp (in reply to end of DATA command))

After a bit of digging I found that noreply.com was coming from cloner.cron.php file located in administrator/components/com_xcloner-backupandrestore (in case of Joomla). At line 437 there was following code:

 
$logemail = explode(";", $_CONFIG['cron_logemail']);
if($_CONFIG['cron_fromlogemail'])
 $fromemail = $_CONFIG['cron_fromlogemail'];
else
 $fromemail = "This email address is being protected from spambots. You need JavaScript enabled to view it.";
 

cron_fromlogemail variable seems to be exposed in GUI only in the latest Joomla 3.X version of XCloner.

WordPress and older Joomla 2.X versions don't seem to have any way to specify sender's email in GUI. In this case you can simply replace the hard-coded This email address is being protected from spambots. You need JavaScript enabled to view it. with a valid host server email in cloner.cron.php file.

 

January 2017
XCloner Backup
Joomla
WordPress
CentOS 7

 

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait