OK folks, I've got aliases running correctly and I no longer
gets hundreds of looped messages.
I *will* write a doc on how to use moderators with majordomo
when I'm done, so your attention is not in vain.
I've included below my aliases file.
So far, any messages sent to tennis get sent to tennis-approval
for approval. I created a .majordomo file for that user
that looks like:
tennis itsokby majordomo@iss.ans.net
I use elm as my mailer, so I tried forwarding the message to
tennis, adding the line:
Approved: itsokbyme
It goes through, but all the lines get prefaced with '>',
the subject is blank, and some header lines go through.
After reading resend.README for the umpteenth time, I had
the brilliant idea of just piping the message to approve.
This does nothing.
Then, I saved the message to a file called /tmp/foo.
If I run approve /tmp/foo, 2 files get created in /tmp,
resend.$$$$.in and .out, where $$$$ is a number (4536,4638,etc)
each time I run this.
Now what? Oh, those files are owned by daemon, so I suppose
sendmail is supposed to resend them, but how?
Thanks for any light you can shed on the matter.
| Dan |
***
aliases file follows (partial):
# aliases for majordomo
majordomo: "| /home/majordom/wrapper majordomo"
majordomo-owner: dans@ans.net
owner-majordomo: dans@ans.net
# entries for test list "tennis"
# this was the original entry for a straight list, no moderators
#tennis: :include:/home/majordom/lists/tennis
# the following add (?) moderator capability using resend
tennis: "| /home/majordom/wrapper resend -l tennis -h iss.ans.net -f tennis-approval -r tennis -I tennis -a /home/majordom/lists/tennis.passwd -A -R tennis-outgoing"
tennis-outgoing: :include:/home/majordom/lists/tennis
owner-tennis-outgoing: tennis-owner
owner-tennis: tennis-owner
tennis-owner: dans@ans.net
tennis-request: "| /home/majordom/wrapper request-answer tennis"
# changed tennis-approval to a a different system so that
# I could test moderating
tennis-approval: dans@iss.ans.net
# end /etc/aliases
--
Dan Simoes dans@ans.net
Associate Programmer (914) 789-5378
Advanced Network & Services Elmsford, NY
|
|