Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-23-2009, 09:44 PM
Elite Member
 
Posts: 440
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
Reply With Quote
  #2 (permalink)  
Old 03-24-2009, 01:06 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #3 (permalink)  
Old 03-24-2009, 01:59 AM
Elite Member
 
Posts: 440
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.
Reply With Quote
  #4 (permalink)  
Old 03-27-2009, 12:05 AM
Active Member
 
Posts: 28
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
Reply With Quote
  #5 (permalink)  
Old 03-27-2009, 12:58 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #6 (permalink)  
Old 03-29-2009, 10:38 PM
Elite Member
 
Posts: 440
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
Reply With Quote
  #7 (permalink)  
Old 03-29-2009, 11:21 PM
Moderator
 
Posts: 7,928
Default

RestrictPostfixRecipients - Zimbra :: Wiki
__________________
Reply With Quote
  #8 (permalink)  
Old 04-02-2009, 02:17 AM
Elite Member
 
Posts: 440
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
Reply With Quote
  #9 (permalink)  
Old 04-02-2009, 02:27 AM
Moderator
 
Posts: 7,928
Default

Did you make all the changes as the root user ? If so, the wiki states
Quote:
Create a 'permitted senders' list (as user zimbra)
so the permissions on the files will be incorrect.
__________________
Reply With Quote
  #10 (permalink)  
Old 04-02-2009, 03:35 AM
Elite Member
 
Posts: 440
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 ..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.