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 08-12-2010, 09:42 AM
Certified Zimbra Partner
 
Posts: 6
Default Restrict sending email by user

Hi, I was implementing postfix restrictions inside zimbra/posttfix to avoid some users can not send email outside internal domain.

in "http://wiki.zimbra.com/wiki/Restrict_sending_to_certain_domains" it's well documented

In this examples, it show how define some postfix statement inside /opt/zimbra/conf/zmmta.cf and ilustrate the postfix statement "smtpd_restriction_classes"

Nevertheless, when I was using this statement in this case:

part of /opt/zimbra/conf/zmmta.cf :

POSTCONF smtpd_sender_restrictions FILE postfix_sender_restrictions.cf
POSTCONF smtpd_restriction_classes list1, list2
POSTCONF list1 FILE postfix_restrict_list1.cf
POSTCONF list2 FILE postfix_restrict_list2.cf


(please note that I'm defining two clases "list1" and "list2")

I did zmmtactl restart and after I execute a "postconf" and I saw that zimbra set just ONE classes "list1" and not the two classes !

So, I had to move classes definitions from /opt/zimbra/conf/zmmta.cf to /opt/zimbra/conf/zmmta.cf

It's a bug?
I tried
POSTCONF smtpd_restriction_classes list1, list2
and
POSTCONF smtpd_restriction_classes list1 list2

in both cases , it load to postfix the first class "list1"

some ideas?
Reply With Quote
  #2 (permalink)  
Old 08-30-2011, 02:51 AM
Starter Member
 
Posts: 1
Default

Try Using,
POSTCONF smtpd_restriction_classes list1,list2
instead of
POSTCONF smtpd_restriction_classes list1, list2

note: without the space in between "list1," and "list2"
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.