Koozali.org: home of the SME Server

I've wrecked my email messages!!

Neville Caine

I've wrecked my email messages!!
« on: December 11, 2002, 01:03:10 PM »
I had been leaving all messages on the server but the number of messages had grown two large. I planned to copy the messages in all the user/....../maildir/cur directories to a new directory user/archive/maildir/cur (archive user created earlier) and then download all messages from the archive account to Outlook Express for archiving.

Copy worked fine. Set up Outlook Express to download messages. All messages found by can't be opened. What did I do? Can this situation be recovered?

I intended to get all messages off the server in this way so that I could back-up the server and upgrade.

Advice on where to go from here appreciated.

Neville

Jon Blakely

Re: I've wrecked my email messages!!
« Reply #1 on: December 11, 2002, 01:56:53 PM »
Neville,

Check the ownership of the mail in archive.

they will need to owned by archive

# chown -R archive.archive /user/archive/maildir/cur/*

Jon

Neville Caine

Re: I've wrecked my email messages!!
« Reply #2 on: December 13, 2002, 03:20:08 AM »
Jon Blakely wrote:
>
> Neville,
>
> Check the ownership of the mail in archive.
>
> they will need to owned by archive
>
> # chown -R archive.archive /user/archive/maildir/cur/*
>
> Jon

Thanks Jon.

I'm pretty new to Unix/Linux but I should have known this one. Changed permissions and can now get mail.

Neville

Neville Caine

Re: I've wrecked my email messages!!
« Reply #3 on: December 13, 2002, 03:21:08 AM »
Jon Blakely wrote:
>
> Neville,
>
> Check the ownership of the mail in archive.
>
> they will need to owned by archive
>
> # chown -R archive.archive /user/archive/maildir/cur/*
>
> Jon

Thanks Jon.

I'm pretty new to Unix/Linux but I should have known this one. Changed permissions and can now get mail.

Neville

Neville Caine

Re: I've wrecked my email messages!!
« Reply #4 on: December 13, 2002, 03:24:30 AM »
Jon Blakely wrote:
>
> Neville,
>
> Check the ownership of the mail in archive.
>
> they will need to owned by archive
>
> # chown -R archive.archive /user/archive/maildir/cur/*
>
> Jon

Thanks Jon.

I'm pretty new to Unix/Linux but I should have known this one. Changed permissions and can now get mail.

Neville