Results 1 to 4 of 4

Thread: Unable to Restricting users to send mails to certain domains in Release 7.1.0_GA_3140

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Question Unable to Restricting users to send mails to certain domains in Release 7.1.0_GA_3140

    Hi,
    I have configured exctaly according to bellow link
    Restrict users to certain domain - Zimbra :: Wiki

    same will work fine in old zimbra foss version but not work with Release 7.1.0_GA_3140.RHEL5_64_20110329150833 CentOS5_64 FOSS edition ( it will blocking all domains and all addresses insted of defined in /opt/zimbra/postfix/conf/local_domains )

    Thanks and waiting for suggestions.
    Last edited by phoenix; 01-04-2012 at 12:06 AM.

  2. #2
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    [zimbra@mail]$ more /opt/zimbra/conf/postfix_recipient_restrictions.cf

    check_sender_access hash:/opt/zimbra/postfix/conf/restricted_senders
    %%contains VAR:zimbraServiceEnabled cbpolicyd, check_policy_service inet:127.0.0.1:10031%%
    reject_non_fqdn_recipient
    permit_sasl_authenticated
    permit_mynetworks
    reject_unauth_destination
    reject_unlisted_recipient


    [zimbra@mail]$ more /opt/zimbra/conf/zmmta.cf | grep -2 "SECTION mta"

    SECTION mta DEPENDS amavis
    POSTCONF smtpd_restriction_classes local_only
    POSTCONF local_only FILE postfix_check_recipient_access.cf


    [zimbra@mail]$ more /opt/zimbra/conf/postfix_check_recipient_access.cf

    #permit to only specified addresses and sending all others are also blocked
    check_recipient_access hash:/opt/zimbra/postfix/conf/local_domains, reject


    [zimbra@mail]$ more /opt/zimbra/postfix/conf/restricted_senders
    # sending restriction
    test@mydomain.com local_only

    [zimbra@mail]$ more /opt/zimbra/postfix/conf/local_domains

    administrator@mydomain.com OK
    test@mydomain.com OK
    user1@mydomain.com OK
    user2@mydomain.com OK

    [zimbra@mail]$ su
    chown root /opt/zimbra/postfix/conf/*.*
    chown root /opt/zimbra/postfix/conf/*
    chgrp postfix /opt/zimbra/postfix/conf/*.*
    chgrp postfix /opt/zimbra/postfix/conf/*
    postmap /opt/zimbra/postfix/conf/local_domains
    postmap /opt/zimbra/postfix/conf/restricted_senders

    [zimbra@mail]$exit
    [zimbra@mail]$zmmtactl stop; zmmtactl start

    now insted of given addresses user1@mydomain.com; user2@mydomain.com etc... i am unable to send mail to any addresses.
    Last edited by sadiq007; 01-04-2012 at 12:52 AM. Reason: add more

  3. #3
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    No dear we can assign both things domain and addresses also, both will work in my old zimbra version bellow is my complete /opt/zimbra/postfix/conf/local_domains

    administrator@mydomain.com OK
    test@mydomain.com OK
    user1@mydomain.com OK
    user2@mydomain.com OK
    mydomain2.com OK
    domain3.com OK

    but still everything is blocked for that user.
    Last edited by sadiq007; 01-04-2012 at 02:20 AM. Reason: add more

  4. #4
    Join Date
    May 2009
    Location
    INDIA
    Posts
    104
    Rep Power
    6

    Default

    Any updates?

Similar Threads

  1. issues blocking outer domains to certain users...
    By timothyalangorman in forum Administrators
    Replies: 1
    Last Post: 04-18-2011, 06:11 AM
  2. Replies: 5
    Last Post: 06-18-2008, 01:50 AM
  3. Replies: 1
    Last Post: 05-11-2006, 05:18 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
  •