On Sun, Apr 21, 2002 at 01:47:17AM -0400, Christopher K. Norton wrote:
> I currently havd Postfix+Courier+Maildrop+LDAP working with one exception
> and I can't solve it.
> 
> Basically, the email is moved by maildrop to the proper
> /var/spool/mail/user/new and postfix moves it to the cur directory but the
> mail file has the wrong permissions and courier pop3d can't read the mail.
> I can manually change the permissions on the mail file and it pops fine.
> 
> What do I need to configure in Courier pop3 or maildrop to have it create a
> mail file with permissions other than myuser 600? For instance, with
> permissions 770.

Courier wants the Maildir to be in ~/Maildir, if you don't want to do
that, you need to use symlinks to get around it.  Here's what I do
(including permissions), and it works with Courier imapd.  I don't
have pop3d installed but it should work too with the same setup.

lrwxrwxrwx    1 root     root           14 Apr  7 13:41 /home/gary/Maildir -> 
/var/mail/gary/

drwx------    9 gary     mail          528 Apr 20 20:48 /var/mail/gary

drwx------    2 gary     gary           72 Apr 11 11:39 calendar
-rw-------    1 gary     gary            0 Apr 11 11:48 calendar.cache
-rw-r--r--    1 gary     gary          751 Apr 20 20:48 courierimapuiddb
drwx------    2 gary     gary         1152 Apr 20 20:45 cur
drwx------    2 gary     gary           48 Apr 20 20:43 new
-rw-------    1 gary     gary          146 Apr  7 13:59 sqwebmail-addressbook
-rw-------    1 gary     gary          109 Apr  8 16:11 sqwebmail-config
-rw-------    1 gary     gary        13539 Apr 11 11:48 sqwebmail-curcache.gdbm
-rw-------    1 gary     gary            4 Apr 11 11:48 sqwebmail-curcnt
-rw-------    1 gary     gary           78 Apr 11 11:39 sqwebmail-ip
-rw-------    1 gary     gary            1 Apr 11 11:48 sqwebmail-timestamp
-rw-------    1 gary     gary           16 Apr 11 11:48 sqwebmail-token
drwx------    2 gary     gary           48 Apr 21 12:09 tmp

The weird thing is that you mentioned it worked with the permissions
different - I can't understand that, unless Courier pop3d is more
flexible than imapd.

-- 
=Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to