At 4:23 PM -0400 2004-07-04, Bruce Embrey wrote:

 I just upgraded Mailman from 2.1.1 to 2.1.5 through rpm. I checked
 the /var/mailman/logs directory and it is empty. I have been running
 Mailman for several months on this particular server so I would have
 expected to see something in there. How do I enable logging for
 Mailman? What types of things will it be logging?

Are you sure that the new version is configured to log data to the same filesystem/directory path?


The Mailman default location for this stuff is in /usr/local/mailman/logs, not /var/mailman/logs. So this is something that you'd need to confirm from your provider of binary packages.


On a server I've had running for a while, I have the following in /usr/local/mailman/logs:


% ls -la
total 154
drwxrwsr-x   2 root     mailman    512 May  6 23:22 .
drwxrwsr-x  20 mailman  mailman    512 Jun 28 14:57 ..
-rw-rw-r--   1 mailman  mailman   2719 Jun 24 18:56 bounce
-rw-rw-r--   1 mailman  mailman  17922 Jun 29 03:58 error
-rw-rw-r--   1 mailman  mailman   1197 May  6 18:05 fromusenet
-rw-rw-r--   1 mailman  mailman  19231 Jul  1 11:49 post
-rw-rw-r--   1 mailman  mailman  11262 Jun 29 03:59 qrunner
-rw-rw-r--   1 mailman  mailman  65371 Jul  1 11:49 smtp
-rw-rw-r--   1 mailman  mailman   4562 Jun 16 14:52 subscribe
-rw-rw-r--   1 mailman  mailman  23592 Jun 29 04:00 vette

        The "bounce" log has things like this:

% tail bounce
May 26 04:41:35 2004 (40406) Processing 1 queued bounces
May 31 06:31:54 2004 (40406) Processing 1 queued bounces
Jun 07 17:04:56 2004 (40406) Processing 1 queued bounces
Jun 07 17:19:57 2004 (40406) Processing 1 queued bounces
Jun 07 17:19:57 2004 (40406) XXXXXXXXX: [EMAIL PROTECTED] bounce score: 1.0
Jun 07 17:42:16 2004 (40406) Processing 1 queued bounces
Jun 07 17:42:16 2004 (40406) XXXXXXXXX: [EMAIL PROTECTED] already scored a bounce for date 07-Jun-2004
Jun 24 18:19:15 2004 (40406) Processing 1 queued bounces
Jun 24 18:19:15 2004 (40406) XXXXXXXXX: [EMAIL PROTECTED] bounce score: 1.0
Jun 24 18:56:07 2004 (40406) Processing 1 queued bounces


        The "error" log has things like this:

% tail error
admin(88017): CONTENT_TYPE: application/x-www-form-urlencoded
admin(88017): HTTP_ACCEPT_ENCODING: gzip,deflate
admin(88017): UNIQUE_ID: [EMAIL PROTECTED]
admin(88017): PATH_INFO: /announce
May 06 17:30:53 2004 (88100) (NNTPDirect) socket error for list "test": (7, 'No address associated with hostname')
May 21 12:33:53 2004 (76735) No such list "XXXXXX":
May 21 12:34:01 2004 (76736) No such list "YYYYYY":
Jun 29 03:58:46 2004 mailmanctl(28975): No child with pid: 40404
Jun 29 03:58:46 2004 mailmanctl(28975): [Errno 3] No such process
Jun 29 03:58:46 2004 mailmanctl(28975): Stale pid file removed.


        The "fromusenet" log looks like:

tail fromusenet
May 07 00:55:00 2004 (56997) error opening connection to nntp_host: XXXX.YYY.ZZZ
(7, 'No address associated with hostname')
May 07 01:00:01 2004 (57066) test: [474531..475305]
May 07 01:00:01 2004 (57066) test caught up to article 475305
May 07 01:00:01 2004 (57066) test watermark: 475305
May 07 01:05:01 2004 (57107) test: [474531..475307]
May 07 01:05:01 2004 (57107) gating test articles [475306..475307]
May 07 01:05:01 2004 (57107) posted to list test: 475306
May 07 01:05:01 2004 (57107) posted to list test: 475307
May 07 01:05:01 2004 (57107) test watermark: 475307


        The "qrunner" log has things like:

% tail qrunner
Jun 28 14:53:27 2004 (40404) Master qrunner detected subprocess exit
(pid: 40405, sig: None, sts: 15, class: ArchRunner, slice: 1/1)
Jun 29 03:58:54 2004 (28980) CommandRunner qrunner started.
Jun 29 03:58:54 2004 (28981) IncomingRunner qrunner started.
Jun 29 03:58:54 2004 (28978) ArchRunner qrunner started.
Jun 29 03:58:54 2004 (28985) RetryRunner qrunner started.
Jun 29 03:58:54 2004 (28979) BounceRunner qrunner started.
Jun 29 03:58:54 2004 (28983) OutgoingRunner qrunner started.
Jun 29 03:58:54 2004 (28984) VirginRunner qrunner started.
Jun 29 03:58:54 2004 (28982) NewsRunner qrunner started.


The "post", "smtp", and "vette" logs will show things like message-ids, which can be linked to logs from your MTA, so that you can see mail flowing into the server and then back out again, etc....


--
Brad Knowles, <[EMAIL PROTECTED]>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
    -Benjamin Franklin, Historical Review of Pennsylvania.

  SAGE member since 1995.  See <http://www.sage.org/> for more info.

------------------------------------------------------
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/

Reply via email to