[plug] moving mail in postfix
ian at iball.id.au
ian at iball.id.au
Fri Apr 17 11:11:06 WST 2009
Out of curiousity, would simply appending the old mbox file to the new mbox
file cause any issues, since the emails would not be sequential in the file
(ie: old mail would appear after new mail)?
There is a lot to be said for Maildir's instead of Mboxes :)
--Ian
On Fri, 17 Apr 2009 11:00:46 +0800 (WST), Matt Kemner
<zombie at penguincare.com.au> wrote:
> Hi Jon
>
> On Fri, 17 Apr 2009, quoth Jon L. Miller:
>
>> We have a mailbox that has mail in /var/mail/username that we would like
>> to move to another user. Is there a way to move this file (username) to
>> another? Is this some sort of copy command to append the file to the new
>> user? I'm using aliase to redirect any new mail, but currently we want
>> to
>> see the old mail mail.
>
> It's just a text file, so you can append it using normal unix tools
>
> eg:
>
> cat /var/mail/oldusername >> /var/mail/newusername
>
> The >> means append, single > means overwrite
>
> - Matt
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
More information about the plug
mailing list