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=<recipient@gmail.com>, 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 = "nobody@noreply.com";

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 nobody@noreply.com with a valid host server email in cloner.cron.php file.

 

January 2017
XCloner Backup
Joomla
WordPress
CentOS 7

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha
captcha
Reload