Month: March 2015

SMTP and ESMPT Error Codes

SMTP Error Codes Here is a list of the standard SMTP error codes you will find in most email bounces. 200 Codes 211 – System status / system help reply 214 – Help message 220 – Domain service ready 221 – Domain service closing transmission channel 250 – Requested mail action completed and OK 251 –…


Vivaldi

I recently downloaded and installed Vivaldi on multiple systems to test it out (linux and win7). What I found was that although it is blazingly fast, the functionality of the interface was somewhat slow. In importing my 2500 or so bookmarks, it froze up and I had to kill it with a killall command. This…


Log Terminal Session To A File

A client recently asked if there was a way we could output a terminal session to a file; in researching this more, I am seeing three ways: script -f log.txt SYNOPSIS script [-a ] [-f ] [-q ] [-t ] [file ]…


Cron Orphan Entries

Hi, Everyday, logwatch send out an email report with information about the server. Today I seen: Cron Begin ORPHAN entries: 2 Cron End In researching this, I found and fixed the following:…


Logwatch

Logwatch is the classic log file email utility that emails a daily status of activity from Linux logs. On CentOS, the default install of logwatch does not have many fancy features enabled. I’ll show you how to configure logwatch! First, install logwatch: $ sudo yum install logwatch  …


FCGI w/ SuExec and Mod_Userdir Issues

Howdy,      With the recent push for servers to use FCGI as opposed to dso, cgi or suphp, we are seeing some issues regarding mod_userdir. With FCGI and SuExec, mod_userdir will not function as per cPanel’s documentation. https://documentation.cpanel.net/display/ALD/Apache+mod_userdir+Tweak#Apachemod_userdirTweak-Enabledmod_userdirprotection According to cPanel: Enabled mod_userdir protection Before you enable the mod_userdir module, be aware of the…


Backup file, create directory and set perms in one quick shot

Prior to working on/modifying a file, use the ‘install -m’ command which can both copy files, create directories, and set their permissions at the same time. Useful when you are working in the public_html folder and need to keep the copied file hidden from the world. #install -m 0400 foo bar/ #install -m 0400 a.txt{,.bak}…