Skip to main content

The Final Frontier: Hacking Sendmail

posted onNovember 22, 2004
by hitbsecnews

Common wisdom on Linux has it that recompiling the Linux kernel is the meanest test of a system administrator's skills. While it's true that messing with kernel modules isn't trivial, there's a higher peak: hacking sendmail's configuration file. This tip shows you how to ruin your mail system with ease.

Sendmail, that crusty and ancient (but also bulletproof) mail program, relies on the /etc/sendmail.cf file. These days, that file is usually generated using a heap of macros, much as a piece of assembly code can be entirely coded in macros. You can, however, hack sendmail.cf by hand, as long as you bear all the consequences. In the end it's still a plain text file.

Standard wisdom says: "You can understand sendmail.cf if you spend enough time on it, but that time will probably not be well spent." Well, fair enough, but today's an idle day, so let's have a look anyway.

Source

Tags

Linux

You May Also Like

Recent News

Friday, November 29th

Tuesday, November 19th

Friday, November 8th

Friday, November 1st

Tuesday, July 9th

Wednesday, July 3rd

Friday, June 28th

Thursday, June 27th

Thursday, June 13th

Wednesday, June 12th

Tuesday, June 11th