Greetings! I dug thru the archives but didn't see a clear answer to this. A client has an existing sendmail/pop3 system, and I would like to switch to dovecot for imap support. For imap I much prefer the Maildir format over mbox, however, sendmail natively dumps to mbox (mailspool) and that is what pop typically reads. I've read the threads on how to make sendmail write to Maildir. My problem is that I'd like to support both pop/mailspool and imap/maildir. While running dovecot in imap-only it will use mbox format to read the /var/mail/user as the Inbox and then create the full imap structure under ~user/mail but in mbox format, not maildir. If/when I turn on both pop and imap in dovecot will it allow this with the current config? Or will I still need to convert sendmail output to maildir...and then I assume dovecot/pop will read from ~user/Maildir/Inbox even though it is in Maildir format? Basically, if I'd prefer to not have to convert sendmail to Maildir format, have dovecot always treat /var/mail/user as the Inbox for both pop and imap, and for those who switch to imap, have it store their other folders in ~user/Maildir. Asking too much? Thanks! John
Hello,>Basically, if I'd prefer to not have to convert sendmail to Maildir >format, have dovecot always treat /var/mail/user as the Inbox for both >pop and imap, and for those who switch to imap, have it store their >other folders in ~user/Maildir. Asking too much? >Also _just_ answered here, to be precise, yesterday. See the thread starting with: http://www.dovecot.org/list/dovecot/2004-June/003590.html Regards, Christian Balzer -- Christian Balzer Network/Systems Engineer NOC chibi at gol.com Global OnLine Japan/Fusion Network Services http://www.gol.com/
dovecot-bounces at dovecot.org wrote:> I dug thru the archives but didn't see a clear answer to > this. A client > has an existing sendmail/pop3 system, and I would like to switch to > dovecot for imap support. For imap I much prefer the Maildir > format over > mbox, however, sendmail natively dumps to mbox (mailspool) and that is > what pop typically reads. I've read the threads on how to > make sendmail > write to Maildir. > > My problem is that I'd like to support both pop/mailspool and > imap/maildir.My suggestion would be to use Dovecot as your POP and IMAP server. And convert everything to use Maildir unless there is some special reason you want to keep mbox format for. Setup procmail to deliver all mail to the maildir folders. See my previous message on how to do it. John -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting Q: What is the most annoying thing on usenet and in e-mail?
John Duino wrote:> That was the one question I haven't had answered (and it's > mostly just out of pure paranoia that I ask it :)Yes. POP email works fine with Maildir for me. I am using dovecot-0.99.10.5-1 which was on the development tree of Fedora. Though I would think the one that came stock with Fedora 2 should work as well. I have no reason to think it won't. One note. I don't use POP that much. I have one person who uses it and they haven't complained.> So if all the mail is moved to Maildir (thus eliminating the typical > mailspool), and somebody pop's onto the server, Dovecot will use the > Maildir/Inbox for the pop?Yes it will. If you read the mail-storages.txt documentation file it talks about it. I would read the section on "Detecting what to use". I did NOT set the default_mail_env variable in my /etc/dovecot.conf and it figured it out automagically :) Good luck, John