I tried to configure qmail on my server using the following guide
Qmailrocks updated : Debian qmail installation guide for version 5.0 (Lenny)
Testing my configuration gave some errors.
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HELO...