Re: [Mailman-Users] Uncaught Runner Exception

2010-04-18 Thread James Kemp

On 18/04/10 01:43, Mark Sapiro wrote:

Mark Sapiro wrote:


It appears that you (or someone) has installed the
Spamassassin.py/spamd.py custom handler from
<https://bugs.launchpad.net/mailman/+bug/557991>  and included it in
the GLOBAL_PIPELINE or a lists' pipeline.


Actually, on closer inspection, I think the most current
Spamassassin.py/spamd.py code is at
<https://bugs.launchpad.net/mailman/+bug/266588>.

I have added a patch to spamd in comment # 23 of the report which I
think will prevent shunting of the message when this exception occurs,
and just log a one-line error log entry instead.


Thanks for the help, especially on a Saturday evening!

Patch sorted it all out, getting one line logs for the spamassassin 
timeouts, but at least the legit messages are getting delivered.




--
James Kemp

my games at http://www.full-moon.info/

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Uncaught Runner Exception

2010-04-17 Thread James Kemp


I'm running mailman 2.1.13 on Ubuntu 9.10 out of the Ubuntu 
repositories. Mail server is postfix and I also have Apache and 
spamassassin on the same box, again all from the ubuntu repositories.


Over the last couple of weeks I've noticed that a number of legitimate 
e-mails have failed to be delivered. All of these have been shunted and 
an error like the one repeated below is written to the error log.


I've been through the mailman FAQ, the launchpad documentation and bugs 
for the ubuntu maintained package and googled a bit. I'm none the wiser 
about how to fix this problem.


2558 is the pid of the incoming runner,

Apr 17 21:22:28 2010 (2558) Uncaught runner exception: [Errno 104] 
Connection reset by peer

Apr 17 21:22:28 2010 (2558) Traceback (most recent call last):
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
self._onefile(msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in 
_dispose

more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in 
_dopipeline

sys.modules[modname].process(mlist, msg, msgdata)
  File "/var/lib/mailman/Mailman/Handlers/SpamAssassin.py", line 76, in 
process

score, symbols = check_message(mlist, str(msg))
  File "/var/lib/mailman/Mailman/Handlers/SpamAssassin.py", line 62, in 
check_message

res = connection.check(spamd.SYMBOLS, message)
  File "/var/lib/mailman/Mailman/Handlers/spamd.py", line 122, in check
response = fp.readline()
  File "/usr/lib/python2.6/socket.py", line 406, in readline
data = self._sock.recv(self._rbufsize)
error: [Errno 104] Connection reset by peer

Apr 17 21:22:28 2010 (2558) SHUNTING: 
1271535747.4608049+d7d9c4e9e3ba323d632e260659b522bcbd48eacd



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Linux Preferred?

2009-01-28 Thread James Kemp
Someone known as Tim Ferguson  scribed the following at 
09:07:02 on Tue, 27 Jan 2009, allegedly:
Is there a preferred flavor of Linux that Mailman seems to work and 
install the best with?  I'm trying Ubuntu, but the apt-get feature is 
getting hung up on trying to find the repositories and can't, so, until 
I get that fixed I just thought I'd ask.


I've got mine on Ubuntu (8.10, with postfix & apache). All from use of 
apt-get.


One thing I have noticed, shortly after upgrading to 8.10, was that my 
repositories stopped working properly and I needed to replace the 
contents of the file. If that's the case for you ubuntuforums will sort 
you out with all the info required.


--
James Kemp
see Alexander at http://www.ajkemp.org/gallery/
or my games at http://www.full-moon.info/
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9