Hello,
I am trying to create a shared folder, but am having trouble getting
imap and sqwebmail to work with it properly. I'm using Courier and
sqwebmail 0.47-4 from Debian Testing.
maildirmake -S /data/shared/prodmail/Maildir
maildirmake -s read -f Production /data/shared/prodmail/Maildir
$ cat /etc/courier/maildirshared
prodmail /data/shared/prodmail/Maildir
When I log into sqwebmail, I can see prodmail and can subscribe to
Production. However, sqwebmail shows there are no messages, yet there
are messages in new (example follows):
1125438554.M409629P1180V0000000000004802I0008F187_0.ops-ext-1,S=6746
I looked in mail.log and see that sqwebmaild is trying to manipulate the
folder directly, which is unexpected. I think correct behavior is to
manipulate symbolic links in
/home/pryan/Maildir/shared-folders/prodmail/Production.
An example from /var/log/mail.log:
Aug 30 14:56:03 ops-ext-1 sqwebmaild:
rename(/data/shared/prodmail/Maildir/.Production/new/1125435603.M9
15923P31785V0000000000004802I00089F92_0.ops-ext-1,S=828,/data/shared/prodmail/Maildir/.Production/cur/11
25435603.M915923P31785V0000000000004802I00089F92_0.ops-ext-1,S=828:2,) failed:
Permission denied
The shared-folders directory was created automatically for the user I
used to log into sqwebmail:
ops-ext-1:/home/pryan/Maildir/shared-folders# ls -lR
.:
total 0
drwx------ 3 pryan users 80 Aug 30 15:01 prodmail
./prodmail:
total 0
drwx------ 5 pryan users 176 Aug 30 15:01 Production
./prodmail/Production:
total 4
drwx------ 2 pryan users 48 Aug 30 15:01 cur
drwx------ 2 pryan users 48 Aug 30 15:01 new
lrwxrwxrwx 1 pryan users 40 Aug 30 15:01 shared ->
/data/shared/prodmail/Maildir/.Production
-rw------- 1 pryan users 1 Aug 30 15:01 shared-timestamp
drwx------ 2 pryan users 48 Aug 30 15:01 tmp
./prodmail/Production/cur:
total 0
./prodmail/Production/new:
total 0
./prodmail/Production/tmp:
total 0
ops-ext-1:/home/pryan/Maildir/shared-folders#
What is wrong? Is there a maildiracl setting I'm missing? Some other
configuration? Known problem?
Thanks,
Patrick