Thanks I solved the Maildir problem by removing the Maildir from the pop3d
command in the pop3d.rc file in the libexec directory. Remove Maildir from
this string "${exec_prefix}/bin/pop3d Maildir".
This works for the imapd.rc file also. If you remove the Maildir from the
startup command this tells the pop toaster to put the email in the mail
directory starting from the home directory relative path where the home
directory path might be /var/mail/username with cur,new, and tmp as sub
directories. This works without having to create the symlink to your unix
user home directory. I started out using the symbolic link approach.
My permissions is one that I still don't understand but I created a Maildir
user maildirmake under /var/mail called /var/mail/someuser with cur,new, and
tmp as subdirs. This works fine as long as the user is a virtual user.
Remember I'm using LDAP. I only have the permission problem if it is a
local user. It appears that I can setup a MTA/LDA/POP for virtual users or
local users but not both. At least I don't know how to do it yet. But this
is a MTA problem, I think, not a pop problem. It turned into a pop issue
because pop3 could not read the file because of the file permissions.
I'm definitely a novice trying to learn all of this.
Thanks for your input,
Chris
-----Original Message-----
From: Nicholas Riley [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 21, 2002 1:04 PM
To: Christopher K. Norton
Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] pop3d: Permission denied
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