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 Display Modes
  #1 (permalink)  
Old 09-04-2009, 09:33 AM
Junior Member
 
Posts: 5
Angry access control on distribution list

hi all,

recently i join an org. where we are using zimbra 5.0 for internal mailing service....
i want to set the access permission for my distribution list like (all@mydomain.com) for few of my user only not for all who are in the list or not, i had strictly followed all steps from RestrictPostfixRecipients - Zimbra :: Wiki, at the last i reload my postfix... but still the user whois in the DL list are able to access and send the mail across...

i need to do it quickly ASAp i can..

..

will wait for you help.


sandeep singh

Last edited by uxbod : 09-04-2009 at 09:45 AM. Reason: removed phone number
Reply With Quote
  #2 (permalink)  
Old 09-04-2009, 09:50 AM
Moderator
 
Posts: 5,806
Default

Welcome to the forums

If you have restarted ZCS then /opt/zimbra/postfix/conf/main.cf will have been over-written. You need to make the changes to /opt/zimbra/conf/zmmta.cf and then restart ZCS.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #3 (permalink)  
Old 09-04-2009, 09:56 AM
Junior Member
 
Posts: 5
Default

thnks for ur quick rply..

how do i start ZCS and what changes required in opt/zimbra/conf/zmmta.cf

sandeep singh
Reply With Quote
  #4 (permalink)  
Old 09-06-2009, 11:30 PM
Junior Member
 
Posts: 5
Default

hey Ubox,

i am waiting for your reply...


sandeep.singh
Reply With Quote
  #5 (permalink)  
Old 09-07-2009, 12:08 AM
Moderator
 
Posts: 5,806
Default

Quote:
Originally Posted by sandeep.singh View Post
how do i start ZCS
what do you mean ?
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #6 (permalink)  
Old 09-07-2009, 12:16 AM
Junior Member
 
Posts: 5
Default

as you said..

( If you have restarted ZCS then /opt/zimbra/postfix/conf/main.cf will have been over-written. You need to make the changes to /opt/zimbra/conf/zmmta.cf and then restart ZCS )

what all changes i need to do.
Reply With Quote
  #7 (permalink)  
Old 09-07-2009, 12:37 AM
Moderator
 
Posts: 5,806
Default

For the time being make the changes to main.cf so that you get your install back up and running.
__________________
SplatNIX IT Services :: Innovation through Collaboration™


http://www.messagefortress.com
Reply With Quote
  #8 (permalink)  
Old 09-07-2009, 01:41 AM
Junior Member
 
Posts: 5
Default

it done..

plz check the configuration....

$ vi /opt/zimbra/postfix/conf/permitted_senders

localhost OK
pinelabs.com OK
zimbra.pinelabs.com OK
sandeep.singh@pinelabs.com OK ------> valid user
~

$ vi /opt/zimbra/postfix/conf/protected_recipients

#pine-all@pinelabs.com permitted_senders_list
ithelp@pinelabs.com permitted_senders_list -----> my DL

$ /opt/zimbra/postfix/conf/update_protected_recipients

rebuild permitted_senders...
rebuild protected_recipients....

$ vi /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%%
%%contains VAR:zimbraMtaRestriction reject_unknown_hostname%%
%%contains VAR:zimbraMtaRestriction reject_unknown_sender_domain%%
%%explode reject_rbl_client VAR:zimbraMtaRestrictionRBLs%%
%%contains VAR:zimbraMtaRestriction check_policy_service unixrivate/policy%%
permit


$ postfix reload ---> OK

# here is the permission details...
total 288
drwxrwxr-x 2 root postfix 4096 2009-09-07 13:00 .
drwxr-xr-x 6 root root 4096 2009-06-17 22:26 ..
-rw-r--r-- 1 root postfix 17869 2009-04-13 23:54 access
-rw-r--r-- 1 root postfix 8829 2009-04-13 23:54 aliases
-rw-r--r-- 1 root postfix 3548 2009-04-13 23:54 bounce.cf.default
-rw-r--r-- 1 root postfix 11681 2009-04-13 23:54 canonical
-rw-r--r-- 1 root postfix 9904 2009-04-13 23:54 generic
-rw-r--r-- 1 root postfix 17439 2009-04-13 23:54 header_checks
-rw-r--r-- 1 root postfix 11942 2009-04-13 23:54 LICENSE
-rw-r--r-- 1 zimbra zimbra 2311 2009-09-07 13:00 main.cf
-rw-r----- 1 zimbra zimbra 2082 2009-09-04 14:15 main.cf.bkp
-rw-r--r-- 1 root postfix 18426 2009-04-13 23:54 main.cf.default
-rw-r--r-- 1 root postfix 3383 2009-04-13 23:54 makedefs.out
-r--r----- 1 zimbra zimbra 5269 2009-09-07 12:56 master.cf
-rw-r--r-- 1 zimbra zimbra 5363 2009-04-29 18:33 master.cf.in
-rw-r----- 1 root postfix 86 2009-09-04 20:30 permitted_senders
-rw-r----- 1 zimbra zimbra 54 2009-09-04 13:47 permitted_senders.bkp
-rw-r----- 1 zimbra zimbra 12288 2009-09-07 12:55 permitted_senders.db
-rw-r--r-- 1 root postfix 17588 2009-04-13 23:54 postfix-files
-rwxr-xr-x 1 root postfix 6647 2009-04-13 23:54 postfix-script
-rwxr-xr-x 1 root postfix 22197 2009-04-13 23:54 post-install
-rw------- 1 root root 1024 2009-09-07 12:56 prng_exch
-rw-r----- 1 root postfix 91 2009-09-04 20:31 protected_recipients
-rw-r----- 1 zimbra zimbra 45 2009-09-04 13:50 protected_recipients.bkp
-rw-r----- 1 zimbra zimbra 12288 2009-09-07 12:55 protected_recipients.db
-rw-r--r-- 1 root postfix 6816 2009-04-13 23:54 relocated
-rw-r--r-- 1 root postfix 1629 2009-04-13 23:54 TLS_LICENSE
-rw-r--r-- 1 root postfix 12357 2009-04-13 23:54 transport
-rwxr-xr-x 1 root postfix 192 2009-07-30 16:42 update_protected_recipients
-rw-r--r-- 1 root postfix 12494 2009-04-13 23:54 virtual

at the time of modifying... $ vi /opt/zimbra/postfix/conf/main.cf , thr is a NOTE

[add these items to the file - note permitted_senders_list must match value in protected_recipients]
**Note this change to the main.cf won't survive upgrades. Be sure to save a copy of your main.cf file**

wht does below two line says...

**** i had added these two line at the end of the file...**********

permitted_senders_list = check_sender_access hash:/opt/zimbra/postfix/conf/permitted_senders, reject
smtpd_restriction_classes = permitted_senders_list

Last edited by sandeep.singh : 09-07-2009 at 02:08 AM.
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0