27 Apr
1999
27 Apr
'99
9:35 p.m.
"Dragon" == The Dragon De Monsyne <dragondm@integral.org> writes:
| conn = smtplib.SMTP(mm_cfg.SMTPHOST)
| # Do the EHLO/HELO manually so we can check for DSN support
| if conn.ehlo() >= 400:
| conn.helo()
Dragon> change it to:
| conn = smtplib.SMTP(mm_cfg.SMTPHOST)
| # Do the EHLO/HELO manually so we can check for DSN support
| if conn.ehlo()[0] >= 400:
| conn.helo()
Thanks for the patch Dragon. I'm going to also copy Python 1.5.2's final smtplib.py file into Mailman/pythonlib and keep the module test hack in TrySMTPDelivery. What this means is that Mailman will probably be broken for Python 1.5.2 beta, but I don't think that's a huge loss. Comments?
-Barry