Results 1 to 8 of 8

Thread: restricting access to distribution list breaks postfix

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    7
    Rep Power
    8

    Default restricting access to distribution list breaks postfix

    I am running ZCS version 4.5.10 on an Apple G5 Server Dual 2.3 GHz with 4 GB of RAM running Mac OS X 10.4.11. I have followed the instructions for restricting delivery of mail to a distribution list and achieved success the first time. After editing the permitted_senders file to add additional authorized senders and running postmap on the file, postfix returns the following error:
    fatal: open database /opt/zimbra/postfix/conf/protected_recipients.db: Invalid argument

    Now, even configuring the restrictions from scratch returns this error and the postfix subsystem becomes unresponsive.

    Any input on this would be greatly appreciated.

  2. #2
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    fatal: open database /opt/zimbra/postfix/conf/protected_recipients.db: Invalid argument

    Seems you added some wrong values, maybe syntax. Can you check that file again. Also try deleting protected_recipients.db and rerunning postmap.

  3. #3
    Join Date
    Jan 2007
    Posts
    7
    Rep Power
    8

    Default

    I followed the instructions from RestrictPostfixRecipients - Zimbra :: Wiki verbatim. The system worked after I did it the first time. The error started after I added additional valid senders. I just tried the restriction configuration again from scratch and it didn't work.

    Any thoughts? Are there limits on the number of valid senders the system can hold? That doesn't seem likely, but I'm not ordained in Postfix Arcana, so I don't know for sure.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by clbutler View Post
    I followed the instructions from RestrictPostfixRecipients - Zimbra :: Wiki verbatim. The system worked after I did it the first time. The error started after I added additional valid senders. I just tried the restriction configuration again from scratch and it didn't work.

    Any thoughts? Are there limits on the number of valid senders the system can hold? That doesn't seem likely, but I'm not ordained in Postfix Arcana, so I don't know for sure.
    Did you add the additional senders as the zimbra user? Have a look at the permissions on the files and make sure they're correct.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Jan 2007
    Posts
    7
    Rep Power
    8

    Default

    I think the permissions are set to the defaults, owner=root, group=postfix. These were the permissions when I did the initial edits, I think. What should they be?

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by clbutler View Post
    I think the permissions are set to the defaults, owner=root, group=postfix. These were the permissions when I did the initial edits, I think. What should they be?
    Well, if you followed the instructions and did the creation of the /opt/zimbra/postfix/conf/permitted_senders
    file as the zimbra user then the owner/group would have been zimbra:zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Jan 2007
    Posts
    7
    Rep Power
    8

    Default

    even with the permissions set to zimbra:zimbra on the .db files, I still received the error. Should I run the /opt/zimbra/libexec/zmfixperms script?

  8. #8
    Join Date
    Jun 2008
    Posts
    594
    Rep Power
    8

    Default

    > fatal: open database /opt/zimbra/postfix/conf/protected_recipients.db: Invalid argument

    The error clearly says .db file is not proper. You need to check the file /opt/zimbra/postfix/conf/protected_recipients for some wrong entries ( maybe in terms of enter or space or some special character not supported in email address) just remove entries you added later and figure out what entry was wrong.

    Remember after any change you make to /opt/zimbra/postfix/conf/protected_recipients you need to run postmap so that it updates the db file.

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, 04:02 PM
  2. [SOLVED] Sudden problem synching with gmail
    By bouchardpie in forum Error Reports
    Replies: 8
    Last Post: 09-09-2010, 10:50 AM
  3. changed ip addr/zmmailboxdctl not running
    By pwhite76 in forum Installation
    Replies: 23
    Last Post: 03-11-2009, 12:43 PM
  4. DMZ relay to Zimbra internal host
    By swordfish in forum Installation
    Replies: 12
    Last Post: 02-04-2009, 11:30 AM
  5. Problem syncing all folders
    By mark_the_chain in forum Error Reports
    Replies: 0
    Last Post: 11-23-2008, 04:59 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
  •