Results 1 to 5 of 5

Thread: [SOLVED] Postfix permissions

  1. #1
    Join Date
    Jan 2009
    Posts
    47
    Rep Power
    6

    Default [SOLVED] Postfix permissions

    Hi. I am having trouble monitoring postfix because of permissions. Before I go ahead and change anything, could someone please tell me what the permissions and ownership should be for /opt/zimbra/data/postfix directory and sub-directories.

    (I know I can run fixperms but I prefer knowing what it should be doing.)

    At the moment, the ownership is a mixture of postfix and root (not zimbra).

    I specifically need to be able to access the master.pid file.

    Thanks
    Paul
    Paul Gallimore

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    ls -l /opt/zimbra/data/postfix/spool/
    total 56
    drwx------  2 postfix postfix  4096 Aug 10 11:08 active
    drwx------  2 postfix postfix  4096 Jun 19 16:50 bounce
    drwx------  2 postfix postfix  4096 Mar 25  2008 corrupt
    drwx------ 17 postfix postfix  4096 Feb  2  2008 defer
    drwx------ 17 postfix postfix  4096 Feb  2  2008 deferred
    drwx------  2 postfix postfix  4096 Mar 25  2008 flush
    drwx------  2 postfix postfix  4096 Mar 25  2008 hold
    drwx------  2 postfix postfix  4096 Aug 10 11:08 incoming
    drwx-wx---  2 postfix postdrop 4096 Aug  8 11:07 maildrop
    drwxr-xr-x  2 postfix root     4096 May  7  2008 pid
    drwx------  2 postfix postfix  4096 Aug  8 11:05 private
    drwx--x---  2 postfix postdrop 4096 Aug  8 11:05 public
    drwx------  2 postfix postfix  4096 Mar 25  2008 saved
    drwx------  2 postfix postfix  4096 Feb 16 12:49 trace

  3. #3
    Join Date
    Jan 2009
    Posts
    47
    Rep Power
    6

    Default

    Thanks. The only difference I have from your listsing is the PID directory is postfix/postfix not postfix/root.

    The pid directory itself has

    Code:
    [zimbra@zimbra log]$ ls -l /opt/zimbra/data/postfix/spool/pid
    total 4
    -rw------- 1 postfix postfix  0 Jun  9 01:10 inet.127.0.0.1:10025
    -rw------- 1 postfix postfix  0 Jun  9 01:10 inet.smtp
    -rw----r-- 1 postfix postfix 17 Aug 10 01:32 master.pid
    -rw------- 1 postfix postfix  0 Jul  6 15:53 unix.bounce
    -rw------- 1 postfix postfix  0 Jun  9 01:10 unix.cleanup
    -rw------- 1 postfix postfix  0 Jul 15 10:36 unix.defer
    -rw------- 1 root    root     0 Jul 28 08:25 unix.error
    -rw------- 1 postfix postfix  0 Jun  9 01:10 unix.lmtp
    -rw------- 1 postfix postfix  0 Jun  8 11:25 unix.showq
    -rw------- 1 postfix postfix  0 Jun  9 14:18 unix.smtp
    -rw------- 1 postfix postfix  0 Jun  9 01:10 unix.smtp-amavis
    Notice I tried to add read permission to others for master.pid but still get permission denied when trying to view it (as zimbra in my case).

    Does this also look ok?
    Paul Gallimore

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Code:
    chmod 644 master.pid

  5. #5
    Join Date
    Jan 2009
    Posts
    47
    Rep Power
    6

    Default

    Thanks. I am able to see the content now and Hyperic appears to be monitoring the component.
    Paul Gallimore

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] Distribution list
    By chandu in forum Administrators
    Replies: 16
    Last Post: 04-02-2009, 06:17 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. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 07:11 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
  •