I Listed all the directories as imap:
imap@www:~/cyrus-imapd-2.0.14$ ls -ld /var/imap/socket/lmtp
srwxrwxrwx 1 imap imap 0 May 30 22:33 /var/imap/socket/lmtp=
imap@www:~/cyrus-imapd-2.0.14$ ls -ld /var/imap/socket
drwxr-xr-x 2 imap imap 4096 May 30 22:33 /var/imap/socket/
imap@www:~/cyrus-imapd-2.0.14$ ls -ld /var/imap
drwxr-x--- 13 imap imap 4096 May 30 03:28 /var/imap/
imap@www:~/cyrus-imapd-2.0.14$ ls -ld /var
drwxr-xr-x 19 root root 4096 May 29 19:01 /var/
I configured and compiled cyrus-imapd-2.0.12 with:
./configure --with-cyrus-user=imap --with-cyrus-group=imap \
--with-auth=unix >myconfig.log 2>&1
So I would hope deliver & lmtpd would be running as imap:imap. Is there a way
to check this?
On 31-May-2001 Daryl Tester wrote:
> "Tom Corner" <[EMAIL PROTECTED]> wrote:
>
>> May 30 22:35:16 www deliver[219]: connect(/var/imap/socket/lmtp) failed:
>> Permission denied
>>
>> Listing the socket reveals the folowing:
>>
>> root@www:/home/imap# ls -l --color
>> /var/imap/socket/lmtp/var/imap/socket/lmtp
>> srwxrwxrwx 1 root root 0 May 30 22:33 /var/imap/socket/lmtp
>
> You need to check the access at each directory level, not just on
> the final object. You're doing this as root, so you're not going
> to get any access problems. Trying su'ing to the user you're
> delivering as, then run your ls command. Odds are that one of
> the directories isn't letting you through.
>
> Regards,
> Daryl Tester
>
>
----------------------------------
E-Mail: Tom Corner <[EMAIL PROTECTED]>
Date: 31-May-2001
Time: 08:09:08
This message was sent by XFMail
----------------------------------