ESMTP TEST PLAN (QMail Modifications)

Team : Messaging

Release : V1

Component : QMail

Version : $Id: esmtpTestPlan.html,v 1.1 2000/07/07 14:30:47 serge Exp $

Serge Chevarie-Pelletier
Zero-Knowledge Systems Inc
Internal Documentation


Description

The ESMTP authenticates nyms to the mail system for sending email. This provides a way of knowing we are prossessing a nym's email. It also check that the enveloppe sender is the same as the authenticated nym. Also, the domain of the sending nym is matched against the freedom domain and throws out anything not in the valid domain.

Pre-Requisites and Installation

The qmail stock install has to be patched with the smtp-auth-zk.patch to enabled the esmtp authentication. Checkpasswd has to be install on the same system to enable the authentication of the sending nyms. Path to the freedom bin directory to run utilities

Test Cases

Name of Tester:
TCO Item Test Cases Est. Time Actual time Pass/Fail Comments
EHLO response Telnet to machine on port 25. Type "EHLO". Should get 250-hostname 250-AUTH=LOGIN 250-AUTH LOGIN 250-PIPELINING 250 8BITMIME .5 hr
Qmail ESMTP authentication Nym is authenticated by checkpasswd. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". .5 hr
Nym without right cert does not authenticate. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". Type some garbage.. Should get "535 auth failure" .5 hr
Enveloppe sender is same as authenticated nym. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym@freedom.net>". Response is ok. Type in "rcpt to:<foo@mail.com>". Should get ok. .5 hr
Enveloppe sender that is not the same should not be allowed to send. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym1@freedom.net>". Response is should be "553 sorry, the enveloppe sender is not the same user as authenticated one (#5.7.1)" .5 hr
Domain of enveloppe sender is same as freedom network domain. Enveloppe sender has same domain as freedom network. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym@freedom.net>". Response is ok. Type "rcpt to:<foo@mail.com>. Response is ok. .5 hr
Enveloppe sender does not have same domain as freedom network. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym@foo.com>". Response is ok. Type "rcpt to:<foo@mail.com>. Response is ""553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)". .5 hr
Nym and Internet recipient are not mixed. Only one nym is accepted by the system. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym@freedom.net>". Response is ok. Type "rcpt to:<foo@freedom.net>. Response is ok. Type "rcpt to:<foo1@freedom.net>. Response is "553 sorry, can't send to a nym and another recipient (#5.7.1)". .5 hr
When sending to nym, no internet recipient are accepted for the message.. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym@freedom.net>". Response is ok. Type "rcpt to:<foo@freedom.net>. Response is ok. Type "rcpt to:<foo1@foo.com>. Response is "553 sorry, can't send to a nym and another recipient (#5.7.1)". .5 hr
When sending to internet, no nym recipient are accepted for the message. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym@freedom.net>". Response is ok. Type "rcpt to:<foo@mail.com>. Response is ok. Type "rcpt to:<foo@freedom.com>. Response is "553 sorry, can't send to a nym and another recipient (#5.7.1)". .5 hr
When sending to internet, no nym recipient are accepted for the message, but other internet recipients are. Telnet to machine on port 25. Type "ehlo localhost". Should get "250-auth login" among the response. Type "auth login bnlt". In another terminal, get a password from genpasswd by typing "genpasswd nym". Paste result into first terminal. Should get "235 go ahead". Type "mail from:<nym@freedom.net>". Response is ok. Type "rcpt to:<foo@mail.com>. Response is ok. Type "rcpt to:<foo@freedom.com>. Response is "553 sorry, can't send to a nym and another recipient (#5.7.1)". Type "rcpt to:<foo1@mail.com>. Response is ok. .5 hr


This document was generated on 7 July 2000 using texi2html 1.56k.