The 7 Log Management Tools Java Developers Should Know

http://blog.takipi.com/the-7-log-management-tools-you-need-to-know/ Splunk vs. Sumo Logic vs. LogStash vs. GrayLog vs. Loggly vs. PaperTrails vs. Splunk>Storm Splunk, Sumo Logic, LogStash, GrayLog, Loggly, PaperTrails – did I miss someone? I’m pretty sure I did. Logs are like fossil fuels – we’ve been wanting to get rid of them for the past 20 years, but we’re not quite there […]

Quickly indent multiple lines in vi/vim

https://www.zulius.com/how-to/quickly-indent-multiple-lines-vi-vim/ Indenting lines of programming code is essential for readability. Indenting multiple lines at once is a feature that any useful code editing software should have. As a programmer, I went far too long not knowing how to do this with vim (one of my favorite editors). It’s so easy, even Mike Tyson could do […]

Postfix — the Sendmail Replacement

http://www.akadia.com/services/postfix_mta.html Architecture Some mail systems such as Sendmail are implemented as one large monolithic program that does everything. One large program certainly makes it easy to share data between different parts of the system. Unfortunately, one large program also makes it easy to make fatal mistakes. Postfix is based on semi-resident, mutually-cooperating, processes that perform […]

Setup Postfix with a remote SMTP relay host

https://www.zulius.com/how-to/set-up-postfix-with-a-remote-smtp-relay-host/ Sending outgoing email thru a 3rd party SMTP relay service is a quick and easy alternative to setting up a full fledged local email server. Google Apps/Gmail, Yahoo, and many ISPs provide SMTP relaying for free. This guide will cover configuring Postfix on a CentOS server to relay outgoing email to a 3rd party. […]

Better Use of Office 365 as a Smart Host with Postfix

http://secopsmonkey.com/better-mail-relaying-postfix-through-office-365.html A while ago I wrote a post on how I managed to get my systems integrated with Office365 to send email notifications. At the time the method I used worked well enough but it was annoying. Every system had to log in individually which meant the username and password had to be distributed to […]

Postfix Configure Multiple ISP Client SMTP Authentication

http://www.cyberciti.biz/faq/postfix-multiple-isp-accounts-smarthost-smtp-client/ How do I support multiple ISP accounts (smarthost) in the Postfix SMTP client for relaying email? For example: [a] user1@isp1.com must be relay via smtp.isp1.com. [b] user1@isp2.com must be relay via smtp.isp2.com. [c] me@mycorp.com must relay all my default email via smtp.mycorp.com. Only Postfix version v2.3+ supports multiple ISP accounts via sender-dependent override for […]

25, 465, 587… What port should I use?

http://blog.mailgun.com/25-465-587-what-port-should-i-use/ It’s a common question that we receive here at Mailgun. To ensure connectivity to our Simple Mail Transfer Protocol (SMTP) endpoint, Mailgun offers multiple port options, but which one should you use? Let’s first take a historical look at each port and then we’ll discuss today’s methodology for usage. If you’re not a history […]

Redirect all ServerAlias to ServerName on apache2 conf

#vi “/etc/apache2/sites-available/www2.cadena-hrmseries.com.conf” <VirtualHost *:80> ServerAdmin  webmaster@cadena-it.com ServerName  www2.cadena-hrmseries.com ServerAlias www.cadena-hrmseries.com ServerAlias cadena-hrmseries.com ServerAlias cadena-it.com ServerAlias www.cadena-it.com         UseCanonicalName Off RewriteEngine On RewriteCond %{HTTP_HOST}  !^www2.cadena-hrmseries.com [nocase] RewriteRule ^(.*)$        http://www2.cadena-hrmseries.com$1 [last,redirect=301] Include /etc/apache2/included/www2.cadena-hrmseries.com.conf </VirtualHost>

How do I Compress a Whole Linux or UNIX Directory?

http://www.cyberciti.biz/faq/how-do-i-compress-a-whole-linux-or-unix-directory/ Q. How can I compress a whole directory under Linux / UNIX using a shell prompt? A. It is very easy to compress a Whole Linux/UNIX directory. It is useful to backup files, email all files, or even to send software you have created to friends. Technically, it is called as a compressed archive. […]