[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: imap4 locking fails



Try setting the protection bits on the /var/spool/mail directory to
drwxrwsr-x  
      ^
      +-- I think this is the big you need to change.

Hope this helps,
Bernt.

On Mon, 10 Mar 1997 winspace@void.hell.net wrote:

> Date: Mon, 10 Mar 1997 16:13:27 +1000
> From: winspace@void.hell.net
> To: debian-user@lists.debian.org
> Subject: imap4 locking fails
> 
> can anybody explain why the imap4 is behaving as shown below ? is it unable to 
> 
> lock the inbox and if so what is the remedy ? this occurs with all users.
> 
> Connected to mozart.void.hell.net.
> Escape character is '^]'.
> * OK mozart.void.hell.net IMAP4 Service 8.3(144) at Mon, 10 Mar 1997 15:52:58 
> +1100 (EST) (Report problems in this server to MRC@CAC.Washington.EDU)
> a001 login winspace xxxxxxxxxx
> a001 OK LOGIN completed
> a002 select inbox
> * NO Error creating /var/spool/mail/winspace.lock.857969608.30935.mozart: 
> Permission denied
> * 331 EXISTS
> * OK [UIDVALIDITY 857969609] UID validity status
> * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Draft \Seen)] Permanent 
> flags
> * OK [UNSEEN 1] 1 is first unseen
> * 331 RECENT
> a002 OK [READ-WRITE] SELECT completed
>  logout
> * NO Error creating /var/spool/mail/winspace.lock.857969626.30935.mozart: 
> Permission denied
> * BYE mozart.void.hell.net IMAP4 server terminating connection
>  OK LOGOUT completed
> Connection closed by foreign host.
> 
> permissions on directorys and mailfile /var/spool/mail/winspace
> drwxr-xr-x  12 root     root         1024 Jan  7 11:56 var
> drwxr-xr-x  12 root     root         1024 Nov  6 22:10 spool
> drwxrwxr-x   2 mail     mail         1024 Mar 10 15:52 mail
> -rw-------   1 winspace users     1045857 Mar 10 15:53 winspace
> -rw-rw----   1 administ mail         4370 Mar  8 16:12 administ
> 
> lsattr on directories
> ------- var
> ------- spool
> ------- mail
> 
> TIA and cheers
> 
> 
> 
> 
> +------------------------------------------------------------+
> |                                                            |
> |   _/_/         _/_/     _/_/_/_/_/_/      _/_/_/_/_/_/     |
> |   _/_/        _/_/     _/_/_/            _/_/              |
> |    _/_/ _/_/ _/_/      _/_/              _/_/_/            |
> |     _/_/_/_/_/_/       _/_/_/            _/_/              |
> |      _/_/  _/_/         _/_/_/_/_/_/      _/_/_/_/_/_/     |
> |                                                            |
> | winspace@geko.net.au - Software Engineering in SQL and C++ |
> +------------------------------------------------------------+
> 
> 
> 
> 

Bernt T. Hansen   Norang Consulting Inc.   bthansen@hookup.net
Computer Systems  235 Bellamy Road North   phone: (416)431-6216
Analyst           Scarborough,   Ontario   fax:   (416)431-2617
                  Canada         M1J-2L7


Reply to: