[Dovecot] Trying to get dovecot and squirrelmail talking
I have been using dovecot+squirrelmail with no problems on my Fedora box (currently at F10). I've been using a simple mail location string along the lines of 'mbox:~/usr/mail/%u:INBOX=mbox:/var/spool/mail/%u' (sorry, that's off the top of my head, I can't get into my box from here at the moment).
Essentially: standard mbox inbox in /var/spool/mail/[user], plus mbox files under ~/usr/mail. These latter are for remote access to archived Thunderbird files, which are [currently] mbox format. This works fine.
However, I've had some slight issues elsewhere which I feel would be eased or solved by making my INBOX use maildir format, and keeping mails I want to remote-access more often in the top level maildir there (instead of always having to dip into the TB mboxes). To that end, I tried setting up:
# want to be able to add sibling and child folders here namespace private { separator = / prefix = location = /var/spool/mail/%u inbox = yes hidden = no list = yes } # And the legacy mbox files go here under 'local' namespace private { separator = / prefix = local/ location = mbox:~/usr/mail hidden = no list = yes }
(with appropriate an procmail change for maildir delivery)
Now, this pretty much worked the way I wanted. However, afterwards, trying to connect from squirrelmail I had it say that there were no [IMAP] folders to subscribe to, including the INBOX.
I couldn't se any errors, either in /var/log/maillog or http's logs.
Have I got something wrong? Am I trying to do something that's doomed to failure?
-- [neil@fnx ~]# rm -f .signature [neil@fnx ~]# ls -l .signature ls: .signature: No such file or directory [neil@fnx ~]# exit
On Mon, 2009-08-03 at 16:09 +0100, Neil Bird wrote:
However, I've had some slight issues elsewhere which I feel would be eased or solved by making my INBOX use maildir format, and keeping mails I want to remote-access more often in the top level maildir there (instead of always having to dip into the TB mboxes). To that end, I tried setting up:
# want to be able to add sibling and child folders here namespace private { separator = / prefix = location = /var/spool/mail/%u
location = maildir:/var/spool/mail/%u
is more robust.
inbox = yes hidden = no list = yes }
Now, this pretty much worked the way I wanted. However, afterwards, trying to connect from squirrelmail I had it say that there were no [IMAP] folders to subscribe to, including the INBOX.
Try talking directly with IMAP: http://wiki.dovecot.org/TestInstallation
The "c LIST "" *" part especially. Does it show anything? Set mail_debug=yes and it'll log the directories it's really using. Do you see your mails there?
Are you using Maildirs correctly? Note that Dovecot uses Maildir++ layout by default: http://wiki.dovecot.org/MailboxFormat/Maildir#Directory_Structure
participants (2)
-
Neil Bird
-
Timo Sirainen