mhonarc-users

Permission problems?

2003-10-09 07:24:41
[Second attempt since the first never appeared.]

I'm migrating from 2.5.13 under Tru64-Unix to 2.6.8 under Solaris 8. I
run mhonarc from a script via procmail. The invocation looks like:

  echo `date`: $1 >>archive.log
  mhonarc -spammode -add -quiet -outdir /home/http/ornl/lists/mailing-lists/${li
st}/${year}/${month} >>archive.log 2>&1

The problem is that on the new system, the log shows errors, e.g.:

Tue Oct 7 13:29:13 EDT 2003: qmail
ERROR: Unable to create "/home/http/ornl/lists/mailing-lists/qmail/2003/10/db0mR
VoYLx8t": Permission denied

An empty file is left in the archive directory:

de5(_at_)www1$ pwd
/home/http/ornl/lists/mailing-lists/qmail/2003/10
de5(_at_)www1$ ls -l
total 32
-rwxr-xr-x   1 de5      w_mlists       0 Oct  7 13:29 db0mRVoYLx8t
-rwxr-xr-x   1 de5      w_mlists       0 Oct  7 13:28 db5dSTbD8Sn8
-rwxr-xr-x   1 de5      w_mlists     473 Oct  7 13:29 maillist.html
-rwxr-xr-x   1 de5      w_mlists    1640 Oct  7 13:28 msg00000.html
-rwxr-xr-x   1 de5      w_mlists    1640 Oct  7 13:29 msg00001.html
-rwxr-xr-x   1 de5      w_mlists     462 Oct  7 13:29 threads.html
de5(_at_)www1$ ls -ld .
drwxr-sr-x   2 de5      w_mlists    4096 Oct  7 13:29 .
de5(_at_)www1$ 

And, although the messages are all archived, the indexes only show the
most recent message:

<h1>Mail Thread Index</h1>
<ul>
<li><a href="maillist.html">Date Index</a></li>
</ul>
<hr>
<ul>
<li><strong><a name="00001" href="msg00001.html">test</a></strong>,
<em>Dave Sill</em></li>
</ul>

Help.

-Dave

<Prev in Thread] Current Thread [Next in Thread>