Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-10-2009, 03:46 AM
Active Member
 
Posts: 47
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
Reply With Quote
  #2 (permalink)  
Old 08-10-2009, 03:57 AM
Moderator
 
Posts: 7,928
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
__________________
Reply With Quote
  #3 (permalink)  
Old 08-10-2009, 04:42 AM
Active Member
 
Posts: 47
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
Reply With Quote
  #4 (permalink)  
Old 08-10-2009, 05:09 AM
Moderator
 
Posts: 7,928
Default

Code:
chmod 644 master.pid
__________________
Reply With Quote
  #5 (permalink)  
Old 08-10-2009, 05:22 AM
Active Member
 
Posts: 47
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.