Great Circle Associates Majordomo-Users
(September 1998)
 

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

Subject: Re: Majordomo without root?
From: Ben Smithurst <ben @ scientia . demon . co . uk>
Date: Thu, 24 Sep 1998 18:34:08 +0100
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>, Saleel Majeed <saleel @ trekzone . net>
Cc: Majordomo-Users @ GreatCircle . COM
In-reply-to: <ufazpbq749y.fsf@sina.hpc.uh.edu>
References: <001501bde48d$baf238c0$41e9b094@evesham> <ufazpbq749y.fsf@sina.hpc.uh.edu>
User-agent: Mutt/0.94.3i (FreeBSD 3.0-BETA i386)

Jason L Tibbitts III wrote:

> you+majordomo@site.com
> you+test-list@site.com

[...]

> If anyone has more concrete examples for any MTA/delivery agent, feel free
> to share them.

With Exim (I know you mentioned it, but I thought I'd give more detail),
you could try something like this in a .forward file, assuming your
administrators have enabled using .forward as an Exim filter file, and has
enabled the local part suffixes. (The ``# Exim filter'' line is needed.)

# Exim filter
if $local_part_suffix is "+majordomo" then
  pipe "bin/wrapper majordomo"
else if $local_part_suffix is "+listname" then
  pipe "bin/wrapper resend -l listname"
else if $local_part_suffix is "+listname-request" then
  pipe "bin/wrapper request-answer -l listname"
endif
endif
endif

wrapper probably wouldn't have to be setuid, but I think it defines some
environment variables for other programs, so it may still be needed.

I don't know how to do the equivalent of :include: in an Exim filter,
though with bulk_mailer or something, I don't think that would be needed,
just add an entry for "+listname-outgoing" which pipes it somewhere
sensible.

These also assume the majordomo programs are installed under ~user/bin/.

-- 
Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/

PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C  68 32 0E D5 36 05 3D 16
     http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers)


References:
Indexed By Date Previous: Re: Using ERRORS-TO header?
From: Ben Smithurst <ben@scientia.demon.co.uk>
Next: Re: Pandora
From: Bill Houle <bhoule@sparc.sandiegoca.ncr.com>
Indexed By Thread Previous: Re: Majordomo without root?
From: Russ Allbery <rra@stanford.edu>
Next: Re: Majordomo without root?
From: Ben Smithurst <ben@scientia.demon.co.uk>

Google
 
Search Internet Search www.greatcircle.com