> Along the same lines, has anyone done a "-request" addressed
> message to majordomo formatted request? It shouldn't be that
> hard, but if someone has already one it... In this way people
> that are used to the list-request address don't have to learn
> a new system.
I'm doing exactly this -- I had to hack Majordomo to support commands
for our previous mail server, including mail to fubar-request with a
Subject of "add".
It's really a no-brainer to get right. You need to:
. change your mail aliases to point fubar-request directly at majordomo, rather
than the normal -request handler.
. hack the main while(<BODY_OF_MESSAGE>) loop to call a subprocedure with
each line, then call that subroutine with the Subject header before parsing
the body.
. if you get the command 'add' or 'remove', then look at the To: header
to generate a subscribe or unsubscribe properly.
Obviously, details will vary according to whatever you're trying to be
compatible with.
Dan
|
|