Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: larieu on June 07, 2018, 05:06:54 PM
-
Scenario
on server I'll create two groups
group-target
where I'll have assigned some users
group-senders
where I'll have assigned some users ( can overlap but not mandatory )
I want to have a restriction that sending mails to the grup-target@domain.tld to be possible only by users from group-senders
For limiting external users to not be able to send is
db accounts setprop group-target Visible internal
I'm looking for something similar
-
larieu
You need to install mailing list software to achieve your set of requirements.
Eg Mailman or ezmlm
See the Contribs & Howto sections of wiki
-
Hi janet,
I see your point. A valid approach. To create the group-target in a mailinglist
I really hoped to a more straight forward approach direct in server.
In this approach the group-target it will be managed in the mailing list and should be changed manually not on server as a group. I don't remember a way to sync a mailinglist with a group in SME
The idea is that I need anyway that the group to be created on the server. Doing this will not impede nobody to just write on group ( if I'll set Visible=internal - only internal addresses but this is also against will ) . This is what I'm trying to avoid.
If it will exist at least something to just block all emails to the group. And then double the work to maintain the external list
I've found an approach on old version
https://forums.contribs.org/index.php?topic=34667.msg150339#msg150339
-
You can either make a cron or an action script linked to group and user event in order to update ezmlm ml. I have done such thing in the past from a mysql db to populate ezmlm ml.
-
Unfortunately I need to have the default group-target
Having it I can prevent external users to not be able to send mails ( Visible=internal ) but will not prevent any user on the server to be able to send emails to that group
It exist another value for this "Visible" keyprop ?
Something like invisible or No ...?
-
I have checked
Apparently the template
/etc/e-smith/templates/var/qmail/control/badrcptto/10blockVisibleInternal:
is taking care only for the"internal" parameter
I wander if it is possible to template something around
-
https://lists.gt.net/qmail/users/136955
old and maybe not feasible.. you'd search also for some qpsmtpd filters/plugin