Sigh, here's one for the FAQ. I just laid 1.90 to bed today, so it
won't go in to the distribution.
In message <9405102139.AA18528@csrp.tamu.edu>, neils@csrp.tamu.edu writes:
> I don't get it: is the list archive a file or a directory?
> I chose directory and it doesn't work, though I'm not sure why.
> The relevant (?) majordomo.cf entry looks like:
The archive variables in majordomo.cf arent used to archive anything,
you have to use a seperate archive program, or a sendmail alias to do
the archiving. The info is used to generate a driectory where the
archive files are being placed by some other mechanism.
> $filedir = "/usr/local/mail/majordomo/archive";
> $filedir_suffix = "";
You are telling majordomo to look in the directory:
/usr/local/mail/majordomo/archive/<listname>
for files that it should allow to be gotten using the get command.
Listname would be tester in your example.
> while the aliases look like:
>
> #
> # test mailing list
> #
> tester: "|/usr/local/mail/majordomo/wrapper resend -p bulk -M 10000
> -l tester -f owner-tester -h csrp.tamu.edu -s
> tester-outgoing"
> owner-tester: tester-owner
> tester-owner: neils@csrp2.tamu.edu
> tester-request:"|/usr/local/mail/majordomo/wrapper request-answer tester"
> tester-outgoing: :include:/usr/local/mail/majordomo/lists/tester,
> tester-archive
> owner-tester-outgoing: tester-owner
> tester-archive: /usr/local/mail/majordomo/archive/tester
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When using a sendmail alias, the ^^^ section must be a file, usually
mode 666 because of the differing uid's that sendmail can run
under. However, you need something like:
/usr/local/mail/majordomo/archive/tester/archive
to be a file with mode 666 permissions instead of:
/usr/local/mail/majordomo/archive/tester
being a directory. Then when you do a majordomo
index tester
or a
get tester archive
majordomo will 'ls -lR' the directory
/usr/local/mail/majordomo/archive/tester
> [...]
> /usr/local/mail/majordomo/archive
> drwxrwsr-x 2 majordom Major 512 May 10 09:29 csrplist/
> drwxrwsr-x 2 majordom Major 512 May 10 10:43 tccslist/
> drwxrwsr-x 2 majordom Major 512 May 10 10:59 tester/
>
> So what's wrong with that? Why doesn't it archive the test messages
Because sendmail is (most likely) unable to write a 775 directory.
> I sent to the list "tester" -- the directory
> /usr/local/mail/majordomo/archive/tester
> is empty, and remains so.
That's because sendmail
a) can't write the directory as a file,
b) doesn't create any files.
You may want to wait until 1.90 is offically available it has three
different archive programs that run under wrapper, that do various
types of archiving. Or you can look at the majordomo-users ftp area on
ftp.greatcircle.com and get the archive program that exists there.
-- John
John Rouillard
Special Projects Volunteer University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
===============================================================================
My employers don't acknowledge my existence much less my opinions.
References:
|
|