scott@sage.uchicago.edu (Scott Deerwester) (08/17/90)
I should have known. I mean, what right did I have to expect that I could use :include: in /usr/lib/aliases on a file of 170 names? Sendmail loses its lunch (I discovered after sending issue *3*!), and some random subset of the people on the list are actually receiving it. I think that something like 130/170 are actually getting the thing, but I don't really know. I suspect that the problem (and this is raw speculation) is that it's messing up lines where multiple people on a single machine are listed. A line from sendmail's log: Aug 16 14:07:36 localhost: 3331 sendmail: AA03304: to=<polyglot%xanadu. uucp@uunet.uu.net>>et>polyglot%visix.uucp@uunet.uu.net>,<polyglot%viar.uucp@ uunet.uu.net>,polyglot%iii-sed.uucp@uunet.uu.net>,<polyglot%aspect.uucp@uune t.uu.net>,<polyglot%edsr.eds.com@uunet.uu.net>,< This is *not* a happy computer program... So, is anybody out there using a UNIX machine to moderate a mailing list digest? I've been using MH to handle incoming mail. Submissions go to one folder, articles for the current issue in another and requests in a third. Here's the shell script (written by Keith Waclena; thanks, Keith!) that I have been using to send the thing out. It all works just fine, except that sendmail core dumps in the middle (end? beginning? *shrug*) of sending it. ------- #!/bin/sh # # distdigest PATH=$PATH:/usr/local/lib/mh COMPS=/tmp/comps$$ folder +working >/dev/null cd `mhpath +working` ( cat $HOME/Mail/polyglotcomps header -f Subject `/bin/ls -1 | sort -n` | sed 's/[^:]*://' | uniq -c | perl -pe 's/^\s+(\d+)\s+(.*)/$2 ($1)/;' -e 's/ \(1\)$//' | ff -c -P 1 -h "" -H 1 -F 1 ) >$COMPS forw -digest Polyglot -form $COMPS all ------- Perhaps I could use forw anyway, to construct the digest (I have a "drafts" folder where an issue goes while it's being built). Perhaps then I could so something like: -------- ( cat $HOME/Mail/polyglotcomps sed 's/^/Bcc: /' $AddressFile header -f Subject `/bin/ls -1 | sort -n` | ... ------- and then invoke "sendmail -t -fPolyglot-dist" to actually send it. In any case, what I'm really looking for is help from somebody who's really doing this successfully. Anybody out there? ------- Scott Deerwester | Internet: scott@tira.uchicago.edu | ~{P;N,5B~} Center for Information and | Phone: 312-702-6948 | Language Studies | 1100 E. 57th, CILS | University of Chicago | Chicago, IL 60637 |