Configure log rotation for Postfix on Linux

A client running a postfix server called me the other day wanting to configure log rotation for Postfix on Linux. This was a Redhat box and I didn’t have much experience configuring log rotation. After my trip to Coyoacan in Mexico City I was very relaxed and started putting things together. Below is what I …

Print the email addresses with status=”bounced” in postfix mail log

To print the email addresses with status “bounced” only from the provided log file, you can use grep to filter lines containing “status=bounced” and then use awk to extract the email addresses. Here’s how you can do it: Explanation: This series of commands will extract and print only the email addresses from lines with status …

How to use pflogsumm command to analyze postfix logs

To use the pflogsumm command to find general rejection reasons in your mail logs, you need to ensure that your mail server logs contain the necessary information about rejected or bounced emails. Once you have the logs, you can use pflogsumm to analyze them and generate a summary report that includes rejection reasons. Here’s how …

AWStats install and configure in RedHat RHEL

After brewing a great Latin America coffee from Peru I received an email from on of my clients. The client recently installed Apache on RedHat RHEL and wanted to install and configure AWStats in order to track their traffic. Personally, I don’t have much experience dealing with log files other than just using vim or …

smb_full_audit_connect: Samba Linux Failing connect

Another interesting error in Samba Linux I found the in logs of a clients Linux(RedHat 9.3) box: smb_full_audit_connect: Failing to connect A client contacted me about setting up shares in a Linux server, so Windows clients can connect. No AD lives in this environment, so I decided to setup a stand-alone Samba server. First, I …

4 ways to run Linux Commands in the Background

This is also another Linux command I tend to forget. I usually need to re-search how to run Linux commands in the background. This happens when I stop using the command line for a while. This time I’m going to write a brief Linux tutorial about this. First I need have brew a good cup …

Use the tar command to create/extract files in Linux

Sometimes I struggle to remember basic Linux commands. For example, how to create a tar.gz file in the command line is one of them. Also, how to extract the contents of a tar.gz file or view the contents or how to use my camera for street photography in Brooklyn. We need to use our friendly …

These ColdFusion components can only be accessed from localhost and other allowed IP addresses error

After installing ColdFusion 2023 on Red Hat Linux I got this error: “You tried to access the ColdFusion Administrator or other internal components from a disallowed IP address (70.x.x.x). These ColdFusion components can only be accessed from localhost and other allowed IP addresses.“ What my client wanted to do was to access the Admin portal …

How to Install ColdFusion 2023 on Red Hat Linux

Hola! strangely there are not many resources on how to install ColdFusion 2023 on Red Hat Linux out in the wild internet. Even on the Adobe support website there aren’t enough documentation resources specially for newbies that need to start working with ColdFusion. I know, there are still people out there using it. To be …