Results 1 to 2 of 2

Thread: Restrict sending email by user

  1. #1
    ebory is offline Trained Alumni
    Join Date
    Nov 2008
    Posts
    7
    Rep Power
    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?

  2. #2
    erangadilshan is offline Starter Member
    Join Date
    Aug 2011
    Posts
    1
    Rep Power
    3

    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"

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. force Webmail user to send email with "smtp auth"
    By bonadio in forum Developers
    Replies: 11
    Last Post: 01-26-2012, 10:26 AM
  2. Ubuntu 804lts - Admin GUI Error for RBL's - Workaround
    By mshanley in forum Administrators
    Replies: 11
    Last Post: 01-01-2011, 07:35 AM
  3. Restricting incoming and outgoing email for user
    By tanhsjunk in forum Administrators
    Replies: 2
    Last Post: 09-30-2008, 08:10 PM
  4. Replies: 2
    Last Post: 02-29-2008, 02:08 PM
  5. Replies: 3
    Last Post: 07-19-2007, 02:00 AM

Posting Permissions

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