Jason L Tibbitts III wrote:
> 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"
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
These also assume the majordomo programs are installed under ~user/bin/.
Ben Smithurst : email@example.com : 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)