Hi there, im new to dovecot but I made my way trough configuring it. I almost get it running at least for one IMAP user. The problem is I got no local user thus no home directories, all Mailboxes are in mbox format under: /var/spool/mail: Looks like this: -SNIP- drwx------ 3 web1p2 poponly 19 2004-08-13 00:05 indexes -rw------- 1 nobody nobody 0 2004-03-26 21:51 nobody -rw------- 1 root root 0 2004-03-26 21:51 root -rw------- 1 web1p2 poponly 14 2004-08-13 00:10 .subscriptions -rw------- 1 web1p2 poponly 8571 2004-08-13 00:10 Trash -rw-rw---- 1 web0p1 root 23068262 2004-08-12 21:27 web0p1 -rw-rw---- 1 web0p2 root 17749 2004-08-12 23:55 web0p2 ... -SNAP I?ve set up the mail-environment this way: default_mail_env = mbox:/var/spool/mail/:INBOX=/var/spool/mail/%u:INDEX=/var/spool/mail/indexes/%u The problem is, that the directory "indexes" has permisions that only the owner can write to (well, I could change permissions, but?) and that the ".subscription" file and "Trash" folder is directly in this directory. So if I add a second user (e.g. web0p1) I got error messages imho due to the use of the "same" folder....? What would be the proposed setup for this system with mostly non-local users without real home directories and all their mbox in a shared directory? Thanks for your time! Daniel
Timo Sirainen
2004-Aug-15 19:20 UTC
[Dovecot] no local users - mbox all under /var/spool/mail/
On Fri, 2004-08-13 at 00:34 +0200, Daniel wrote:> What would be the proposed setup for this system with mostly non-local > users without real home directories and all their mbox in a shared > directory?Not supported. I wrote about it in the bottom of http://wiki.dovecot.org/moin.cgi/VirtualUsers -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040815/c7965611/attachment-0001.bin>
Apparently Analagous Threads
- Invalid mbox file /var/spool/mail/username: No such file or directory
- dovecot:mail storage creation failed with mail location:mbox:/HOME_DIRECTORY_USED_BUT_NOT_GIVEN_USERDB/mail:INBOX=/var/spool/mail/test1@poste.tn
- Dovecot v2.3.4.1 Debian 10.3 mbox format - Error: chdir(/var/spool/mail/domain/user) failed: Not a directory
- Quota for Shared Folders
- [cups] /var/spool/samba or /var/spool/cups/tmp