~wilunix/mailman/lmtp

« back to all changes in this revision

Viewing changes to mailman/queue/docs/lmtp.txt

  • Committer: William Mead
  • Date: 2008-07-17 15:00:11 UTC
  • Revision ID: wam22@quant.staff.uscs.susx.ac.uk-20080717150011-kd2o03gdktp6s688
rev7: Complete LMTP channel, Fully uses enhanced error codes, LHLO command is required before MAIL command

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
Let's start a testable LMTP queue runner.
12
12
Warning! this won't work if you have another queue runner running already
13
 
Warning! this won't work unless USE_LMTP = Yes in Defaults.py
14
13
        
15
14
    >>> from mailman.tests import helpers
16
15
    >>> master = helpers.TestableMaster()
19
18
It also helps to have a nice LMTP client.
20
19
 
21
20
    >>> lmtp = helpers.get_lmtp_client()
22
 
    (220, '... Python LMTP queue runner 1.0')
 
21
    (220, '2.0.0 ... Python LMTP queue runner 1.1')
23
22
    >>> lmtp.lhlo('remote.example.org')
24
23
    (250, ...)
25
24
 
43
42
    Traceback (most recent call last):
44
43
    ...
45
44
    SMTPRecipientsRefused: {'mylist@example.com': (550, '5.1.1 Bad destination mailbox address')}
46
 
 
 
45
    
47
46
Let's create a list.
48
47
 
49
48
    >>> from mailman.app.lifecycle import create_list