[Mailman-Users] Archives don't seem to be working
Phil Stracchino
alaric at babylon5.babcom.com
Fri May 25 21:34:32 CEST 2001
I seem to be having a problem with archiving for Mailman lists.
I have mailman 2.0.5 installed in /opt/mailman on a Slackware 7-based
Linux system running Postfix. I currently have one list, ba-b5, set up.
I have archiving turned on for the list, and the following set in
/opt/mailman/Mailman/mm_cfg.py:
DEFAULT_ARCHIVE_PRIVATE = 1
ARCHIVE_TO_MBOX = 0
According to the documentation, this should give me private-access
archives using only the web-based archiving mechanism.
When I set up my list, Mailman created an archive directory
/opt/mailman/archives/private/ba-b5.mbox for the list. However, the
archives page appeared to expect /opt/mailman/archives/private/ba-b5 - at
any rate, that's what it tried to access. I tried making
archives/private/ba-b5 a symlink to the existing
archives/private/ba-b5.mbox directory, but the archive page still wasn't
happy. After some further experimentation, I now have both
archives/private/ba-b5 and archives/private/ba-b5.mbox directories, both
with valid-looking contents except that index.html is zero bytes in
size. Each appears to have one message archived in it; the message in
ba-b5.mbox is a real message, the message in ba-b5 is a test message sent
a little later. I think Mailman is actually trying to use the ba-b5
directory, but is falling down when it comes to generating the index. I
also see that the database directories are empty -- should they be?
Here's the contents of /opt/mailman/archives/private:
babylon5:root:/opt/mailman:31 # ls -lR archives/private
archives/private:
total 8
drwxrwsr-x 4 mailman mailman 4096 May 25 12:08 ba-b5/
drwxrwsr-x 4 mailman mailman 4096 May 25 12:01 ba-b5.mbox/
archives/private/ba-b5:
total 12
drwxrwsr-x 2 mailman mailman 4096 May 25 12:07 2001-May/
-rw-rw-r-- 1 mailman mailman 537 May 25 12:07 2001-May.txt
drwxrws--- 2 mailman mailman 4096 May 25 12:07 database/
-rw-rw-r-- 1 mailman mailman 0 May 25 12:07 index.html
archives/private/ba-b5/2001-May:
total 20
-rw-rw-r-- 1 mailman mailman 1577 May 25 12:07 000000.html
-rw-rw-r-- 1 mailman mailman 1519 May 25 12:07 author.html
-rw-rw-r-- 1 mailman mailman 1523 May 25 12:07 date.html
lrwxrwxrwx 1 mailman mailman 11 May 25 12:07 index.html -> thread.html
-rw-rw-r-- 1 mailman mailman 1517 May 25 12:07 subject.html
-rw-rw-r-- 1 mailman mailman 1542 May 25 12:07 thread.html
archives/private/ba-b5/database:
total 0
archives/private/ba-b5.mbox:
total 12
drwxrwsr-x 2 mailman mailman 4096 May 25 12:01 2001-May/
-rw-rw-r-- 1 mailman mailman 2218 May 25 12:01 2001-May.txt
drwxrws--- 2 mailman mailman 4096 May 25 12:01 database/
-rw-rw-r-- 1 mailman mailman 0 May 25 12:01 index.html
archives/private/ba-b5.mbox/2001-May:
total 20
-rw-rw-r-- 1 mailman mailman 3432 May 25 12:01 000000.html
-rw-rw-r-- 1 mailman mailman 1524 May 25 12:01 author.html
-rw-rw-r-- 1 mailman mailman 1528 May 25 12:01 date.html
lrwxrwxrwx 1 mailman mailman 11 May 25 12:01 index.html -> thread.html
-rw-rw-r-- 1 mailman mailman 1522 May 25 12:01 subject.html
-rw-rw-r-- 1 mailman mailman 1547 May 25 12:01 thread.html
archives/private/ba-b5.mbox/database:
total 0
And here's the sum total of settings in mm_cfg.py:
DEFAULT_URL = 'http://www.babcom.com/mailman/'
DEFAULT_HOST_NAME = 'babcom.com'
DEFAULT_ARCHIVE = 0
DEFAULT_ARCHIVE_PRIVATE = 1
ARCHIVE_TO_MBOX = 0
SMTPHOST = 'smtp.babcom.com'
SMTPPORT = 25
DEFAULT_NNTP_HOST = 'isn'
USE_ENVELOPE_SENDER = 1
DEFAULT_MAX_NUM_RECIPIENTS = 5
DEFAULT_REPLY_GOES_TO_LIST = 1
DEFAULT_PRIVATE_ROSTER = 1
PENDING_REQUEST_LIFE = days(5)
DELIVERY_RETRY_PERIOD = days(5)
Can anyone offer me any pointers as to what may be wrong here and why my
archives aren't working? I'm guessing it has something to do with those
zero-length index.html files, but I don't know why they're not being
properly generated.
--
Linux Now! ..........Because friends don't let friends use Microsoft.
phil stracchino -- the renaissance man -- mystic zen biker geek
Vr00m: 2000 Honda CBR929RR -- Cage: 2000 Dodge Intrepid R/T
Previous vr00mage: 1986 VF500F (sold), 1991 VFR750F3 (foully murdered)
More information about the Mailman-Users
mailing list