Exim: remote_smtp defer (-53): retry time not reached for any host

This can be caused by multiple things, however if it happens for each email, it’s likely your exim databases are corrupt; to resolve this you should:

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null

/scripts/courierup -- force
/scripts/eximup --force

Could not connect db error…[cPanel]

1. Goto cpanel of the account—>phpMyAdmin

2. Add New User

3. Add User To Database

4. Goto to the path mentioned in the error link.

5. root@true [/home/testuser/public_html]# grep -ilr “testuser_” *

Admin/error_log
Admin/includes/dbconfiguration.php
assurance/error_log
communications/error_log
company/error_log
contact/error_log
error_log
home/error_log
marine/error_log
supply/error_log

root@true [/home/testuser/public_html]# cd Admin/includes/
root@true [/home/testuser/public_html/Admin/includes]# ll

6. root@true [/home/testuser/public_html/Admin/includes]# vi dbconfiguration.php

Change them to the ones you created in cpanel
$host = 'localhost';
$username = 'testuser_admin';
$password = 'admin12';

7. root@true [/home/testuser/public_html/Admin/includes]# scp dbconfiguration.php old_db

8. Try now.

Can’t execute command ‘/usr/local/cpanel/bin/sendmail_cpanel -i -t -f in squirrelmail

SquirrelMail is a standards-based webmail package written in PHP. It includes built-in pure PHP support for the IMAP and SMTP protocols, and all pages render in pure HTML 4.0 (with no JavaScript required) for maximum compatibility across browsers. It has very few requirements and is very easy to configure and install.
A cPanel offers SquirrelMail by default but sometimes you get following error while accessing SquirrelMail.

Can't execute command '/usr/local/cpanel/bin/sendmail_cpanel -i -t -f in squirrelmail

First SSH into your server and run :-

/scripts/fixeverything
/scripts/upcp --force
/scripts/eximup --force

if that does not fix the issue run the following commands:-

cd /usr/sbin
mv sendmail sendmail.157979
ln -s /usr/sbin/exim /usr/sbin/sendmail
mv /etc/eximmailtrap /etc/eximmailtrap.157979

/scripts/eximup --force
/scripts/mailscannerupdate --force
/scripts/buildeximconf
service exim restart

1 116 117 118 119 120