Results 1 to 2 of 2

Thread: how to modify postfix main.cf smtp_recipient_restrictions option ?

  1. #1
    apammn is offline Starter Member
    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    3

    Default how to modify postfix main.cf smtp_recipient_restrictions option ?

    Hello ,

    I tried to follow the wiki article RestrictPostfixRecipients - Zimbra :: Wiki
    without success.
    My goal is to limit sender to a particular recipient ( recipient is distribution list )

    when I set
    smtpd_recipient_restrictions = check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients, (rest of line here)
    in main.cf, as article say , this option is resetted after "postfix reload"

    How can I set up the smtpd_recipient_restrictions option in portfic main.cf file ?

    Reading manual at chapter 5 I found information about smtp restriction
    "In the administration console, you can enable restrictions so that messages are not accepted by Postfix when non-standard or ... "

    but I did not found this option in admin console

    Please can someone show me where I can change this option ?

    Thanks a lot


    Giuseppe

  2. #2
    apammn is offline Starter Member
    Join Date
    Mar 2012
    Posts
    2
    Rep Power
    3

    Default

    I found the solution

    the smtpd_recipient_restrictions parameters of postfix main.cf file is set by
    a more general zimbra configuration file place into /opt/zimbra/conf and named
    postfix_recipient_restrictions.cf

    So putting the line
    check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients
    as 1st row in this file and reload postfix
    solve the problem

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. postdrop fail to create file after upgrade to 5.0.3
    By echoadisan in forum Installation
    Replies: 23
    Last Post: 07-15-2013, 03:02 PM
  2. Replies: 2
    Last Post: 11-15-2011, 12:03 PM
  3. Replies: 11
    Last Post: 07-31-2011, 12:10 PM
  4. Does adding smtpd_milters to main.cf in postfix work?
    By visualsoftspace in forum Installation
    Replies: 2
    Last Post: 12-07-2007, 10:19 AM
  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
  •