[Dovecot] Postfix and Maildirs
Steve Sloan
steve at lansol.com.au
Sun Aug 24 07:02:54 EEST 2003
Hope someone can help me with this as I am presently stuck
I am setting up a new server with Dovecot 0.99.10, Redhat 9.0, Postfix,
Amavisd-new and maildir's in the users home drive.
I am using Netscape mail 7.1 as the main client to access the mail store
via imap which works fine and various other imap clients can access the
maildirs Ok as well.
The problem is when Postfix delivers a message is insists on making a
second Maildir directory in the user's home drive and put the message in
there.
The Maildir's are being created automatically ie. I didn't use
maildirmake. Even if I delete one of the Maildir's it just gets
recreated again.
ie. this is the test user's home drive
drwx------ 10 test2 test2 4096 Aug 23 20:53 Maildir
drwx------ 6 test2 test2 4096 Aug 24 11:05 Maildir
This is the Maildir that the clients are using and being accessed by Dovecot
drwx------ 10 test2 test2 4096 Aug 23 20:53 .
drwx------ 4 test2 test2 4096 Aug 24 11:05 ..
drwx------ 2 test2 test2 4096 Aug 23 19:58 cur
-rw------- 1 test2 test2 5 Aug 23 19:58 .customflags
drwx------ 5 test2 test2 4096 Aug 23 19:59 .Drafts
drwx------ 2 test2 test2 4096 Aug 23 19:58 .INBOX
drwx------ 2 test2 test2 4096 Aug 23 19:58 new
drwx------ 5 test2 test2 4096 Aug 23 20:15 .Sent
-rw------- 1 test2 test2 29 Aug 23 20:13 .subscriptions
drwx------ 5 test2 test2 4096 Aug 23 20:11 .test
drwx------ 2 test2 test2 4096 Aug 23 19:58 tmp
drwx------ 5 test2 test2 4096 Aug 23 20:11 .Trash
and the other one which Postfix user's
drwx------ 6 test2 test2 4096 Aug 24 11:05 .
drwx------ 4 test2 test2 4096 Aug 24 11:05 ..
drwx------ 2 test2 test2 4096 Aug 24 11:05 cur
-rw------- 1 test2 test2 5 Aug 24 11:05 .customflags
drwx------ 2 test2 test2 4096 Aug 24 11:05 .INBOX
drwx------ 2 test2 test2 4096 Aug 24 11:05 new
drwx------ 2 test2 test2 4096 Aug 24 11:05 tmp
This one has no index files and looks just like a courier Maildir
For Postfix main.cf I have set
home_mailbox = Maildir/
and
/etc/dovecot.conf
default_mail_env = maildir:/home/%u/Maildir
Hope this make sense to someone
Steve
--
_____________________________________________
LanSol Computers
283 Sir Donald Bradman Drv.
Brooklyn Park SA 5032
Ph 618 8238 3406 Fax 618 83538479
Mobile 0414 398166
Email steve at lansol.com.au
URL www.lansol.com.au
_____________________________________________
More information about the dovecot
mailing list