Hello!
Mailman does not work with exim and python 1.5.2, probably because of the
esmtp support in python 1.5.2's smtplib. Following is a trace from exim.
Note that exim gets an ehlo and later a helo which resets it into smtp
from esmtp. Please forward this to the appropriate python forums :)
set_process_info: 15805 2.11 handling incoming connection from
localhost [127.0.0.1]
ready for new message
smtp_setup_msg entered
SMTP<< ehlo darmol.elte.hu
sender_fullhost = localhost (darmol.elte.hu) [127.0.0.1]
sender_rcvhost = localhost ([127.0.0.1] helo=darmol.elte.hu)
set_process_info: 15805 2.11 handling incoming connection from
localhost (darmol.elte.hu) [127.0.0.1]
250-darmol.elte.hu Hello localhost [127.0.0.1]
250-SIZE 2000000
250-PIPELINING
250 HELP
SMTP<< helo darmol.elte.hu
sender_fullhost = localhost (darmol.elte.hu) [127.0.0.1]
sender_rcvhost = localhost ([127.0.0.1] helo=darmol.elte.hu)
set_process_info: 15805 2.11 handling incoming connection from
localhost (darmol.elte.hu) [127.0.0.1]
250 darmol.elte.hu Hello localhost [127.0.0.1]
SMTP<< mail FROM:<teszt-admin(a)darmol.elte.hu> size=1335
LOG: 4 MAIN
SMTP syntax error in "mail FROM:<teszt-admin(a)darmol.elte.hu>
size=1335" H=localhost (darmol.elte.hu) [127.0.0.1]: malformed
address: size=1335 may not follow <teszt-admin(a)darmol.elte.hu>
501 <teszt-admin(a)darmol.elte.hu> size=1335: malformed address:
size=1335 may not follow <teszt-admin(a)darmol.elte.hu>
SMTP<< rset
250 Reset OK
421 darmol.elte.hu lost input connection
LOG: 4 MAIN
SMTP connection from localhost (darmol.elte.hu) [127.0.0.1] lost
child 15805 ended
--
Madarasz Gergely gorgo(a)caesar.elte.hu gorgo(a)linux.rulez.org
It's practically impossible to look at a penguin and feel angry.
Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
HuLUG: http://mlf.linux.rulez.org/
First of all, the bug I reported earlier happens if you access this URL:
http://host/mailman/admindb/ <-- note trailing slash
It tries to cause an "Invalid options to CGI script" error, but can't
because of the typo in Mailman/Cgi/admindb.py, line 77:
doc.AddItem(eader(2, "Invalid options to CGI script."))
where Header is misspelled. That fixed the crash. But I think that
this URL (admindb/) should work just like admindb without the slash --
it should say that you must specify a list.
-Brian Ryner
bryner(a)uiuc.edu
Hi-
This crash happened when going to http://host/mailman/admindb. I have
not been able to reproduce it since then. The error log is attached.
The system is running Slackware 3.5, with Python 1.5.1. Any suggestions
or patches?
Also, is there a way that I can turn off the extraneous debugging
information sent to the WWW client, and have it just be put in the log?
The fact that it dumps so much information about the system could be
seen as a security risk.
Thanks.
-Brian Ryner
bryner(a)uiuc.edu
Apr 29 22:33:41 1999 admin: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin: [----- Mailman Version: 1.0b11 -----]
admin: [----- Traceback ------]
admin: Traceback (innermost last):
admin: File "/admin/mailman/scripts/driver", line 112, in run_main
admin: main()
admin: File "/admin/mailman/Mailman/Cgi/admindb.py", line 77, in main
admin: doc.AddItem(eader(2, "Invalid options to CGI script."))
admin: NameError: eader
admin: [----- Environment Variables -----]
admin: DOCUMENT_ROOT: /files/admin/httpd/htdocs
admin: HTTP_ACCEPT_ENCODING: gzip, deflate
admin: SERVER_PORT: 80
admin: PATH_TRANSLATED: /files/admin/httpd/htdocs/
admin: URL_COUNT: 6
admin: GATEWAY_INTERFACE: CGI/1.1
admin: HTTP_ACCEPT_LANGUAGE: en-us
admin: HTTP_PROXY_CONNECTION: Keep-Alive
admin: REMOTE_ADDR: xxx.yyy.zzz.xxx
admin: SERVER_NAME: www.xxxxxxx.org
admin: URL_COUNT_DB: /files/admin/httpd/logs/counters/ALL
admin: HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)
admin: HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
admin: REQUEST_URI: /mailman/admindb/
admin: PATH: /usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin
admin: QUERY_STRING:
admin: SCRIPT_FILENAME: /files/admin/mailman/cgi-bin/admindb
admin: PATH_INFO: /
admin: HTTP_HOST: www.xxxxxxx.org
admin: REQUEST_METHOD: GET
admin: SERVER_SIGNATURE:
admin: URL_COUNT_RESET: Thursday, 29-Apr-99 00:19:13 CDT
admin: SCRIPT_NAME: /mailman/admindb
admin: SERVER_ADMIN: admin(a)xxxxxx.org
admin: SERVER_SOFTWARE: Apache/1.3.4 (Unix)
admin: PYTHONPATH: /admin/mailman
admin: SERVER_PROTOCOL: HTTP/1.0
admin: REMOTE_PORT: 6208