Tag Archives: logs

Postfix – Relay local mail to External Email Address

Postfix – Relay local mail to External Email Address | For good practice, one should receive root mail from your Linux server. Linux typically sends all sorts of important cron messages, alerts, logwatch emails, and other info to root@localhost.
I’ll show you how to use Postfix to relay this local mail to your own external email account such as a gmail account!

Logwatch How-To for CentOS or Red Hat

Logwatch How-To for CentOS or Red Hat | 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 Next, navigate to the logwatch services directory which

Log POST data in Apache

Log POST data in Apache | Apache can log all POST data for troubleshooting purposes. I’ll show you how to set this up! First you will need to enabled mod_dumpio. On Ubuntu / Debian enable the module: $ sudo a2enmod dump_io Then add the following and restart apache: $ sudo nano /etc/apache2/apache2.conf LogLevel debug DumpIOInput On DumpIOOutput On DumpIOLogLevel debug

Troubleshooting SSH Server Logs and Error Messages

Troubleshooting SSH Server Logs and Error Messages | ssh logs can have various messages that are all difficult to interpret as the exact meaning is all based on the situation or circumstance. Below are some general tips to keep in mind if you run across any of these messages in your logs! Example 1 If you see this, someone is trying random logins