[plug] moving mail in postfix

Jon L. Miller jlmiller at mmtnetworks.com.au
Fri Apr 17 11:17:17 WST 2009


Thanks for that Matt, I knew it was more than cat old_username >
new_username.

Jon
On Fri, April 17, 2009 11:00, Matt Kemner 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
>


-- 
Regards,

-----------------------------
Jon L. Miller MCNE CNE CCNA
East Perth, WA 6004
WA, Australia
--------------------------------




More information about the plug mailing list