OK, Majordomo, unlike other servers does have the flexibility I'm asking for
so I'll withdraw my request. I wish more systems did and, perhaps, some
system don't give effective instructions.
But, your other point, seems to assume that everyone is a system admin on a
Unix system with sendmail. This is not the case in most mail systems. Note
that in your example you are filtering on the "from" field, not the recipient
field. Few mail systems retain the recipient information in the mail file
that normal users see.
To: Bob Frankston@frankston.com@uucp
cc: Majordomo-Workers@GreatCircle.COM@uucp
From: Jason L Tibbitts III <tibbs@hpc.uh.edu> @ uucp
Date: 09/02/96 19:40:26 EDT (09/02/96 19:54:08 EDT) 09/02/96 19:54:10
Subject: Re: Role Addresses
>>>>> "BF" == Bob Frankston <Bob_Frankston@frankston.com> writes:
BF> I find that many of the mailing lists I try to subscribe to seem to
BF> insist and using my "from" address as the subscription address. Perhaps
BF> Majordomo is generally flexible -- just want to be assured that I can
BF> specify an arbitrary address.
Well, the help message returned by any majordomo server should make that
terribly obvious:
subscribe listname address@host.domain
works just fine, though it may require some approval. I have to say,
though, that that definitely isn't the question that you originally asked.
BF> As to rules running off the envelope, by the time the message gets to
BF> its destination the envelope is gone. Only routing (MTA) systems can
BF> see the envelope.
Bull. Sorry, but I have to ask if you've actually tried this. The
envelope sender is preserved in the From_ line, which is passed by Sendmail
to the delivery agent if configured to do so.. The envelope recipient is
generally obvious, though sendmail will strip off the `+' and any trailing
information and pass it as a separate argument to the delivery agent.
Really, I'm not lying. Perhaps you are thinking there's something else in
the envelope that you would need to do filtering?
Here's a sample procmail rule that works just fine for me:
:0:
*^From majordomo-workers-owner
spool/majordomo-workers.spool
which will trap and filter majordomo-workers mail even if majordomo-workers
was BCC'd or is nowhere in the message headers. It comes from the
envelope.
--
Jason L. Tibbitts III - tibbs@uh.edu - 713/743-8684 - 221SR1
System Manager: University of Houston High Performance Computing Center
1994 PC800 "Kuroneko" DoD# 1723
|
|