Results 1 to 7 of 7

Thread: [SOLVED] Distribution Lists Import (Solved) and question

  1. #1
    r8escjohn's Avatar
    r8escjohn is offline Senior Member
    Join Date
    Jan 2008
    Location
    Columbia City IN
    Posts
    68
    Rep Power
    7

    Smile [SOLVED] Distribution Lists Import (Solved) and question

    Wanted to let all know a basic solution for importing Distribution Lists that worked very well for me in my setup. (With many kudos to chh and uxbod for their postings on this issue that greatly assisted :->) This may seem very base level info for some but in case this may help others.........

    First created new DLs in Zimbra Admin Console
    Next used Excel to insert and create fields in existing e-mail listing I had imported in form of:
    addDistributionListMember My_Staff_List@myzimbraserver.com external_user@aol.com
    and saved as MS Text .txt file.
    Copied 'mylist.txt' to my Zimbra home directory and made sure rights for the file were set so Zimbra user had full rights to it. (Don't laugh, but forgot to do this the first time and then wondered why it did not work......)
    Run at command line as Zimbra user:
    zimbra@zimbra:/home/zimbra> zmprov adlm < mylist.txt
    Worked super! I now have all of my DL lists in, they are are listed in the GAL for users and ready to go!. :->

    Now a question......
    In order to send out mail using the new Distribution Lists I needed to keep checked 'Can Receive Mail' in teh DL setup in the Admin Console. Does this mean that anybody out there on the internet can use these lists? That would be bad. I want these Distribution Lists only available to be used by internal Zimbra users. Any way to restrict that?
    Thanks!

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

  3. #3
    r8escjohn's Avatar
    r8escjohn is offline Senior Member
    Join Date
    Jan 2008
    Location
    Columbia City IN
    Posts
    68
    Rep Power
    7

    Default

    Quote Originally Posted by uxbod View Post
    Brilliant! :->
    Exactly what I was looking for...I assume that the same procedure applies for 5.0.6?
    Thanks uxbod! I owe you a drink sometime.......

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    It applies to all versions of Postfix.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    helpdeskBelga is offline Junior Member
    Join Date
    Jul 2012
    Posts
    8
    Rep Power
    2

    Default

    Dear,

    is this working for version 8.0 to?

    this is my file
    addDistributionListMember bxxxx_correspondents@xxx.be vem@xxx.be

    But it doesn't work when I use the command
    zmprov adlm < file.txt

    this is the error I receive
    [zimbra@zim001 /]$ zmprov adlm < antwerpen.txt
    usage: addDistributionListMember(adlm) {list@domain|id} {member@domain}+

    zmprov [args] [cmd] [cmd-args ...]

    tso there should be something wrong with my command, any idea?

  6. #6
    ccelis5215 is offline Elite Member
    Join Date
    Jun 2011
    Location
    Caracas Venezuela
    Posts
    443
    Rep Power
    3

    Default

    Quote Originally Posted by helpdeskBelga View Post
    Dear,

    is this working for version 8.0 to?

    this is my file
    addDistributionListMember bxxxx_correspondents@xxx.be vem@xxx.be

    But it doesn't work when I use the command
    zmprov adlm < file.txt

    this is the error I receive
    [zimbra@zim001 /]$ zmprov adlm < antwerpen.txt
    usage: addDistributionListMember(adlm) {list@domain|id} {member@domain}+

    zmprov [args] [cmd] [cmd-args ...]

    tso there should be something wrong with my command, any idea?
    Just

    zmprov < file.txt
    ccelis

  7. #7
    helpdeskBelga is offline Junior Member
    Join Date
    Jul 2012
    Posts
    8
    Rep Power
    2

    Default

    thx!

    I used zmprov -f file.txt

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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