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:
How do I set up dovecot to serve the present maildir to the user?
Related to 1: How do I migrate my emails to the new imap-maildir structure without losing any?
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:
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 optional
Don't ever add the "new" to procmailrc! See the "procmail problems" section in the wiki page.
Aupa!
El Martes, 4 de Julio de 2006 16:41, Marcus Rueckert escribió:
On 2006-07-04 16:20:35 +0200, Johann Spies wrote:
- X-Spam-Flag: YES saspam/new
I am no procmail expert. but shouldnt it be: "saspam/" without the new part?
As far as i know, that procmail rules are creating a new mbox in $MAILDIR/Ander/new and another one in saspam/new
Try these rules:
MAILDIR=$HOME/Mail/ # you'd better make sure it exists DEFAULT=$MAILDIR/Ander/ # completely optional :0:
- X-Spam-Flag: YES saspam/ :0:
- ^List-Id:
spamassassin/
And give a new chance to dovecot :)
Aaaaaaaaaagur.
Trying to make bits uncopyable is like trying to make water not wet. The sooner people accept this, and build business models that take this into account, the sooner people will start making money again. - Bruce Schneier
On Wed, Jul 05, 2006 at 08:59:41AM +0200, Joseba Torre wrote:
And give a new chance to dovecot :)
Thanks everyone for the help. I have tried again and a test installation is working at the moment - using evolution as a client. I still have problems with mutt and will try and sort that out over the weekend.
Regards Johann
Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch
"Greater love hath no man than this, that a man lay
down his life for his friends." John 15:13
participants (4)
-
Johann Spies
-
Joseba Torre
-
Marcus Rueckert
-
Timo Sirainen