Koozali.org: home of the SME Server

qmail groups

Max

qmail groups
« on: June 04, 2001, 09:36:37 PM »
I am interested in making a group that people from inside the company can email, but that people from outside cannot email to.

For example group Test would have user a, b, and c in it.  User D could email Test@test.com and it would be distributed to a, b, and c, but joe@schmoe.com could not email Test@test.com.

I have been through the qmail documentation a couple of times, and am not sure if this can be done?

I am looking first for a solution that would not require installing anything, but I was thinking that maybe this could be done with some email list program.

Thanks for any help.

Graeme Robinson

Re: qmail groups
« Reply #1 on: June 05, 2001, 06:01:29 AM »
How about company members mailing the list from outside the network? Do you want this?

List mail is the only way you are going to be able to create a list that is moderated, thereby excluding non-members and moderating membership.

This would involve installing ezmlm or similar MLM (mail list manager).
I suggest you just create a group and add the members.

Alternatively you could just create a group and add the e-smith users who will receive the mail - then mailing the group will groupname@yourdomain will ensure on those users get the mail - you can't prevent other people from sending mail to this alias is the only drawback, but it's certainly a lot quicker and easier than setting up a MLM.

Max

Re: qmail groups
« Reply #2 on: June 05, 2001, 11:18:10 PM »
Ok thanks.
That is pretty much what I figured.

Richard Bruce

Re: qmail groups
« Reply #3 on: June 06, 2001, 09:20:46 PM »
How about setting up a "pseudo" domain on your e-smith box that doesn't have any MX record published by a DNS, i.e. is only reachable from an internal server?

Not sure how well it would work, but might be worth trying.

Richard

Charlie Brady

Re: qmail groups
« Reply #4 on: June 09, 2001, 03:25:38 AM »
Max wrote:
 
> I am interested in making a group that people from inside the
> company can email, but that people from outside cannot email
> to.
...
> I have been through the qmail documentation a couple of
> times, and am not sure if this can be done?

There's actually a feature designed into e-smith to do this, but you'll need to go to the command line to activate it.

/sbin/e-smith/db accounts setprop groupname Visible internal
/sbin/e-smith/signal-event console-save

will mean that mail to group1@your.domain will be rejected if it comes from outside your network, which sounds like exactly what you want.

Regards

Charlie