TEST.receive
changeset 0 068428edee47
equal deleted inserted replaced
-1:000000000000 0:068428edee47
       
     1 You can do several tests of messages entering the qmail system:
       
     2 
       
     3 1. SMTP server test: Forge some mail locally via SMTP. Replace ``me''
       
     4    with your username and ``domain'' with your host's name.
       
     5        % telnet 127.0.0.1 25
       
     6        Trying 127.0.0.1...
       
     7        Connected to 127.0.0.1.
       
     8        Escape character is '^]'.
       
     9        220 domain ESMTP
       
    10        helo dude
       
    11        250 domain
       
    12        mail <me@domain>
       
    13        250 ok
       
    14        rcpt <me@domain>
       
    15        250 ok
       
    16        data
       
    17        354 go ahead
       
    18        Subject: testing
       
    19        
       
    20        This is a test.
       
    21        .
       
    22        250 ok 812345679 qp 12345
       
    23        quit
       
    24        221 domain
       
    25        Connection closed by foreign host.
       
    26        %
       
    27    Look for the message in your mailbox. (Note for programmers: Most
       
    28    SMTP servers need more text after MAIL and RCPT. See RFC 821.)
       
    29 
       
    30 2. Remote-local test: Send yourself some mail from another machine.
       
    31    Look for the message in your mailbox.
       
    32 
       
    33 3. Remote-error test: Send some mail from another machine to
       
    34    nonexistent@domain. Look for a bounce message in the remote mailbox.
       
    35 
       
    36 4. UA test: Try sending mail, first to a local account, then to a
       
    37    remote account, with your normal user agent.
       
    38 
       
    39 5. Remote-postmaster test: Send mail from another machine to
       
    40    PoStMaStEr@domain. Look for the message in the alias mailbox,
       
    41    normally ~alias/Mailbox.