1 (edited by pbn 2018-08-15 21:47:55)

Topic: Message distribution group

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Tell me please. There is a common box at all@mylbox.com. It is necessary to make it so that only certain addresses can be written on it. And the rest from this address came a letter but they could not answer.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Message distribution group

It's easy to restrict it with iRedAdmin-Pro, just go to mailing list profile page, and set the moderators.

You're running iRedMail-0.9.7 with MySQL backend, with command line tools, you can update SQL table "vmail.alias_moderators" to set moderators of the mailing list, also access policy of this mailing list.

3

Re: Message distribution group

ZhangHuangbin wrote:

It's easy to restrict it with iRedAdmin-Pro, just go to mailing list profile page, and set the moderators.

You're running iRedMail-0.9.7 with MySQL backend, with command line tools, you can update SQL table "vmail.alias_moderators" to set moderators of the mailing list, also access policy of this mailing list.

vmail.alias_moderators works great! But it does not work "membersonly": only members of this mail list are allowd.
We need a list .... because there are a lot of users. One by one to add to the moderators is not an option ...

<database name="vmail">
        <!-- Table alias -->
        <table name="alias">
            <column name="address">it@vmail.ru</column>
            <column name="goto">user1@vmail.ru,user2@vmail.ru</column>
            <column name="accesspolicy">membersonly</column>
            <column name="domain">vmail.ru</column>
            <column name="created">1970-01-01 01:01:01</column>
            <column name="modified">1970-01-01 01:01:01</column>
            <column name="expired">9999-12-31 00:00:00</column>
            <column name="active">1</column>
        </table>

4

Re: Message distribution group

pbn wrote:

But it does not work "membersonly": only members of this mail list are allowd.

Please turn on debug mode in iRedAPD, send a testing email to reproduce this issue, then copy all related log here for troubleshooting.

FYI: https://docs.iredmail.org/debug.iredapd.html