Results 1 to 5 of 5

Thread: How modify main.cf smtpd_data_restrictions

  1. #1
    latre is offline Intermediate Member
    Join Date
    Apr 2008
    Posts
    19
    Rep Power
    7

    Exclamation How modify main.cf smtpd_data_restrictions

    Hi people, i want modify smtpd_data_restrictions, smtpd_end_of_data_restrictions and smtpd_client_restrictions, if i modify direct in main.cf when restart the services main.cf back to the original file, mean no changes allowed??

    Fisrt i change smtpd_recipient_restrictions with /opt/zimbra/conf/postfix_recipient_restrictions.cf

    But now need change smtpd_data_restrictions, smtpd_end_of_data_restrictions and smtpd_client_restrictions but i cant modify.

    Im installing apolicy with zimbra but not works if i not change that.

    tnk you
    Last edited by latre; 06-13-2009 at 03:28 PM.

  2. #2
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    6

    Default

    suggest that you should modify Postfix parameters by "postconf" command.

  3. #3
    latre is offline Intermediate Member
    Join Date
    Apr 2008
    Posts
    19
    Rep Power
    7

    Default

    Quote Originally Posted by tiger2000 View Post
    suggest that you should modify Postfix parameters by "postconf" command.
    When modify the files came back to default......so not accept changes...

  4. #4
    quanah is online now Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,196
    Rep Power
    9

    Default

    You need to modify the localconfig variables that rewrite that data, using zmlocalconfig. For example:
    Code:
    [zimbra@freelancer ~]$ zmlocalconfig | grep smtpd_data_restrictions
    postfix_smtpd_data_restrictions = reject_unauth_pipelining
    and
    Code:
    zmlocalconfig | grep client_restrictions
    postfix_smtpd_client_restrictions = reject_unauth_pipelining
    The last one you'll likely have to modify via postconf.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  5. #5
    latre is offline Intermediate Member
    Join Date
    Apr 2008
    Posts
    19
    Rep Power
    7

    Default

    Quote Originally Posted by quanah View Post
    You need to modify the localconfig variables that rewrite that data, using zmlocalconfig. For example:
    Code:
    [zimbra@freelancer ~]$ zmlocalconfig | grep smtpd_data_restrictions
    postfix_smtpd_data_restrictions = reject_unauth_pipelining
    and
    Code:
    zmlocalconfig | grep client_restrictions
    postfix_smtpd_client_restrictions = reject_unauth_pipelining
    The last one you'll likely have to modify via postconf.
    the same, when use zmlocalconfig -e , then restart the mta and again back to the default.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. LDAP Search and Modify ???
    By adeelarifbhatti in forum Administrators
    Replies: 3
    Last Post: 03-12-2009, 10:29 PM
  2. main.cf files b0rked after upgrades
    By Mark Daniel in forum Administrators
    Replies: 2
    Last Post: 04-26-2008, 11:43 AM
  3. Replies: 47
    Last Post: 11-10-2007, 08:24 AM
  4. main.cf "not owned by root" ?
    By goran in forum Administrators
    Replies: 5
    Last Post: 07-14-2007, 04:07 PM
  5. Replies: 4
    Last Post: 10-19-2006, 08:58 PM

Posting Permissions

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