I do not have much experience in setting up imap servers - only that I
have tried several and experienced the same problem with all of them. I
suppose that is because I do not really know the in's and out's of an
imap server.
What I want to do is to setup an IMAP server on my PC with full access
to all the emails already there in a maildir structure.
I have the following setup:
fetchmail -> procmail -> maildir
exim for outgoing mail.
When I install an imap server, I loose access to my present emails in
~/Mail and most imap-servers (dovecot included) seems to create a new
structure within ~/Mail. ~/Maildir is a symlink to ~/Mail.
Now my questions:
1. How do I set up dovecot to serve the present maildir to the user?
2. Related to 1: How do I migrate my emails to the new imap-maildir
structure without losing any?
3. How would my present procmail-setup change? At the moment I have
entries like the following:
MAILDIR=$HOME/Mail # you'd better make sure it exists
DEFAULT=$MAILDIR/Ander/new # completely optional
:0:
* X-Spam-Flag: YES
saspam/new
:0:
* ^List-Id: <users.spamassassin.apache.org>
spamassassin/new
...
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"God is our refuge and strength, a very present help in
trouble."
Psalms 46:1
On Tue, 2006-07-04 at 16:20 +0200, Johann Spies wrote:> When I install an imap server, I loose access to my present emails in > ~/Mail and most imap-servers (dovecot included) seems to create a new > structure within ~/Mail. ~/Maildir is a symlink to ~/Mail.default_mail_env = maildir:~/Mail However Dovecot expects the maildir to be in Maildir++ format. See "Directory Structure" in http://wiki.dovecot.org/MailboxFormat/Maildir You'll have to rename your existing mailboxes to the Maildir++ layout format, or Dovecot won't see them.> DEFAULT=$MAILDIR/Ander/new # completely optionalDon't ever add the "new" to procmailrc! See the "procmail problems" section in the wiki page. -------------- 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/20060704/f35d14ac/attachment.bin>
On 2006-07-04 16:20:35 +0200, Johann Spies wrote:> * X-Spam-Flag: YES > saspam/newI am no procmail expert. but shouldnt it be: "saspam/" without the new part? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org