On Thu, 2 Oct 2003 12:05 -0400, Dani Koesterich wrote:
> I'm having what seems to be a really 'stupid' problem.
> I've set moderate = yes in my config file, and I've set moderator
> to my email address. I've also setup all the passwords, and have
> set restrict_post to a file I created containing just my email address.
So far, so good.
> Yet, for some reason, any user on this list can submit messages
> to listname-list@mydomain.com and the whole list recevies the
> message instantly. This is an announcement list, so I need to configure
> my majordomo so that ONLY I can post, and all others are rejected.
>
> What am I doing wrong?
You're not doing anything wrong, you just haven't done enough. You said
"any user on this list can submit messages to listname-list@mydomain.com",
but what happens if they submit to listname@mydomain.com? If the message
bounces to the moderator address, then your aliases are probably okay.
This is controlled by the resend script, which reads the listname.config
file and deals with the message accordingly.
However if someone submits directly to listname-list@mydomain.com, resend
doesn't come into play at all. It's just a ditrect alias expansion to the
:include: for the file containing list member addresses, so the message
goes to all the list members regardless of what you have in
listname.config. Assuming your MTA is sendmail, you need to add a line
like the following to virtusertable for every Majordomo list, regardless
of whether it is moderated, restrict_posted, or whatever:
listname-list@mydomain.com error:nouser User unknown
This causes sendmail to reject messages sent to listname@mydomain.com with
a "User unknown" error, but it doesn't prevent sendmail from expanding
your "listname-list: :include:/path/to/majordomo/lists/listname" alias.
This should be done for every majordomo list to prevent spammers and other
cretins from posting directly to the -list alias.
If your MTA is not sendmail, I assume there are similar measures that can
be taken but will have to defer to others to explain them.
--
Chip Old (Francis E. Old) E-Mail: fold@bcpl.net
Manager, BCPL Network Services Phone: 410-887-6180
Manager, BCPL.NET Internet Services FAX: 410-887-2091
320 York Road
Towson, MD 21204 USA
Follow-Ups:
References:
|
|