Quick modification to restrict mail to some domains with majordomo

From: Daniel Clar <Daniel.Clar_at_supelec.fr>
Date: Fri, 20 Mar 1998 18:25:17 +0200

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_at_supelec.fr |
| Computer Operations Manager : dc_at_supelec.fr |
| Service Informatique Supelec and |
| Plateau de Moulon DECUSF::CLAR_D or |
| 91192 Gif sur Yvette Cedex - France Daniel.Clar_at_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
Received on Fri Mar 20 1998 - 18:27:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT