View Single Post
  #28 (permalink)  
Old 04-16-2006, 03:12 PM
lievacke lievacke is offline
Junior Member
 
Posts: 6
Default

Allright, we're one step further down the road:

zimbra@krab:~$ zmprov ms krab.ugent.be zimbraMtaAuthHost langoest.ugent.be
zimbra@krab:~$ zmcontrol stop
Host krab.ugent.be
Stopping antispam...Done
Stopping antivirus...Done
Stopping logger...Done
Stopping mailbox...Done
Stopping mta...Done
Stopping snmp...Done
Stopping spell...Done
zimbra@krab:~$ zmcontrol start
Host krab.ugent.be
Starting antispam...Done.
Starting antivirus...Done.
Starting mta...Done.
zimbra@krab:~$ zmcontrol status
Host krab.ugent.be
antispam Running
antivirus Running
mta Running
zimbra@krab:~$

about the postqueue permissions, is setuid postdrop:

zimbra@krab:~$ ls -al ~/postfix/sbin/postqueue
-rwxr-sr-x 1 root postdrop 462628 Mar 10 00:24 /opt/zimbra/postfix/sbin/postqueue
zimbra@krab:~$

Looked a bit further to the defaults on a postfix debian package, and it seems like the diff is in the postfix/spool/public (mind the postdrop group ownership of the public dir and its contents and the setgid on the dir itselve):

krab:/opt/zimbra# ls -al postfix/spool/public/
total 8
drwx--x--- 2 postfix postdrop 4096 Apr 16 22:54 .
drwxr-xr-x 16 root postfix 4096 Apr 14 14:58 ..
srw-rw-rw- 1 postfix postfix 0 Apr 16 22:54 cleanup
srw-rw-rw- 1 postfix postfix 0 Apr 16 22:54 flush
prw--w--w- 1 postfix postfix 0 Apr 16 23:02 pickup
prw--w--w- 1 postfix postfix 0 Apr 16 22:59 qmgr
srw-rw-rw- 1 postfix postfix 0 Apr 16 22:54 showq
krab:/opt/zimbra#

While a debian package lists the permissions as follows:

lieven@grasshop:/var/spool$ sudo ls -al postfix/public/
totaal 8
drwx--s--- 2 postfix postdrop 4096 2006-04-08 22:48 .
drwxr-xr-x 19 root root 4096 2006-04-08 00:05 ..
srw-rw-rw- 1 postfix postdrop 0 2006-04-08 22:48 cleanup
srw-rw-rw- 1 postfix postdrop 0 2006-04-08 22:48 flush
prw--w--w- 1 postfix postdrop 0 2006-04-16 23:03 pickup
prw--w--w- 1 postfix postdrop 0 2006-04-16 22:59 qmgr
srw-rw-rw- 1 postfix postdrop 0 2006-04-08 22:48 showq
lieven@grasshop:/var/spool$
Reply With Quote