~wilunix/mailman/lmtp

« back to all changes in this revision

Viewing changes to mailman/queue/lmtp.py

  • Committer: William Mead
  • Date: 2008-07-22 14:35:11 UTC
  • Revision ID: wam22@quant.staff.uscs.susx.ac.uk-20080722143511-9888qo5f93cvfgen
rev9: Added PIPELINING supported message at LHLO

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
from mailman.queue import Runner, Switchboard
51
51
from mailman.pipeline.moderate import matches_p
52
52
 
 
53
 
53
54
elog = logging.getLogger('mailman.error')
54
55
qlog = logging.getLogger('mailman.qrunner')
55
56
 
164
165
        else:
165
166
            self.LHLO = True
166
167
            self._greeting = arg
 
168
            # If there is a multiline response 
167
169
            # Don't forget '-' after the status code on each line 
168
 
            # except for the last line, if there is a multiline response 
 
170
            # except for the last line, 
169
171
            self.push('250-%s' % self._fqdn)
170
 
            # Use following line when Pipelining is supported
171
 
            #self.push('250-PIPELINING')
 
172
            # PIPELINING is supported
 
173
            self.push('250-PIPELINING')
 
174
            # ENHANCEDSTATUSCODES are supported
172
175
            self.push('250 ENHANCEDSTATUSCODES')
173
176
 
174
177
    def smtp_MAIL(self, arg):