1
Moving .grp without losing the flags
Question asked by Sabatino - 6/27/2022 at 9:47 AM
Answered
I would run to create a script to archive messages older than xx days in each subfolder of an account.
Then moving these messages to another folder of a specially created account, recreating the entire folder structure

The idea was to move the .grp and then run the recursive rebuild on the target account

From the first tests it works, but there is a problem. Messages lose their flags, so it is no longer indicated on the message whether it has been forwarded or replied to
Sabatino Traini
      Chief Information Officer
Genial s.r.l. 
Martinsicuro - Italy

3 Replies

Reply to Thread
0
Zach Sylvester Replied
Employee Post Marked As Answer
Hey Sabatino, 

Thank you for reaching out to the community. The Flags etc are stored in the mailbox.cfg. It is also not recommended to move or touch any files while the service is running. I recommend that you use MailStore or another backup solution. 

Please let me know if this helps. 

Kind Regards, 
Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com
0
CLEBER SAAD Replied
The better way it's using IMAP connection. Try to filter by date and move around the folders.
0
Zach Sylvester Replied
Employee Post
Hello, 

Since you are coding something anyways you could use this IMAP library. 
It seems pretty straight forward but I haven't used it before. 

Kind Regards, 
Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com

Reply to Thread