Results 1 to 5 of 5

Thread: internal only distribution lists

  1. #1
    Join Date
    Mar 2006
    Posts
    13
    Rep Power
    9

    Default internal only distribution lists

    is there a way to make certain distribution lists only available to someone from the same domain?

    Example:

    everyone@example.com currently is a distribution list with all employees. I'd like only people at example.com to be able to send mail to that list. Any ideas on how to do that?

    jb

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Our distribution lists do not have ACL's You'd need a maillist software like mailman for that to work.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    If you consider using Mailman then there's a 'how-to' in this post
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    Join Date
    May 2007
    Location
    Los Angeles, CA
    Posts
    31
    Rep Power
    8

    Default

    This can also be fairly easily implemented using postfix, but I need to figure out how to merge it into the Zimbra configuration.

    Step one, create two IP addresses for your mailserver:
    smtp.example.com 10.0.0.5
    mail.example.com 10.0.0.15

    Step two, configure separate postfix processes to listen to each address, making one the "public" smtp and the other the "internal" smtp.

    The public postfix process then uses a limited set of aliases when determining valid delivery targets. We originally did this by creating two separate alias files: aliases and aliases-int.
    The default configuration uses local_recipient_maps=hash:/etc/postfix/aliases,hash:/etc/postfix/aliases-int
    The public configuration overrides that to
    local_recipient_maps=hash:/etc/postfix/aliases

    Voila! Authenticated and internal users can access all distribution lists, but public users can only see "public" lists.

    Looking at how Zimbra has it set up, it looks like I can get this working by:
    1) add an attribute to the schema named something like zimbraMailPublicList to distribution list objects, indicating that a particular list is authorized for external use.
    2) Make a new virtual map file like /opt/zimbra/conf/ldap-scm.cf or ldap:/opt/zimbra/conf/ldap-vam.cf (Trying to figure out which controls whether an address is a permitted rcpt to only with zimbraMailPublicList=enabled ANDed onto the filter.
    3) Change master.cf to have the external smtp entry reference the new map.

    If I get it working I'll post again.

  5. #5
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Nice.
    Please do, then let me know. We'll get it into the wiki.

Similar Threads

  1. Nested distribution lists
    By Britt in forum Administrators
    Replies: 6
    Last Post: 05-10-2013, 05:01 AM
  2. Spamassasin / AV for distribution lists?
    By lilwong in forum Administrators
    Replies: 7
    Last Post: 06-25-2008, 12:04 AM
  3. Distribution Lists
    By swu in forum Administrators
    Replies: 1
    Last Post: 07-12-2007, 08:08 PM
  4. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 11:30 PM
  5. Network Ed Backup: COS and Distribution Lists?
    By enthenergy in forum Administrators
    Replies: 3
    Last Post: 02-20-2007, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •