I have following problem with the combination Courier-IMAP with
Xmail:

*** Setup:
- I am running Xmail 1.2 (www.xmailserver.org) on a Debian Sarge
machine in a chroot environment (user xmail).
-> Xmail acts as the mail server and also POP server.

- Courier-IMAP comes from the normal Debian installation, including
the courier-authdaemon/courier-authmysql.
-> Courier should provide the IMAP access of the Maildir data.

*** Problem:
The first time I access a mail account using IMAP (btw. the XMail
pop works fine), it creates in the Maildir two files and a directory:
courierimapkeywords, imapsubscribed, imapuiddb
As the Courier stuff is running as root (from the debian default
installation), these files/directories are created with root privileges:
drwx------ 2 root root 4096 Sep 24 11:14 courierimapkeywords
-rw-r--r-- 1 root root 12 Sep 24 11:14 courierimapsubscribed
-rw-r--r-- 1 root root 15 Sep 24 11:14 courierimapuiddb

>From this time point on, Xmail can no more deliver any mails to
the Maildir...I always get following error:
vvv.xxx.yyy.zzz does not like recipient.
Remote host said: 552 Requested mail action aborted: exceeded storage allocation -
(if I change the ownership of the files to xmail, delivery works then again).
-> So I am only able to access my mail account once, the first time,
by IMAP...

If I "manually access the SMTP server it looks as follows:

telnet to xxx.com:
220 <[EMAIL PROTECTED]> [XMail 1.20 ESMTP Server] service ready; Fri, 24 Sep 2004 
20:19:35 -0000
HELO bbb.com
250 xxx.com
MAIL FROM:<[EMAIL PROTECTED]>
250 OK
RCPT TO:<[EMAIL PROTECTED]>
552 Requested mail action aborted: exceeded storage allocation - <[EMAIL PROTECTED]>
QUIT

I also tried to run Courier as user Xmail by adding "-user=xmail -group=xmail"
to TCPDOPTS in /etc/courier/imapd. I would prefer running Courier also
as Xmail user, what would solve the ownership problem with the files,
however the authentication with courier-authdaemon does not work then...


*** Question:

In the Xmail forum people tell me that the generated error is raised from
Courier and I there should post my question in the Courier mailing list
(although I don't understand the role of Courier-IMAP in the described
error scenario)


=> Can anyone give me a hint or solution to my problem???


Well...end of much talking. Hopefully someone has experience with this
setup or can give me some good hints! :-)

Thanks a lot for any help!



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to