[Mailman-Users] Can't send messages to list
szybalski at gmail.com
Fri Nov 3 20:01:58 CET 2006
> Lukasz Szybalski wrote:
> >That is the file i patched SMTPDirect.py
> > 57 class Connection:
> > 58 def __init__(self):
> > 59 self.__conn = None
> > 60
> > 61 def __connect(self):
> > 62 self.__conn = smtplib.SMTP()
> > 63 self.__conn.set_debuglevel(1)
> > 64 self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
> > 65 self.__numsessions=mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION
> >Is there a way to manually get the debug info from smtplib
> >(conversation with postfix) within this file?
After placing a bug report in debian, i have been given two files to
make debug information work.
"replacements for /usr/lib/python2.3/smtplib.py
and /usr/lib/mailman/Mailman/Logging/Utils.py that will enable
smtplib-debugging to work (you still have to patch SMTPDirect.py) "
I went in and renamed smtplib.py to smtplib.py.1
put the new file in and deleted smtplib.pyc ad smtplib.pyo
Then renamed /usr/lib/mailman/Mailman/Logging/Utils.py to Utils.py.1
(make sure its this one...there is at least 5 files called Utils.py)
put the new file in and deleted Utils.pyc and Utils.pyo
tail -f /var/log/mailman/error
while i was watching this i sent an emial to my testing group, etc.
Long story short. I replaced these files, removed pyc and pyo and
suddenly everything works like magic again. No more timeouts.
I'll try to get originals back in place and see how that works. I'll
keep you posted.
You can get the files from....
> And, why they stop is what we're trying to figure out, and I can't tell
> you any more than I already have without additional information.
> Mark Sapiro <msapiro at value.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users