~ Earl Hood wrote:
~ Could you please resend your message. It appears that your linefeeds
~ got dropped and some data munged together, making it difficult to
~ determine what the possible problems may be.
Hopefully this will be a bit clearer for you :-)
Hello,
I am setting up a few new MHonArc servers and I am getting this really
aggravating error. I was wondering if anyone else has had this or knows
what is causing it.
The systems are RedHat 6.0 , Sendmail 8.9.3 , MHonarc 2.4.0 , Perl
5.005_3
I created an alias in /etc/aliases:
m-test: "|/usr/local/bin/HTML/test"
I have 2 files in /usr/local/bin/HTML:
the first file "test" has:
#!/usr/bin/perl
$cmd = "/usr/bin/mhonarc -add -quiet " .
"-reverse -treverse -outdir /var/www/virtual/test-site/9906 " .
"-rcfile /usr/local/bin/HTML/test.rcs";
open (M2H, "|$cmd");
print M2H <STDIN>;
the second file is "test.rcs":
<!-- MhonArc Resource file -->
<NODOC>
<ICONS>
audio/basic:http://md.sparknet.net/icons/sound.gif
image/gif:http://md.sparknet.net/icons/image.gif
image/jpeg:http://md.sparknet.net/icons/image2.gif
image/tiff:http://md.sparknet.net/icons/image.xbm
multipart/alternative:http://md.sparknet.net/icons/menu.xbm
multipart/mixed:http://md.sparknet.net/icons/menu.xbm
multipart/parallel:http://md.sparknet.net/icons/menu.xbm
text/richtext:http://md.sparknet.net/icons/generic2.gif
text/html:http://md.sparknet.net/icons/generic3.gif
text/plain:http://md.sparknet.net/icons/text.xbm
unknown:http://md.sparknet.net/icons/unknown.gif
video/mpeg:http://md.sparknet.net/icons/movie.gif
</ICONS>
<TITLE>
Testing Archive Chronological Index
</TITLE>
<TTITLE>
Testing Archive Thread Index
</TTITLE>
<TIDXFNAME>
threads.html
</TIDXFNAME>
<IDXPGBEGIN>
$IDXTITLE$
[<$TIDXFNAME$.htm>Thread Index] [<http://archives.nite-storm.com/>Home
Page]
----------
* $SUBJECT$
* From: $FROM$
$TIDXTITLE$ [</index.htm>Home Page]
----------
I have tried the permissions of 755 and 777 on the file "test" ,
and 644 on the file "test.rcs"
Now, when I send an email to m-test(_at_)myserver(_dot_)com and I view the
maillog, I get his error:
Jul 1 17:37:52 archive sendmail[1011]: RAA01011:from=, size=825,
class=0, pri=30825, nrcpts=1,
msgid=<199907012237(_dot_)RAA01011(_at_)myarchiveserver(_dot_)com>,
proto=ESMTP,relay=root(_at_)mail(_dot_)sparknet(_dot_)net
[207.67.22.140] Jul 1 17:37:52 archive smrsh: uid 8: attempt to use test
Jul 1 17:37:52 archive sendmail[1012]: RAA01011:
to="|/usr/local/bin/HTML/test",
delay=00:00:00, xdelay=00:00:00, mailer=prog, stat=Service unavailable
Jul 1 17:37:52 archive sendmail[1012]: RAA01011: RAA01012: DSN: Service
unavailable
I have allowed smrsh in the sendmail configuration, and regenerated a
new sendmail.cf,
this still did not fix the problem..
Any suggestions are welcome,
Thanks in advance,
- chris