[packaging] [Bug 2719] New: Permissions of /var/lib/imap/socket/lmtp

Kolab Bugzilla noreply at kolab.org
Tue Dec 31 17:24:30 CET 2013


https://issues.kolab.org/show_bug.cgi?id=2719

            Bug ID: 2719
           Summary: Permissions of /var/lib/imap/socket/lmtp
    Classification: Kolab Server
           Product: Kolab Server
           Version: 3.1-next
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: packaging - apt - debian
          Assignee: packaging-bugs at lists.kolabsys.com
          Reporter: jochen at jochen.org
       Ticket Type: ---

I've been playing with encrypting mail from/to postfix and did create some
errors. postfix tried to send me an error mail, but failed:

6C7944E1B2      784 Thu Dec 26 06:26:10  root at jochen.org
 (connect to kolab3.jochen.org[/var/lib/imap/socket/lmtp]: Permission denied)
                                         jochen at jochen.org

The permissions are as follows:

root at kolab3:/etc/roundcubemail# ls -l /var/lib/imap/socket/lmtp
srwxrwxrwx 1 root root 0 Dez 29 08:26 /var/lib/imap/socket/lmtp
root at kolab3:/etc/roundcubemail# ls -ld /var/
drwxr-xr-x 12 root root 4096 Nov 17 06:08 /var/
root at kolab3:/etc/roundcubemail# ls -ld /var/lib/
drwxr-xr-x 40 root root 4096 Dez 17 20:11 /var/lib/
root at kolab3:/etc/roundcubemail# ls -ld /var/lib/imap/
drwxr-x--- 13 cyrus mail 4096 Dez 29 21:56 /var/lib/imap/
root at kolab3:/etc/roundcubemail# ls -ld /var/lib/imap/socket
drwxr-x--- 2 cyrus mail 4096 Dez 29 08:26 /var/lib/imap/socket

Since the user postfix is not member of the group mail the socket is
unaccessible.
I see two choices, either allow access for all to the directories 
(I don't like that) like that:

> chmod o+rx /var/lib/imap
> chmod o+rx /var/lib/imap/socket

I finally added the user postfix to the mail group and the mails
were delivered after a postfix restart.

Shouldn't the postix user be member of group mail when the packages is
installed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolabsys.com/pipermail/packaging-bugs/attachments/20131231/e7223271/attachment.htm>


More information about the packaging-bugs mailing list