From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078701111580.tru64-unix-managers.marc@archive.invalid> From: Daniel.Clar () supelec ! fr (Daniel Clar) Date: Fri, 20 Mar 1998 16:25:17 +0000 To: tru64-unix-managers Subject: Quick modification to restrict mail to some domains with majordomo X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078701111580 I use majordomo on Digital Unix and I've posted this e-mail on the adequate mailing list. As I've got no answer to this e-mail : "I know that it's possible to prevent people not registered to a mailing list to send e-mail to the list. For us it could be much more convenient to restrict e-mail to the list to people having their e-mail address in 3 or 4 different domains without considering theri individual names. Is it already possible or could it be considered for a future release ?" I've decided to do it by myself. I'm running /majordomo-1.94.1 and I've modified 3 files : config_parse.pl, majordomo.pl and resend in doing Copy/Paste on the restrict_post option and creating a restrict_domain option. So you're able to create some files containing some domain names and only users sending mail from these domains are allowed to address the list. It's quick and perharps dirty (because I don't know Perl at all) but if some people want these modifications, there is no problem to post them here. Daniel o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o | Daniel Clar e-mail : Daniel.Clar@supelec.fr | | Computer Operations Manager : dc@supelec.fr | | Service Informatique Supelec and | | Plateau de Moulon DECUSF::CLAR_D or | | 91192 Gif sur Yvette Cedex - France Daniel.Clar@decus.fr | | Tel : (33 1) 69 85 14 87 Fax : (33 1) 69 85 12 34 | o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o