Category Archives: Servers

Linux : apt-get Failed to fetch FailReason: ConnectionRefused

Experiencing the following issue trying to update your Debian distro using apt-get? # apt-get update Ign:1 http://deb.debian.org/debian stretch InRelease Hit:2 http://deb.debian.org/debian stretch Release Ign:3 http://repo.r1soft.com/apt stable InRelease Hit:4 http://repo.r1soft.com/apt stable Release Hit:5 http://security.debian.org/debian-security stretch/updates InRelease Ign:8 https://download.webmin.com/download/repository sarge InRelease Hit:9 https://download.webmin.com/download/repository sarge Release Err:11 https://packages.sury.org/php stretch InRelease FailReason: ConnectionRefused Reading package lists… Done W: Failed… Read More »

Linux : How to manage Exim mail queue

Here are some useful commands to manage the Exim mail server queue. Show the mail queue content :

Show the amount of mail in the queue :

Delete a specific message in the queue, with the help of the first command in this example (exim -bp) to get the message ID :

Read More »

Linux : Export Roundcube webmail contact from SQL to CSV

Here is a procedure how to export the saved address book contacts from Roundcube webmail directly from the MySQL database to a CSV file (please note that Roundcube natively support exporting contacts from the Webmail itself to CSV – this method is only in case you want to pull out old contacts from a database).… Read More »

Linux : How to reset cPanel max defers for a specific account

If one of your hosted user (or account) have accidentally reached the max deferred message that can be sent over an hour (and the issue have been identified and fixed), you can unsuspend the mail delivery by deleting the following file :

For example, if the domain name is “itechlounge.net“, the command to execute… Read More »