Great Circle Associates Majordomo-Users
(March 1993)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Using majordomo to handle bounces
From: Dan Wallach <dwallach @ linus . cs . berkeley . edu>
Date: Thu, 18 Mar 93 10:53:01 PST
To: majordomo-users @ GreatCircle . COM
In-reply-to: rackow@mcs.anl.gov's message of Thu, 18 Mar 93 09:38:53 CST.
Reply-to: Dan Wallach <dwallach @ postgres . berkeley . edu>

> 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


Indexed By Date Previous: Re: Using majordomo to handle bounces
From: Gene Rackow <rackow@mcs.anl.gov>
Next: Majordomo log file
From: drich@lerc.nasa.gov (Daniel Rich)
Indexed By Thread Previous: Re: Using majordomo to handle bounces
From: Gene Rackow <rackow@mcs.anl.gov>
Next: Majordomo log file
From: drich@lerc.nasa.gov (Daniel Rich)

Google
 
Search Internet Search www.greatcircle.com