[Mailman-Developers] debug logging, long CC (Deliverer.py)

Peter Gervai grin@tolna.net
Sat, 19 Dec 1998 21:36:07 +0100


Barry,

On Sat, Dec 19, 1998 at 12:21:34AM -0500, Barry A. Warsaw wrote:
> 
> >>>>> "PG" == Peter Gervai <grin@tolna.net> writes:
> 
>     PG> This reminds me to the feeling when I first met mailman, when
>     PG> I thought: uhh, this program cannot log anything. I don't see
>     PG> what happens. There is some logfiles, but apart from the error
>     PG> log (which doesn't help always so well :)) there is no useful
>     PG> logfile. Is there a log for all processed messages for
>     PG> example? Especially the subscribe and confirmation messages?
>     PG> The bounces mailman processes, and other non-fatal errors?
> 
> Lots of stuff should be getting logged, but I can't remember what's in 
> 1.0b6 (Ken?).  You should see every post getting logged,
> subscribes/unsubscribes, digests, and of course errors. 

No, definitely I completely miss the logfile showing the posts.
Subscribes/unsubs get logged as well as errors, though error log
a bit hard to use because it doesn't show the variables failed.

> The error
> logging ought to be very helpful if you're trying to track down a
> Mailman bug (but there are none any of *those* right?! :-).  

Hehe, don't tell me, I'm that guy with the exim and the questions
about permissions nobody was able to answer, as well as error
messages being unfamiliar to anyone. :-)

>     PG> Maybe there is a possibility to have debug log but I didn't
>     PG> find it. It was especially sad when I put a larger list to
>     PG> mailman and found out that LOTS of mail did not get delivered,
>     PG> and there were NO sign anywhere in the logs that 1) delivery
>     PG> did not happen 2) why it did not happen.
> 
> You don't say what version of Mailman you're using.  There are a

Sorry, trying to be at the lastest released, this time 1.0b6.

I realized that I had a new logfile, namely smtp-failures. :-)
It shows at least the error message caused the delivery to fail. Nice. 

>     PG> The other question is the reason why it didnt: it was because
>     PG> mailman wanted to send a mail with a very long CC list, and
>     PG> because security reasons the CC's were maxed at 15, so
>     PG> delivery failed with 5xx error somewhere in the middle and
>     PG> mail got silently lost. Is there any settings to set how many
>     PG> CC's mailman will use at most? At least it should later be
>     PG> documented somewhere that mailman requires such limitations
>     PG> lifted.
> 
> Look in the Privacy Options.  There's an option that says "Ceiling on
> acceptable number of recipients for a posting".  This defaults to 10.

It's been 10 by default. Doesn't seem to matter at all.

> BTW, if this is really why the messages are not being delivered, they
> probably aren't just lost.  They get held for administrative approval
> for a period of time.  Check the pending messages for the list.

Of course I regularly check the waiting messages as I'm the owner as well
but there were none waiting, obviosuly. The message got delivered to the
small batch (outside users, 3 cc) and lost for the big one (local
users, 20-50 cc)...

thank you,
grin