Koozali.org: home of the SME Server

Mailproblems sme-6.0

Rien

Mailproblems sme-6.0
« on: December 28, 2003, 05:48:39 PM »
My old server uses SME 5.6  which works fine. I bought a new server (new hardware) and installed SME 6.0 final. Then I made a backup from the user data and restored it on the new server.

I checked it and all the data seems to be on the right places. Also the mailfolders. The problem is that I can't reach the mail on my new SME 6.0 server. When I made a new mailaccount with Outlook Express to test where is go wrong,  it seems that SME 6.0 uses the /Maildir folder instead of the /Mail folder in SME 5.6

Also the  folders inside have a prefix ";" before the folder name f.i:
SME 5.6: "/Mail/Sent items" became in SME 6.0 "/Maildir/;Sent items" and
SME 5.6: "/Mail/Privat/Work" became in SME 6.0 "/Maildir/;Privat;Work" (no subdir)

Also I can't create mailrules with procmail. When I want to forward mail to an existing folder I get the message:
"you have forwarded to a folder which is not in Maildir format. A possible fix is to delete it and recreate with webmail"

What did I do wrong??

Andre

Re: Mailproblems sme-6.0
« Reply #1 on: January 01, 2004, 06:54:41 AM »
In version 6, the imap server has changed. The dovecot imap server is now being used. When doing an upgrade, the folders get migrated automatically. However, since you just did a restore after a clean install, you will need to do this migration manually. Login as root and give the command:

/etc/e-smith/events/actions/imap-relocate-maildirs

That should migrate your folders for all users. Not sure about your procmail issue.

HTH, make sure you have a backup first,

André
.

Rien

Re: Mailproblems sme-6.0
« Reply #2 on: January 06, 2004, 10:16:33 PM »
Thanks,

Because it was a clean install, I solved the problem by first installing 5.6 and then upgrade to 6.0. Also promail works fine now.


Rien