[Mailman-Users] moderated messages not in external archive
Paul J Stevens
paul at nfg.nl
Wed Jan 16 12:27:09 CET 2002
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:paul at nfg.nl
NET FACILITIES GROUP PGP: finger paul at nfg.nl
The Netherlands________________________________http://www.nfg.nl
More information about the Mailman-Users
mailing list