Results 1 to 6 of 6

Thread: Warning: postfix-script

  1. #1
    Join Date
    Jun 2010
    Location
    Rajkot, India
    Posts
    160
    Rep Power
    5

    Default Warning: postfix-script

    Hello,

    I get following warnings in my 'daily mail report'
    Code:
    Warnings
    --------
      postfix-script (total: 19)
             6   not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/unix...
             4   not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/inet...
             1   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/sender_bcc
             1   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/recipient_...
             1   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/recipient_bcc
             1   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/master.cf
             1   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/sender_bcc.db
             1   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/master.cf.in
             1   not owned by postfix: /opt/zimbra/data/postfix/./spool/pid/mast...
             1   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/main.cf
             1   not owned by root: /opt/zimbra/data/postfix/spool
    Do I need chown these files ? to which user name?

    Thanks in advance,

    Dipesh

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

    Default

    Quote Originally Posted by infosyst View Post
    I'm going to leave the permissions alone unless someone explicitly says that I should change them.
    The permissions should not be changed.

    Quote Originally Posted by infosyst View Post
    If this is correct and they should NOT be changed, then we should probably file a bug report since that means that the warnings are erroneous.
    There's no need for a bug report, the messages are informational, nothing else.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Oct 2008
    Posts
    31
    Rep Power
    7

    Default

    I am also receiving these messages (see below) and would like to know if I should change ownership. The owner of most of this stuff is the zimbra user. The owner of /opt/zimbra/data/postfix/spool is postfix, and probably should not be changed based on what I found in THIS THREAD (zimbrafr.org).

    I'm going to leave the permissions alone unless someone explicitly says that I should change them. If this is correct and they should NOT be changed, then we should probably file a bug report since that means that the warnings are erroneous.

    Code:
    Warnings
    --------
      postfix-script (total: 8)
             2   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/main.cf
             2   not owned by root: /opt/zimbra/data/postfix/spool
             2   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/master.cf
             2   not owned by root: /opt/zimbra/postfix-2.6.7.2z/conf/master.cf.in

  4. #4
    Join Date
    Oct 2008
    Posts
    31
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    There's no need for a bug report, the messages are informational, nothing else.
    I suppose they are, but it seems misleading to me as it could easily cause admins to start tweaking their permissions because they mistakenly believe that they are set incorrectly.

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

    Default

    Quote Originally Posted by infosyst View Post
    I suppose they are, but it seems misleading to me as it could easily cause admins to start tweaking their permissions because they mistakenly believe that they are set incorrectly.
    They would soon find that it was a mistake, Zimbra won't work if the permissions are changed. Isn't an Admin supposed to investigate a problem before making changes to a production system?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    11

    Default

    This situation has been around with Zimbra for at least as long as we have been running Zimbra (since 4.0.3). For many years prior to that, we used Postfix as our MTA behind Horde, Squirrelmail, and a bunch of other systems, and we still use Postfix boxes as SmartHosts in front of Exchange servers.

    IMHO, this is more of a Postfix "issue" than a Zimbra issue. It's Postfix, not Zimbra, that is complaining about Postfix's files not being owned by root at a particular moment in time.

    I take your point that this kind of data in the log files may be inappropriately relied upon by inexperienced admins, but if you run, for example, dmesg on a freshly booted Linux box you will see all kinds of "failures" which could easily be (wrongly) interpreted as being much more serious than this one.

    There is a very active Postfix discussion list if you wanted to follow up there. They can be a bit prickly however if you haven't searched the list before posting!

    Hope that helps,
    Mark

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] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  3. Get mailbox size (for create quota warning SMTP script)
    By inigoml in forum Administrators
    Replies: 28
    Last Post: 08-21-2007, 07:35 AM
  4. Postfix warning
    By jimbo in forum Administrators
    Replies: 4
    Last Post: 06-21-2006, 10:10 PM
  5. Warning: Unresponsive script
    By yetdog in forum Administrators
    Replies: 5
    Last Post: 04-03-2006, 01:15 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
  •