Cristina Moreira Nunes wrote:
>
> I have a restrict list in may server. However, I would like to restrict it
> based on domain (such as "@inf.ufrgs.br". Is there a way to do this?
> I am using majordomo 1.94.4 and Solaris 5.1.1.
I do it by using procmail to filter the mail headed to the -outgoing list.
If it's from our domain then it goes to a renamed outgoing list. If it's
from another domain it goes off to another mailing list. Here's the procmail
script:
:0:
* ^From.*hmc\.edu
! fac-l-outgoing
:0:
! faculty-announce-l
And here's the aliases for the mailing list:
faculty-l: "|/usr/local/server/list/majordomo/wrapper resend -l faculty-l faculty-l-outgoing"
faculty-l-manager: Chris_Marble@hmc.edu
faculty-l-approval: faculty-l-manager
faculty-l-request: "|/usr/local/server/list/majordomo/wrapper request-answer faculty-l"
faculty-l-outgoing: "|/usr/local/bin/procmail -m /usr/local/server/list/Script/fac-fil"
fac-l-outgoing: :include:/usr/local/server/list/lists.majordomo/faculty-l,faculty-l-archive
faculty-l-archive: "|/usr/local/server/list/majordomo/wrapper archive2.pl -a -m -f /usr/local/server/list/archives/faculty-l"
--
Chris_Marble@hmc.edu - HMC UNIX & Information Systems Manager
My opinions are my own and probably don't represent anything anyway.
Follow-Ups:
References:
|
|