Re: python/smtplib fails on rebuilt system

2009-03-19 Thread Frank Miles
[snip] Florian has written: Check if exim is really listening on port 25: # netstat -plant | grep ':25 ' tcp0 0 127.0.0.1:250.0.0.0:* LISTEN 3271/exim4 Try s=smtplib.SMTP('127.0.0.1') to see if the problem is related to resolving "local

Re: python/smtplib fails on rebuilt system

2009-03-19 Thread Florian Kulzer
On Tue, Mar 17, 2009 at 10:30:49 -0700, Frank Miles wrote: > 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 dire

python/smtplib fails on rebuilt system

2009-03-17 Thread Frank Miles
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: import smtplib s= smtpl