Category Archives: Servers

Linux : How to change default route metric

Under some rare circumstances, you may require to change the default route metric. The first way of doing should be through the “ifcfg-ethX” configuration file by adding the “METRIC=” statement. However it has been found to be inefficient for me and had to apply it using “ip route” as followed :

Example :

Read More »

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 »