[1217] in Moira
Re: mail failed, returning to sender
daemon@ATHENA.MIT.EDU (Dan Winship)
Tue Nov 24 11:53:29 1998
To: "Theodore Y. Ts'o" <tytso@MIT.EDU>
Cc: postmaster@MIT.EDU, moiradev@MIT.EDU
In-Reply-To: Your message of "Mon, 23 Nov 1998 23:09:57 EST."
<199811240409.XAA25159@dcl.MIT.EDU>
Date: Tue, 24 Nov 1998 11:53:19 EST
From: Dan Winship <danw@MIT.EDU>
> (Hmm... maybe if a bribe the Moira developers with enough bags of M&M's
> they'll add a bit to the Moira database entry for lists which indicate
> whether or not the alias file should be set up to redirect the SMTP
> envelopment from field to the owner list. :-)
Based on one of your later messages, I assume you mean something like
having "kerberos" get renamed to "kerberos-really" and then have the
alias for kerberos be something like:
kerberos: "|/usr/lib/sendmail -fkerberos-request@mit.edu kerberos-really"
?
Wouldn't it just be easier to import the envelope-from-rewriting bits
of recent sendmails into the mailhub sendmail tree? It can't be that
much code...
On a related note, here's an idea for doing moira-based majordomo
lists (which Karl and I both came up with independently...)
Make a kerberos principal "majordomo@ATHENA.MIT.EDU" and a moira list
"majordomo" which contains that kerberos principal and the string
"majordomo@whatever-host-we-run-this-on".
If people want their list to be majordomo-maintained, they just add
"LIST majordomo" to the owner list for the list.
The majordomo server running on whatever machine gets mail from people
who send mail to "majordomo@mit.edu", figures out what list they want
to be added to/removed from, gets majordomo tickets from a srvtab, and
does the necessary moira transaction. Also, since "LIST majordomo" is
on the owner list for the list, it would also get mail to "owner-foo",
(as well as "foo-request" assuming that that was the owner list), and
so it could deal with those too.
Extra hair: there could be some way of specifying things like "send
this welcome message to the person when you subscribe them", or have
some way of telling it "if you get a sub/unsub request for this list,
redirect the mail to address X and do nothing else".
-- Dan