Arghh!
I am posting this to the Big-Libux and Majordomo Mailing lists as I am
having some distinct and as yet untraceable problems with Majordomo on
Linux 1.2.5/Majordomo 1.93 (retrieved directly from Greatcircle.com).
----------------------------------------------------------------------
Everything works fine on my Majordomo installation, EXCEPT archiving.
I am obviously missing something. I am still getting the same error
messages as I previously reported. It was suggested that I try a "by
hand" archive command from the prompt (as user majordom) as follows...
echo help |/usr/local/majordomo/wrapper archive -f
/usr/local/majordomo/archives/is_discuss/is_discuss -m -a
This gives me the following error
archive: No such file or directory
well, I certainly have an "archives" subdirectory...
drwxrwxrwx 4 majordom majordom 1024 Jun 26 17:32 archives
so it would seem that majordomo is not finding the archive program.
I have even tried creating a link from ~/Tools/archive2.pl to archive and
archive.pl, but I still got the same error.
So, I tried...
echo help |/usr/local/majordomo/wrapper /usr/local/majordomo/Tools/archive2.pl
-f /usr/local/majordomo/archives/is_discuss/is_discuss -m -a
And I get...
/usr/local/majordomo/wrapper: error: insecure usage
So, it would appear that I have a problem with path names or a
configuration option somewhere. Especially as when I edit the
/etc/aliases file and put in the full path to archive2.pl (as above), I get
(again) the error message from majordomo...
----- The following addresses had delivery problems -----
"|/usr/local/majordomo/wrapper /usr/local/majordomo/Tools/archive2.pl -f
/usr/local/majordomo/archives/is_discuss/is_discuss -m -a" (unrecoverable
error)
(expanded from: is_discuss-archive)
----- Transcript of session follows -----
/usr/local/majordomo/wrapper: error: insecure usage
554 "|/usr/local/majordomo/wrapper /usr/local/majordomo/Tools/archive2.pl -f
/usr/local/majordomo/archives/is_discuss/is_discuss -m -a"... unknown mailer
error 2
One interesting facet of all of this is that nothing about this seems to
be going into the majordomo Log...
Now, as installed, (according to the O'Reilly book) MD1.93 will use the
archive2.pl script. It would seem that the wrapper is not finding this. I
have looked in wrapper.c, majordomo.cf and the Makefile for reference to
"archive" and am still at a loss.
Now, in the majordomo.cf file, I found the following section....
# the safe locations for archive directories. This should be defined as
# a series of root anchored directory paths as will be used as prefixes
# to the file names specified to the archive2.pl script.
#@archive_dirs = ( "/spool/archive/bblisa", "/usr/spool/archive/firewalls" );
@archive_dirs= ( "/usr/local/majordomo/archives/is_discuss");
Unfortunately, I can't find any reference to this setting in the faq,
O'Reilly book or documentation in the 1.93 tar file. Accordingly I have set
this to be something reasonable (as you can see above). But I am only
guessing...
Can someone see what I have got wrong?
Just a thought - in the Makefile, I have the Posix compliant options set.
I am running on Linux (1.2.5), and I believe this to be correct, but...
---
Robert Hart hartr@hedunx.hedland.edu.au
Voice: +61 (0)91 72 0429 Fax: +61 (0)91 72 3560
Hedland College, PMB 1, South Hedland WA 6722 Australia
|
|