Great Circle Associates Majordomo-Users
(August 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Archive2 not working from sendmail
From: ratner @ nysa . cs . rice . edu (Logan Ratner)
Organization: Rice University
Date: 16 Aug 1995 15:26:40 GMT
To: majordomo-users @ greatcircle . com
Newsgroups: rice.mlist.majordomo


I spent a good part of yesterday trying to get all the parts of
Majordomo to work, and I can't get the archive program to work.

The specifics:
Majordomo 1.93, SunOs 4.1.3, Perl 4.036 and Perl 5.001m

If I run the archive program on console exactly as it appears in
the sendmail alias, it works.  If it gets piped from sendmail,
it doesn't.

The alias looks like this:
domo-test-archive: "|/home/majordom/wrapper archive -m -a 
-f net/archives/majordomo/archives/domo-test/domo-test"

If I run it on the command line as:
/home/majordom/wrapper archive -m -a -f net/archives/majordomo/archives/domo-test/domo-test

then it works.  But if I send mail to domo-test-archive, it fails.
More specifically, it aborts and complains that @archive_dir is not defined.

But why would it be not defined under sendmail and work from a shell?
Any help greatly appreciated.
-- 
Logan Ratner | ratner@rice.edu | It is not funny that a man should die, but 
CRPC/CITI    |     tinker      | it is funny that he should be killed for so
Rice Univ.   |     tailor      | little, and the coin of his death should be
Houston TX   |    cybernaut    | what we call civilization - R. Chandler


Follow-Ups:
Indexed By Date Previous: A lists problem...
From: "Sean Rolinson" <snowdog@charm.net>
Next: Re: restricted post question...
From: Brent@GreatCircle.COM (Brent Chapman)
Indexed By Thread Previous: A lists problem...
From: "Sean Rolinson" <snowdog@charm.net>
Next: Re: Archive2 not working from sendmail
From: ratner@nysa.cs.rice.edu (Logan Ratner)

Google
 
Search Internet Search www.greatcircle.com