Convert squid timestamps Rumi, July 27, 2017 When you work with a squid access log file you sometimes want to know when a site or resource was accessed. Squid does not store the date and time information for that in a human readable format. It is stored as <unix timestamp>.<centisecond> so you can use a command like that to post-process to make it more readable for you: cat access.log | perl -p -e 's/^([0-9]*)/"[".localtime($1)."]"/e' Related Administrations Configurations (Linux) squid
Using DKIM to Authenticate Email Message March 25, 2013September 11, 2016 Domain Keys Identified Mail (DKIM) defines a domain-level authentication mechanism that lets your organization take responsibility for transmitting an email message in a way that can be verified by a recipient. Your organization can be the originating sending site or an intermediary. Your organization’s reputation is the basis for evaluating… Read More
Installing NTP Service and change timezone in CentOS 6 / CentOS 7 August 30, 2019 Let’s install NTP service first: yum install ntp Configure NTP services by updating the following section (only if appropriate): nano /etc/ntp.conf And by commenting on the sections: # Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org… Read More
Dovecot Setup using webmin July 10, 2008July 10, 2008 Step 1 Networking and Protocols In “Server mail protocols”- select IMAP and POP3 You can also select IMAP (SSL) and POP3 (SSL) if you plan to server through SSL Step 2 Mail Files I decided not to store mail in the default location which is /var/mail In my earlier postfix… Read More