Hi all,

Approved messages are not piped through the external archiver for some
reason. Any clues anyone ??

The exact same setup works just fine when the list is set to
unmoderated but fail to show up in the mhonarc archive when the list
is set to moderated.

I'm running a vanilla debian/stable (mailman 2.0b1)

my mm_cfg.py reads:


PUBLIC_EXTERNAL_ARCHIVER = "/etc/mhonarc/filter %(listname)s"
PRIVATE_EXTERNAL_ARCHIVER = "/etc/mhonarc/filter %(listname)s"

and /etc/mhonarc/filters something like:

#!/bin/sh
listname=$1
outdir=/var/lib/mhonarc/$listname
rcfile=/etc/mhonarc/$listname/rc

LOG=/var/log/mhonarc/access.log
ERR=/var/log/mhonarc/errror.log

[ -e "$rcfile" ] || rcfile=/etc/mhonarc/rc-default
[ -d "$outdir" ] || mkdir -p $outdir

fix_perm() {
        outdir="$1"
        chmod -R go+rX $outdir
        chmod -R g+w $outdir
}

/usr/bin/mhonarc -quiet -add -rcfile $rcfile -outdir $outdir 1>$LOG 2>$ERR
fix_perm $outdir


regards,

-- 
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to