Steve Portigal writes:
> I am getting a digest sent ou;t for every single message.
>
> I have the list "undercover" and the digest "undercover-digest" - what
> is the relationshiip between the "maxlength" value for each of them?
For a non-digest list - if any message being processed by resend
exceeds maxlength, and it has not been approved by the list admin,
resend will bounce it to the list admin for approval.
For a digest list - if any message being processed by digest causes
the total size of all the accumulated messages waiting for digesting
to exceed maxlength, a digest will be autonatically generated. (Note
that the digest will almost certainly turn out to be less than
maxlength, since the waiting messages have most headers stripped
out of them as part of the digesting process.)
> They were set to 32000 and that was causing very small digests so I set
> them both (using webdomo, which is what pobox lets you use) to 96000 and
> when I find a million digests coming out, I go in there and the value
> has been deleted in undercover-digest's config.
I don't know why that should be. I don't have webdomo - I just use
newconfig or edit the config by hand (since I run the machine
majordomo lives on) and this doesn't happen.
> What I really want is no fixed digest size, but a single daily digest.
> There is no documentation I have found (and if anyone can help with this, too)
> that says how to set it up to go every day. Is this assumed?
Either -
1. Under control of the list admin. On the list admin's machine,
have a job run at the same time every day which generates a mkdigest
command and mails it to majordomo. e.g. on a unix box, you would
have a cron job that calls a script that does something like
echo mkdigest listname mypasswd | mail majordomo@wherever
2. Under control of the majordomo admin. On the majordomo machine,
create a cron job for majordomo that runs every day and calls a script
which does something like (off the top of my head and untested):
#!/bin/sh
digestspool=/path/to/digests
homedir=/path/to/majordomo/bin
if test $# -ne 1; then
echo "usage: rundigest digest-name" 1>&2
exit 1
fi
digest=$1
cd $digestspool/$digest
files=`ls`
if test ! -z "$files"; then
$homedir/digest -m -C -l $digest $digest-outgoing
fi
exit 0
If the script was called rundigest, the cron job would call
"rundigest whatever-digest". This way, you have a line in cron for
each digest you want sent out regularly, and each can be sent out at
different times of the day, twice weekly, once a month, or whatever.
Hope this helps
Scott Larnach, Edinburgh University
|
|