How to add bulk IP addresses to DigitalOcean firewall ?

Trying to add bulk IP’s in DigitalOcean firewall? You are in the right place. DigitalOcean cloud control panel UI doesn’t allow you to paste in multiple IP Addresses at once. That’s a good idea for a UI improvement. In the meantime you can definitely do it via the API… Use the following shell script. It uses json for POST data, so update TOKEN, FIREWALL NAME, IP addresses, ports… and then run the script...

July 15, 2020 · 1 min · 206 words · Akhil Jalagam

How to renew the SSL certificates for dovecot and postfix

Make a backup of the existing SSL key and certificate file cd /etc/pki/dovecot cp -a certs/dovecot.pem certs/dovecot.pem.old cp -a private/dovecot.pem private/dovecot.pem.old Create the new SSL certificate for two years: openssl genrsa -out private/dovecot.pem 1024 openssl req -new -x509 -key private/dovecot.pem -out certs/dovecot.pem -days 730 Restart Dovecot and Postfix sudo systemctl restart dovecot sudo systemctl restart postfix Check the start and end dates for the certificate: openssl x509 -dates -in certs/dovecot.pem

April 10, 2020 · 1 min · 70 words · Akhil Jalagam

How to display brightness level in i3status bar

I’ve been using Linux for a long time, but I was never entirely happy with the desktop environment options available. Until last year, Xfce was the closest to what I consider a good compromise between features and performance. Then I found i3, an amazing piece of software that changed my life. i3 is a tiling window manager. The goal of a window manager is to control the appearance and placement of windows in a windowing system....

November 26, 2019 · 3 min · 449 words · Akhil Jalagam

What is DevOps?

1. Definition from Wikipedia: DevOps (a clipped compound of “development” and “operations”) is a set of software development practices[failed verification] that combines software development (Dev) with information technology operations (Ops) to shorten the systems development life cycle while delivering features, fixes, and updates frequently in close alignment with business objectives. 2. Definition from Webopedia DevOps (development and operations) is an enterprise software development phrase used to mean a type of agile relationship between development and IT operations....

November 2, 2019 · 2 min · 399 words · Akhil Jalagam

Still Confused With Mail Ports?

This article explains the most commonly used Email protocols on the internet – POP3, IMAP, and SMTP SMTP 25, 2525 SMTP-SSL/TLS 587,465 IMAP 143 IMAP-SSL/TLS 993 POP3 110 POP3-SSL/TLS 995 587 vs. 465 These port assignments are specified by the Internet Assigned Numbers Authority (IANA): Port 587: [SMTP] Message submission (SMTP-MSA), a service that accepts submission of email from email clients (MUAs). Described in RFC 6409. Port 465: URL Rendezvous Directory for SSM (entirely unrelated to email)...

October 26, 2019 · 1 min · 157 words · Akhil Jalagam