Mail Distribution List

Hi,

how do i create an email address thats copied to many users?

thanks

chriz

Hi,

for an IMAP-based standard mailstack there is a chapter in the documentation 14.3.3. Management of mailing lists.
As OpenXchange will replace the Mail-UMC-Module the behaviour is a bit different, but AFAIR comparable.
For Kopano one needs to create a group and enable this for Kopano in the corresping fields.

hth,
Dirk

thanks. it was for kopano
here it is in groups/kopano
but you only can have one address per group, so i created many

It appears that with one additional command it should be possible to enable additional mailadresses for groups, see https://forge.univention.org/bugzilla/show_bug.cgi?id=27871

That’s true, but Postfix won’t recognize mailAlternativeAddress attributes for groups as it uses the following filter for looking up group addresses (see /etc/postfix/ldap.group):

query_filter = (&(mailPrimaryAddress=%s)(objectclass=posixGroup))

You can also always use Postfix’s virtual feature to add arbitrary aliases. On your mailserver, edit /etc/postfix/virtual, add something like this:

group-mail-alias@my.domain   group-mail-address@my.domain

and run postmap /etc/postfix/virtual afterwards. That’ll cause Postfix to first replace group-mail-alias@my.domain with group-mail-address@my.domain in the envelope recipient addresses before looking up group-mail-address@my.domain in the LDAP directory.

The UCR variable mail/postfix/virtual/enabled must be set to yes for this to work; otherwise the configuration doesn’t reference the file /etc/postfix/virtual — on the other hand, if it weren’t set to yes, the regular group addresses wouldn’t work either.