Command-Line IMAP: Unlocking the Magic of Email Protocols

2025-03-31
Command-Line IMAP: Unlocking the Magic of Email Protocols

This blog post dives deep into the underlying mechanics of the IMAP email protocol. Using telnet and OpenSSL, the author demonstrates how to directly connect to a mail server, perform login, list folders, search for emails, and read email content. The article details the structure and usage of IMAP commands and emphasizes the importance of secure connections. This is a fascinating read for anyone interested in network protocols or the inner workings of email systems.

Read more
Development email protocol

Hello World: Minimized to 167 Bytes

2025-01-02
Hello World: Minimized to 167 Bytes

This article documents the author's journey to create the smallest possible 'Hello World' program. Initially using Rust, the author discovered that minimizing the binary size required a deep dive into low-level programming. Ultimately, assembly language was chosen, and through clever techniques such as removing debugging symbols and manually crafting the ELF header, a 64-bit Linux 'Hello World' program was reduced to an impressive 167 bytes! The article delves into the file size expansion during the linking process and the details of the ELF file format, making it highly valuable for low-level system developers.

Read more
Development minimal program