$50 to anyone who can help me fix this problem (serious)
Henrique de Moraes Holschuh
hmh at debian.org
Sat Nov 22 05:33:55 EST 2003
On Fri, 21 Nov 2003, Bruce A. Bergman wrote:
> A directory of /var/imap:
> drwxr-x--- 2 cyrus mail 4096 Nov 21 19:05 db
> drwxr-x--- 3 cyrus mail 4096 Jun 17 11:25 deliverdb
> drwxr-x--- 2 cyrus mail 4096 May 12 2003 log
> -rwxr-x--- 1 cyrus mail 0 Mar 2 2001 mailboxes
> -rw------- 1 cyrus root 16384 Nov 9 12:09 mailboxes.db
> drwxr-x--- 2 cyrus mail 4096 Dec 1 2002 msg
> drwxr-x--- 2 cyrus mail 8192 Nov 21 19:29 proc
> drwxr-x--- 28 cyrus mail 4096 Sep 19 2002 quota
> drwxr-xr-x 2 cyrus mail 4096 Nov 21 19:05 socket
> A directory of /var/imap/socket:
> srwxrwxrwx 1 root root 0 Nov 21 19:05 lmtp
> srwxrwxrwx 1 root root 0 May 15 2003 xyz
> In /var/log/messages, I see:
> Nov 21 19:51:03 mh2 deliver[20072]: connect(/var/imap/socket/lmtp) failed:
> Permission denied
sendmail needs filesystem permisions to have write access to
/var/imap/socket. A Unix socket is often rm'ed before it is re-created and
open.
There are many ways to archieve this, the simple one is to chmod 777
/var/imap/socket
Here, I have a unix group that has write access to that dir, and I have the
MTA and Cyrus belong to that group. It works well with postfix, and I
suppose it will work with sendmail too if you can tell it to use that group
when opening /var/imap/socket.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
More information about the Info-cyrus
mailing list