Re: smtplib problem with newly rebuilt Debian/lenny system

2009-03-30 Thread cassiope
On Mar 27, 11:29 am, a...@pythoncraft.com (Aahz) wrote: > [posted & e-mailed, please respond to newsgroup] > > In article , > > > > cassiope   wrote: > > >In attempting to diagnose the cause, I tried directly executing the > >lines inside the python2.5 interpreter: > > >        import  smtplib > >

Re: smtplib problem with newly rebuilt Debian/lenny system

2009-03-30 Thread BJ Swope
try s=smtplib.SMTP('127.0.0.1') instead. I'm guessing that it's trying to bind to the IPv6 or some other non IPv4 localhost instance. On Wed, Mar 18, 2009 at 11:25 AM, cassiope wrote: > A hard drive failure forced me to rebuild my main system. Just a few > things haven't been restored; one o

Re: smtplib problem with newly rebuilt Debian/lenny system

2009-03-27 Thread Aahz
[posted & e-mailed, please respond to newsgroup] In article , cassiope wrote: > >In attempting to diagnose the cause, I tried directly executing the >lines inside the python2.5 interpreter: > >import smtplib >s= smtplib.SMTP('localhost') > >but the second line causes a tracebac

smtplib problem with newly rebuilt Debian/lenny system

2009-03-18 Thread cassiope
A hard drive failure forced me to rebuild my main system. Just a few things haven't been restored; one of them is a python script which is used to email users of important events. In attempting to diagnose the cause, I tried directly executing the lines inside the python2.5 interpreter: