Support

Akeeba Backup for Joomla!

#42947 Cron Backup task fails to send email confirmation.

Posted in ‘Akeeba Backup for Joomla!’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
Joomla! 6.1.0 Stable
PHP version
8.4.20
Akeeba Backup version
10.3.3

Latest post by rids on Sunday, 17 May 2026 11:39 CDT

rids

We are in the process of establishing a new website using Digital Ocean Droplets.  Its all working ok.  However, they block the usual SMTP ports.  Thankfully, our mail provider permits the use of Port 26.  So, we have configured the server settings to use this & all is working ok for Joomla emails.  We tried this through the 'Test Email' button.

However, the cron task we use to automate the backup fails to send an email:

The message is:

[WARNING] Could not email [email protected]:

The following From address failed: [email protected] : MAIL FROM command failed,,0, SMTP server error:
MAIL FROM command failed

nicholas
Akeeba Staff
Manager

This is unrelated to our software. It's even unrelated to Joomla itself. It tells you that your mail server declined the From email address you have set up.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

rids

Thanks for your quick response - that's very much appreciated.

I don't doubt your contention that its nor a fault in Akeeba, however I'm not convinced by your assertion that its the mailserver rejecting the email request.  I assume your product uses the Joomla mail config, so uses the sending email address from there.  Thats setup correctly and works just fine when I click the 'Send Test Email' button.  If there were a problem at the mail server, that request would also fail.

I have raised a ticket with Digital Ocean to see what (if anything) is blocking the outgoing request from CRON.  It all clearly works from the HTTPS request, but I'm not clear on how the request is raised via CRON.

Thanks for your help with this.

nicholas
Akeeba Staff
Manager

I feel obliged to provide a clarification for two points I considered obvious in my previous reply, thus decided to not reference in an attempt to not come across as condescending or worse.

We do not use “the Joomla mail config”. Akeeba Backup calls the Joomla Mail API and hands it the recipient address and message content. Joomla itself — not our software — creates the SMTP connection, authenticates, and transmits the message. We have no involvement in how the email is sent, which port is used, or how the connection is established. The error you are seeing originates inside Joomla’s mailer (PHPMailer), which is reporting a rejection received from your SMTP server.

“MAIL FROM command failed” is an SMTP protocol error, and it is coming directly from your mail server. For your server to return that error, the TCP connection to it over port 26 must have already been established successfully and SMTP negotiation must have already begun — otherwise the error would read “Connection refused” or “Connection timed out”, not “MAIL FROM command failed”. The SMTP server accepted the connection from your cron process, proceeded through the greeting and EHLO exchange, and then explicitly rejected the sender address ([email protected]) when the MAIL FROM command was issued. That is a decision made by your mail server, not by our software, not by Joomla, and not by your host’s firewall.

As for why the “Send Test Email” succeeds: one possibility, though admittedly unlikely, is that Joomla’s Mail Templates allow each template to define its own sender address independently of the Global Configuration. If the backup notification template has a different sender configured, that address — rather than the one you tested — would be presented to your mail server in the MAIL FROM command, and your mail provider may not have authorised it to send.

I am afraid that we are unable to help further, but this is genuinely outside the scope of what we support. We make a call to Joomla’s mail API; what happens from that point onwards is entirely between Joomla, your server, and your mail provider — none of which we have any visibility into or control over. It does rather sound as though Digital Ocean are the right people to be speaking with, and we do hope they get it sorted for you promptly.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

rids

Thanks very much for the clarification.  It certainly helped my understanding.

 

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!