[Mailman-Users] Approved message is discarded

Mark Sapiro mark at msapiro.net
Sat Oct 30 06:02:33 CEST 2010


On 10/29/2010 8:11 AM, André van Kan wrote:
> Hi Larry,
> 
> Although we have the same problem, ours is even weird in
> some aspects. I made an test-list - groep3 - with two members.
> If mail is send by a non-member, all messages are discarded
> after approval:
> 
> Oct 29 15:59:09 2010 (20460) groep3: Discarded posting:
>         From: acvankan at gmail.com
>         Subject: test after restart
> Oct 29 16:04:30 2010 (21937) groep3: Discarded posting:
>         From: acvankan at gmail.com
>         Subject: last one


Please post to the list, not to me personally.

However, the above messages, presumably from Mailman's vette log, come
from two different PIDs. Thus, I'm guessing that you are approving these
messages via the admindb web interface, and something is going wrong in
that process resulting in the message being discarded by the admindb CGI
itself.


> BUT if messages are sent by senders as mentioned in [Sender Filters] /
> "List of non-member addresses whose postings should be automatically accepted"
> THEN messages are delivered (of course without the necessity of approval).
> 
> Since the vette-contents is rather concise, I editted
> IncomingRunner.py'sErrors.DiscardMessage as follows, according
> a earlier posting about this subject:
>     syslog('vette', 'Message discarded, msgid: %s, handler: %s',
>             msg.get('message-id', 'n/a'), handler)
> but to no avail. Nothing changes in the output-format.


Because the message is not discarded by IncomingRunner. It is discarded
by the HandleRequest method in Mailman/ListAdmin.py called from
Mailman/Cgi/admindb.py.


> Since all our lists suffer the same problem, a generic
> configuration error may be assumed, but I've no idea
> how to fix it. Any hint would be gratly appreciated.


Have you modified admindb.py in any way?

Does the web admin interface work?

What Mailman version is this?

How exactly are you approving messages?

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list