[Python-talk] Troubleshooting smtp(?)

Curtis Sandoval curtis.sandoval at gmail.com
Wed Apr 15 01:16:39 EDT 2009


I actually did try the python interpreter, just after running the scripts
from the console to look for errors, and it all reports back fine.  The
scripts log their start and stop and errors, and that looks fine.  I'll look
at the mail queues now and the logs, and try the debug level thing to see if
that tells me anything.  I'll report what I find.

2009/4/14 Kent Johnson <kent37 at tds.net>

> On Tue, Apr 14, 2009 at 8:43 PM, Curtis Sandoval
> <curtis.sandoval at gmail.com> wrote:
> > All,
> >
> > I've run into an odd problem.  I've been running python (2.5) scripts on
> a
> > Linux box (Suse 10.2) for probably two years through cron.  These scripts
> > email me using python's smtplib and the sample code from the Python
> > documentation, and nothing has been changed on the o/s or the python or
> the
> > Linksys wireless router that is hooked into my Roadrunner cable
> modem. (The
> > machine itself runs with no monitor, I only shell into it and manage the
> > scripts) On Monday I didn't get all of my expected messages, and I have
> > ruled out nearly everything.  Roadrunner says it's my problem, but I
> > suspected it was some sort of Conficker countermeasure.
>
> If you call set_debuglevel(1) on the SMTP object in your script, it
> will log the interaction with the SMTP server to stderr. Capture that
> to a file and you may get some clues.
>
> You could also try the code from a Python console session and see what
> is happening.
>
> Kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20090415/33200ec7/attachment.html 


More information about the gnhlug-discuss mailing list