Made the changes and tried another unshunt.  No luck.  Same exact error pops
up.  I've contacted the author but I haven't heard anything back yet.  In
the mean-time, you wouldn't happen to have any other ideas?

-Jeff

On Dec 3, 2007 8:38 PM, Mark Sapiro <[EMAIL PROTECTED]> wrote:

> Jeffrey Hugo wrote:
> >
> >I don't suppose there is a patch for the patch?  That would be too easy.
>
>
> You could try contacting the author via sourceforge
> < https://sourceforge.net/users/jhenstridge/>.
>
> You could find the code in Mailman/Handlers/spamd.py around line 122
> that says:
>
>        try:
>            sock.send(request)
>            sock.send(message)
>            sock.shutdown(1) # shut down the send half of the socket
>        except (socket.error, IOError):
>            raise error('could not send request to spamd')
>
>        fp = sock.makefile('rb')
>        response = fp.readline()
>        words = response.split(None, 2)
>
>
> And change it to:
>
>        try:
>            sock.send(request)
>            sock.send(message)
>            sock.shutdown (1) # shut down the send half of the socket
>        except (socket.error, IOError):
>            raise error('could not send request to spamd')
>
>        try:
>            fp = sock.makefile('rb')
>            response = fp.readline()
>        except (socket.error, IOError):
>            raise error('could not read reply from spamd')
>
>        words = response.split(None, 2)
>
>
> If I read the code correctly, this will have the effect of logging the
> error in Mailman's error log and giving the message a spamassassin
> score of -1.
>
>
> >It looks like after running unshunt, the same thing happens.  I do not
> see
> >anything that appears to be a pattern among the shunted messages.  Are
> there
> >any suggestions as to how I might fix this?  I am not too familiar with
> the
> >Mailman set up on this machine, but I would like to get it fixed.
>
>
> If it occurs reliably with these messages, it seems it is an issue with
> the message content, but I have no idea what.
>
>
> --
> Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
>
>
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to