Thanks Dave. I really appreciate your help. That solved my archive
problem. I tryed again to chmod the "lists" directory to 775, and I get the
following:
ABORT open of temp file /usr/local/majordomo/lists/shlock.7088 failed
Permission denied at /usr/local/majordomo/bin/majordomo.pl line 209.
554 "|/usr/local/majordomo/wrapper resend -l sample -h sdf.laafb.af.mil
sample-outgoing" . . . unknown mailer error 2
I am using majordomo 1.93 and BSDI 2.1
Thanks again
Bob Abend
----------
From: Dave Wolfe
To: ABENDRJ
Cc: majordomo-users
Subject: Re: Archive & Permissions Problems
Date: Thursday, August 29, 1996 11:50AM
[ Abend, Robert J, GS13 writes: ]
>
> I am having problems getting archive to work.
[...]
> 3. 554 "| /usr/local/majordomo/bin/wrapper archive2.pl -a -m -f
> /usr/local/majordomo/archive/sample" . . . unknown mailer error 2
>
> In the majordomo.cf file, I have the following:
>
> $filedir = "/usr/local/majordomo/archive/";
> $filedir_suffix = "";
>
> @archive_dirs = ("/usr/local/majordomo/archive/sample");
The -f option to resend specifies a *file* and the @archive_dirs
variable specifies a *directory*, but you've specified the same path for
*both*. Assuming the name of your list is "sample", the -f option should
be "/usr/local/majordomo/archive/sample/sample". Archive2.pl will then
create files named "/usr/local/majordomo/archive/sample/sample.YYMM".
FWIW, I always like to define @archive_dirs as:
@archive_dirs = < $filedir/*$filedir_suffix >;
> It also seems that I can only get resend to work when the "lists"
> directory has 777 permission.
Not 755 or 775? Remember that your MTA (sendmail?) has to have read/
search permissions to access the list files and that it runs as some
user other than your majordomo user in all probability. But if you
really have to have world write permissions, then you probably don't
have the majordomo user owning the lists directory. Or maybe you don't
have wrapper installed correctly such that Mj isn't running as the
majordomo user.
--
Dave Wolfe *Not a spokesman for Motorola*
Motorola MMTG 6501 Wm. Cannon Dr. W. OE112 Austin TX 78735-8598
Follow-Ups:
|
|