Welcome, Guest
Please Login or Register.
Lost Password?
Re:Userman folder sorting (1 viewing)
Post Reply

TOPIC: Re:Userman folder sorting

#6043
ChristianReitz (User)
Posts: 39
graphgraph
Userman folder sorting 2007/07/12 16:25  
Standard usermin folder sorting seem to be based on the ID in the directory. If you move something to other folders the sorting might be totally messed up.

Then if you try to sort it by date, it is still sorted by name or something, then date.

I wish I had the option to just sort it by date and nothing else.
Or did I miss something? ;)
  The administrator has disabled public write access.
#6052
Joe (Admin)
Posts: 4213
graph
Re:Userman folder sorting 2007/07/12 21:24  
Hey Christian,

There's been some discussion recently on the webmin mailing list about just this sort of thing, though I don't think I fully grasped the implications. I'll ask Jamie to chime in with his thoughts. (I'm having troubles with Usermin date sorting as well...) ;-)
  The administrator has disabled public write access.
#6065
ChristianReitz (User)
Posts: 39
graphgraph
Re:Userman folder sorting 2007/07/13 08:41  
In my case I moved from a mailbox on another server to the new virtualmin based one. I moved it beeing connected to both the new and the old mailbox via IMAP and just copied it then.

The result is new IDs sorted based on the transfer order, not the received order. If you move then again between folders, it is all messed up.

You only have 3 sort options, built in, built and maildir (or something like that) and by name... just adding an option there to sort by date by default would help alot. But giving options in folder to remove the sorting on the folders would be very nice too.

Christian
  The administrator has disabled public write access.
#6089
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Userman folder sorting 2007/07/14 21:37  
Sorting by date in Usermin is supported - you just click on the Date column in the email list. The default sort order is based on the Maildir filename, which normally corresponds to the date mail was received .. although if you have been transferring mail between systems, this isn't guaranteed.

Could you tell me more about what goes wrong if you try to sort by Date by clicking on that header?
  The administrator has disabled public write access.
#6105
ChristianReitz (User)
Posts: 39
graphgraph
Re:Userman folder sorting 2007/07/15 18:50  
Hello Jamie,

first view with "built in, then ~/mail, then external" show a confusing list with sorting that does not make any sense to me.

If I click on date sorting, it seems to be somehow sorted, by I can't figure out the sorting schema.

It starts with about 10 entries sorted by date, but not starting with the current date emails. Then some others are shown and then it the current mails are shown, sorted by date...

Confusing... :P

Any ideas, how I could figure out the sorting here?
  The administrator has disabled public write access.
#6106
ChristianReitz (User)
Posts: 39
graphgraph
Re:Userman folder sorting 2007/07/15 18:55  
As additional info... horde does the date sorting as it should. I click on the column and it is shown in list, like expected.
  The administrator has disabled public write access.
#6110
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Userman folder sorting 2007/07/15 21:36  
This could be a case of Usermin's sort index for the folder being corrupted. To reset it, SSH into the server, cd to the mailbox user's home directory, then run :

rm .usermin/mailbox/_*.{dir,pag,db}

Then try viewing the sorted email list again. I'd be interested to know if this helps..
  The administrator has disabled public write access.
#6112
ChristianReitz (User)
Posts: 39
graphgraph
Re:Userman folder sorting 2007/07/15 23:53  
a) there was no file _*.db, the other 2 files were deleted.
b) after new access and sorting by date the 2 files were re-created, but the sorting in the folder is still the same.
  The administrator has disabled public write access.
#6132
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Userman folder sorting 2007/07/17 09:16  
If you click on one of the email messages that has the incorrect date order, what does it show in the Date field? I wonder if the cause is an email date format that Usermin can't parse..
  The administrator has disabled public write access.
#6133
JamieCameron (Admin)
Posts: 374
graphgraph
Re:Userman folder sorting 2007/07/17 09:16  
If you click on one of the email messages that has the incorrect date order, what does it show in the Date field? I wonder if the cause is an email date format that Usermin can't parse..
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.