Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: [SOLVED] Distribution list

  1. #1
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    8

    Default [SOLVED] Distribution list

    Hi,

    For our new client i am creating around 1600 accounts and they have total 9 DL ids and member count respective to those DL are as below :

    Distribution ID1 - 107
    Distribution ID2 - 141
    Distribution ID3 - 25
    Distribution ID4 - 1180
    Distribution ID5 - 25
    Distribution ID6 - 33
    Distribution ID7 - 32
    Distribution ID8 - 138
    Distribution ID9 - 1001

    So this will be mass mailing...and my currrent setting is

    [zimbra@mail ~]$ postconf | grep smtpd_recipient_limit
    smtpd_recipient_limit = 1000

    So what is teh standard member count for DL ? any suggestion ? can i give any suggestion to client OR shall i increase postfix limit to 1500 to fullfill their requirement....
    Actually if they send mail to all DL at a time then alos will be problem...

    please suggest.

    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Is it a distribution list or a mailling list ? When you are getting to high numbers then you may be better with proper mailing list software eg. Majordomo

  3. #3
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    8

    Default

    Hi Uxbod,

    Thanks for reply. This are the distribution IDs.

    for e.g Distribution ID4 - 1180
    Here Distribution ID4 is nothing but field@example.com where 1180 members are working on field. so if Senior manager want to communicate any message to all field person then he will only send mail to field@example.com.

    Pls suggest.

  4. #4
    Join Date
    Mar 2008
    Posts
    28
    Rep Power
    7

    Default

    Hi ....

    Am a bit confused..

    Please clarify if we set "smtpd_recipient_limit" to 50 and a distribution list have more than 60 email IDs added, the mail send to distributions list wont be delivered ?

    Regards
    Sujith

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    AFAIK it will deliver the first 50 and then the softlimit will start rejecting the rest with 450 errors. After that it will just hard block them all together.

    Ajcody-MTA-Postfix-Topics - Zimbra :: Wiki

  6. #6
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    8

    Default

    Hi Uxbod,

    Is there any provision to give rights to use the distribution list to some particular users only ??

    Means only specific users only should have permission to send mail to Distribution list ID...

    Thanks

  7. #7
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

  8. #8
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    8

    Default

    Hi Uxbod,

    Thanks for that link...I tried to follow all mentioned steps : please gor through my configuration :-

    ################################################## ##

    [root@mail ~]# cat /opt/zimbra/postfix/conf/permitted_senders ---> User's entry who will only have permissions to send mail to Distributions ID lists
    localhost OK
    abc@example.com OK
    def@example.com OK
    [root@mail ~]#



    [root@mail ~]# cat /opt/zimbra/postfix/conf/protected_recipients ----> Distribution ID list
    sales@example.com permitted_senders_list
    mkt@example.com permitted_senders_list
    [root@mail ~]#


    [root@mail ~]# cat /opt/zimbra/postfix/conf/updated_protected_recipients
    #!/bin/bash
    echo "rebuild permitted_senders..."
    postmap /opt/zimbra/postfix/conf/permitted_senders
    echo "rebuild protected_recipients..."
    postmap /opt/zimbra/postfix/conf/protected_recipients

    [root@mail ~]#


    [root@mail ~]# ll /opt/zimbra/postfix/conf/updated_protected_recipients
    -rwxr-xr-x 1 root root 193 Apr 1 18:18 /opt/zimbra/postfix/conf/updated_protected_recipients
    [root@mail ~]#

    [root@mail ~]# tail -10 /opt/zimbra/postfix/conf/main.cf
    newaliases_path = /opt/zimbra/postfix/sbin/newaliases
    smtpd_reject_unlisted_recipient = no
    smtpd_data_restrictions = reject_unauth_pipelining
    local_header_rewrite_clients = permit_mynetworks,permit_sasl_authenticated
    command_directory = /opt/zimbra/postfix/sbin
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    smtpd_sasl_auth_enable = yes
    permitted_senders_list = check_sender_access hash:/opt/zimbra/postfix/conf/permitted_senders, reject
    smtpd_restriction_classes = permitted_senders_list

    [root@mail ~]#


    [root@mail ~]# head -10 /opt/zimbra/conf/postfix_recipient_restrictions.cf
    check_recipient_access = hash:/opt/zimbra/postfix/conf/protected_recipients
    reject_non_fqdn_recipient
    permit_sasl_authenticated
    permit_mynetworks
    reject_unauth_destination
    reject_unlisted_recipient
    %%contains VAR:zimbraMtaRestriction reject_invalid_hostname%%
    %%contains VAR:zimbraMtaRestriction reject_non_fqdn_hostname%%
    %%contains VAR:zimbraMtaRestriction reject_non_fqdn_sender%%
    %%contains VAR:zimbraMtaRestriction reject_unknown_client%%
    [root@mail ~]#

    #################################################

    After doing this when i reload postfix and trying to send mail i am getting below error message :

    Transcript of session follows.

    Out: 220 example.com ESMTP Postfix
    In: EHLO example.com
    Out: 250-example.com
    Out: 250-PIPELINING
    Out: 250-SIZE 10240000
    Out: 250-VRFY
    Out: 250-ETRN
    Out: 250-STARTTLS
    Out: 250-AUTH LOGIN PLAIN
    Out: 250-AUTH=LOGIN PLAIN
    Out: 250-ENHANCEDSTATUSCODES
    Out: 250-8BITMIME
    Out: 250 DSN
    In: MAIL FROM:<abc@example.com>
    Out: 250 2.1.0 Ok
    In: RCPT TO:<abc@example.com>
    Out: 451 4.3.5 Server configuration error
    In: RSET
    Out: 250 2.0.0 Ok
    In: QUIT
    Out: 221 2.0.0 Bye

    #############################################

    Can anyone please help me in this regards ?

    Thanks

  9. #9
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Did you make all the changes as the root user ? If so, the wiki states
    Create a 'permitted senders' list (as user zimbra)
    so the permissions on the files will be incorrect.

  10. #10
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    8

    Default

    Hi Uxbod..thanks for reply...

    i had below permissions on the files : i have created these files though root :

    [root@mail ~]# ll /opt/zimbra/postfix/conf/
    total 272
    -rw-r--r-- 1 root postfix 17869 Nov 18 07:23 access
    -rw-r--r-- 1 root postfix 8829 Nov 18 07:23 aliases
    -rw-r--r-- 1 root postfix 3548 Nov 18 07:23 bounce.cf.default
    -rw-r--r-- 1 root postfix 11681 Nov 18 07:23 canonical
    -rw-r--r-- 1 root postfix 9904 Nov 18 07:23 generic
    -rw-r--r-- 1 root postfix 17439 Nov 18 07:23 header_checks
    -rw-r--r-- 1 root postfix 11942 Nov 18 07:23 LICENSE
    -rw-r--r-- 1 zimbra zimbra 2227 Apr 2 13:01 main.cf
    -rw-r--r-- 1 root root 2025 Apr 1 18:22 main.cf.bkp
    -rw-r--r-- 1 root postfix 18426 Nov 18 07:23 main.cf.default
    -rw-r--r-- 1 root postfix 3383 Nov 18 07:23 makedefs.out
    -r--r----- 1 zimbra zimbra 5269 Apr 2 13:01 master.cf
    -rw-r--r-- 1 zimbra zimbra 5363 Feb 7 02:08 master.cf.in
    -rw-r--r-- 1 root root 45 Apr 1 18:15 permitted_senders
    -rw-r--r-- 1 zimbra zimbra 12288 Apr 1 18:21 permitted_senders.db
    -rw-r--r-- 1 root postfix 17588 Nov 18 07:23 postfix-files
    -rwxr-xr-x 1 root postfix 6647 Nov 18 07:23 postfix-script
    -rwxr-xr-x 1 root postfix 22197 Nov 18 07:23 post-install
    -rw-r--r-- 1 root postfix 1024 Apr 2 15:07 prng_exch
    -rw-r--r-- 1 root root 72 Apr 1 18:16 protected_recipients
    -rw-r--r-- 1 zimbra zimbra 12288 Apr 1 18:21 protected_recipients.db
    -rw-r--r-- 1 root postfix 6816 Nov 18 07:23 relocated
    -rw-r--r-- 1 root postfix 1629 Nov 18 07:23 TLS_LICENSE
    -rw-r--r-- 1 root postfix 12357 Nov 18 07:23 transport
    -rwxr-xr-x 1 root root 193 Apr 1 18:18 updated_protected_recipients
    -rw-r--r-- 1 root postfix 12494 Nov 18 07:23 virtual


    Now i have changed the permissions as below:


    [root@mail ~]# ll /opt/zimbra/postfix/conf/
    total 272
    -rw-r--r-- 1 root postfix 17869 Nov 18 07:23 access
    -rw-r--r-- 1 root postfix 8829 Nov 18 07:23 aliases
    -rw-r--r-- 1 root postfix 3548 Nov 18 07:23 bounce.cf.default
    -rw-r--r-- 1 root postfix 11681 Nov 18 07:23 canonical
    -rw-r--r-- 1 root postfix 9904 Nov 18 07:23 generic
    -rw-r--r-- 1 root postfix 17439 Nov 18 07:23 header_checks
    -rw-r--r-- 1 root postfix 11942 Nov 18 07:23 LICENSE
    -rw-r--r-- 1 zimbra zimbra 2227 Apr 2 15:26 main.cf
    -rw-r--r-- 1 root root 2025 Apr 1 18:22 main.cf.bkp
    -rw-r--r-- 1 root postfix 18426 Nov 18 07:23 main.cf.default
    -rw-r--r-- 1 root postfix 3383 Nov 18 07:23 makedefs.out
    -r--r----- 1 zimbra zimbra 5269 Apr 2 15:26 master.cf
    -rw-r--r-- 1 zimbra zimbra 5363 Feb 7 02:08 master.cf.in
    -rw-r--r-- 1 root postfix 45 Apr 1 18:15 permitted_senders
    -rw-r--r-- 1 zimbra zimbra 12288 Apr 1 18:21 permitted_senders.db
    -rw-r--r-- 1 root postfix 17588 Nov 18 07:23 postfix-files
    -rwxr-xr-x 1 root postfix 6647 Nov 18 07:23 postfix-script
    -rwxr-xr-x 1 root postfix 22197 Nov 18 07:23 post-install
    -rw-r--r-- 1 root postfix 1024 Apr 2 16:00 prng_exch
    -rw-r--r-- 1 root postfix 72 Apr 1 18:16 protected_recipients
    -rw-r--r-- 1 zimbra zimbra 12288 Apr 1 18:21 protected_recipients.db
    -rw-r--r-- 1 root postfix 6816 Nov 18 07:23 relocated
    -rw-r--r-- 1 root postfix 1629 Nov 18 07:23 TLS_LICENSE
    -rw-r--r-- 1 root postfix 12357 Nov 18 07:23 transport
    -rwxr-xr-x 1 root postfix 193 Apr 1 18:18 updated_protected_recipients
    -rw-r--r-- 1 root postfix 12494 Nov 18 07:23 virtual



    i have reload the postfix...but still same error ..

Similar Threads

  1. [SOLVED] Listing Distribution List Members
    By rwjblue in forum Administrators
    Replies: 8
    Last Post: 05-06-2014, 10:20 PM
  2. [SOLVED] Sudden problem synching with gmail
    By bouchardpie in forum Error Reports
    Replies: 8
    Last Post: 09-09-2010, 10:50 AM
  3. Problem syncing all folders
    By mark_the_chain in forum Error Reports
    Replies: 0
    Last Post: 11-23-2008, 04:59 PM
  4. Replies: 4
    Last Post: 01-29-2008, 08:43 PM
  5. Orphaned alias for a distribution list
    By area in forum Administrators
    Replies: 0
    Last Post: 09-17-2006, 09:22 PM

Posting Permissions

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