Wednesday, September 9, 2009

Qmail tweaks

I had to write this post a long time back, back then since when I was introduced to this mega sub system (Email subsystem - MTA). What a piece of code. Masterpiece! It is know for its stablility and robustness.

If you want to take a break at the normal stdio programming, look into this. Infact no standard string functions, everything is re-written. For example, the code does not include standard C headers like stdio.h, string.h, instead DJB has re-written for portability and stability. One would come across functions like str_str (similar to strstr).

Infact, today I had a chance to understand this piece of code responsible for remote mail delivery. It was a wonderful experience. No fopens, fwrites.. wow! Tangent programming hehe.