You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Is there a way to sort the order of the Email accounts in the "f4-panel"
HiI would like to sort the amail account s like the bookmarks with lines sort order etc.
How can this be done without messing with the mail ini´s ?
And if its not possible it should be ...
Using 10+ Emailaccounts with opera ...
greets
I would like to have this in the next release too
| Option | Results | Votes | |
|---|---|---|---|
| Yes | 86% | 6 | |
| No | 0% | 0 | |
| Dont need | 14% | 1 | |
| Crap | 0% | 0 | |
| misc | 0% | 0 | |
| Total number of votes: | 7 | ||
Surely there should be a way of manually hacking this?
I have been tempted to re-order the Acounts.ini file before, but then I wonder about the main indexing of emails so I haven't done it.
As someone with 35 odd email accounts I need to check, a reorder would be great. At the same time it would be nice to be able to archive out or remove dead accounts without loosing all of the emails associated with them. Not knowing enough about how the main mail store works make this tricky to just hack at.
One thing that makes it stand out as daft is the way my RSS feeds are tucked in and among my email accounts.
Mmm... looking at accounts.ini there does seem to be a section at the top which may well be allocating the order of the accounts.
It starts as:
[Accounts]
Account1=1
Account2=2
Account3=3
and carries on to
Account33=70
Account34=73
Account35=76
Account36=77
Version=8
Next Available Id=81
Count=36
Default Mail Account=32
That makes me feel that a reorder should be possible without too much disruption. Lets see if anyone drops by who has had a go at making sense of this settings file.
I have been tempted to re-order the Acounts.ini file before, but then I wonder about the main indexing of emails so I haven't done it.
As someone with 35 odd email accounts I need to check, a reorder would be great. At the same time it would be nice to be able to archive out or remove dead accounts without loosing all of the emails associated with them. Not knowing enough about how the main mail store works make this tricky to just hack at.
One thing that makes it stand out as daft is the way my RSS feeds are tucked in and among my email accounts.
Mmm... looking at accounts.ini there does seem to be a section at the top which may well be allocating the order of the accounts.
It starts as:
[Accounts]
Account1=1
Account2=2
Account3=3
and carries on to
Account33=70
Account34=73
Account35=76
Account36=77
Version=8
Next Available Id=81
Count=36
Default Mail Account=32
That makes me feel that a reorder should be possible without too much disruption. Lets see if anyone drops by who has had a go at making sense of this settings file.
Happy Opera user since v3.5x back in the previous Century
Originally posted by mallen:
Surely there should be a way of manually hacking this?
Yes. But, it's very unsupported and dangerous. If Opera changes something in a new release and you upgrade, if it has some conversion code, it's almost certain that it won't account for modified settings unless they're absolutely perfect. Not only that, but indexing is already fragile enough.
Further, if you do change it, do some research and reverse-engineering to make sure that you can and do change everything that needs adjusted (like in index.ini etc. if needed).
Best to let Opera implement this in the UI so the backend code can do the file updating automatically and 100% correctly.
I was thinking of a straight swap around. i.e. Account3 becomes Account9 and Account9 becomes Account3. And so on. I was kind of hoping someone had already got fed up with it and looked closer (and you were one of those people I was banking on as I know you do hack your copy around).
If I get brave with some spare time, I'll have a look into my own folders and see if I can make sense of it. Trouble is for me is my Mail folder is ancient. It has been hauled from install to install since the first ever instance of M2 appeared. This means there are already a whole raft of abandoned indexing folders and other files in there left from previous upgrades. Not having a real spec as to what should be in there does make it a little tricky to make sense of
If I get brave with some spare time, I'll have a look into my own folders and see if I can make sense of it. Trouble is for me is my Mail folder is ancient. It has been hauled from install to install since the first ever instance of M2 appeared. This means there are already a whole raft of abandoned indexing folders and other files in there left from previous upgrades. Not having a real spec as to what should be in there does make it a little tricky to make sense of

Happy Opera user since v3.5x back in the previous Century
4. May 2010, 18:46:44 (edited)
Ah... I don't suppose you happen to have a list of the mail folders in a clean v10.53 install?
Just looked into my mail folder... and start by finding two different accounts.ini in two different places. (Clearly one is obsolete as I see out of date settings in it)
The main accounts.ini in the root clearly holds the main list of account details, and seems to control the order of display. Especially with that initial list of "Account1 = Account1" to "Account36=Account77" in my example. (I have 36 active mail accounts. That 77 would of allowed for the temporary client account tests I have done in the last umpteen years)
"index.ini" is the list of Opera Filters as seen in the M2 Mail Panel. This includes reference to the above account numbers (I just located Account ID=77 in here). So this is also clearly an important file if I do look into this renumbering. Can also see references to the *.idx files in "indexer" folder
Stunned at the 36,600+ files in the "store" folder. Obviously my live mail storage. Clearly a folder tree per account here as all numbered with Account1 to Account77 Then spotted older 2003/2004 files in the "Storage" folder.
"autofilter" looks like it is the spam filtering words. (Which also includes some ancient, empty ini file backup)
"cache" has to be obsolete as that is 2003/2004 again.
ARG!! - an "index" folder full of 2003/2004 files.... with "indexer" holding files with 2010 timestamps. They are all encoded in some binary format, so unreadable. (Though filenames link to index.ini in the mail root)
"lexicon" holds more 2010 files - including one which is Quarter of a GB!! (A wild guess assumes this is every single unique word used in my emails plus some kind of smarty pants link pointing into the main "store" database)
(IIRC - there is some trick to forcing a re-indexing of the mail by deleting the lexicon folder. If that is the case then the lexicon folder is expendable as it can be rebuilt)
"Newsfeed" - clearly holds the RSS feeds.
"POP3" - I can take a guess is part of the mail system. And the main reason it looks like it is not possible to reorder by hand. These are either "uidl_account23" or "uidl_account23_ver8". Going by accounts.ini, only the ones with "_ver8" suffixes are valid.
"sync" is empty. So either IMAP or OperaLink connected.
I can also see in the mail root lots of signature files and a couple of other things like the the consistency check log (recovery.log) as well as something called "omailbase.dat" which is a mystery.
(Assuming that these others are obsolete trash: ini8.tmp, m2.dat, msgidcache.dat, opr9124.tmp as these all have datestamps of 2004/2006/2008)
Mmmmm.... interesting.... so when an account is deleted, the emails for it are not actually destroyed. They stay on the hard disk in the relevant "store\AccountNN" folder, just are not loaded by Opera anymore. This partially explains that list at the front of accounts.ini...
Trouble is... you have my head going now on this.... so I KNOW I am going to be digging into the puzzle... but whatever I find it will NOT be pretty and will NOT be for the faint hearted. If I come out with some manual hacking rules this will be AT YOUR OWN RISK. But even from this quick look I can see a pattern emerging. I may move my mail store to a spare PC and start hacking around a bit here....
@Smergol - if you are still reading this far down, how many mail accounts do you have in your copy of M2?
Just looked into my mail folder... and start by finding two different accounts.ini in two different places. (Clearly one is obsolete as I see out of date settings in it)
The main accounts.ini in the root clearly holds the main list of account details, and seems to control the order of display. Especially with that initial list of "Account1 = Account1" to "Account36=Account77" in my example. (I have 36 active mail accounts. That 77 would of allowed for the temporary client account tests I have done in the last umpteen years)
"index.ini" is the list of Opera Filters as seen in the M2 Mail Panel. This includes reference to the above account numbers (I just located Account ID=77 in here). So this is also clearly an important file if I do look into this renumbering. Can also see references to the *.idx files in "indexer" folder
Stunned at the 36,600+ files in the "store" folder. Obviously my live mail storage. Clearly a folder tree per account here as all numbered with Account1 to Account77 Then spotted older 2003/2004 files in the "Storage" folder.
"autofilter" looks like it is the spam filtering words. (Which also includes some ancient, empty ini file backup)
"cache" has to be obsolete as that is 2003/2004 again.
ARG!! - an "index" folder full of 2003/2004 files.... with "indexer" holding files with 2010 timestamps. They are all encoded in some binary format, so unreadable. (Though filenames link to index.ini in the mail root)
"lexicon" holds more 2010 files - including one which is Quarter of a GB!! (A wild guess assumes this is every single unique word used in my emails plus some kind of smarty pants link pointing into the main "store" database)
(IIRC - there is some trick to forcing a re-indexing of the mail by deleting the lexicon folder. If that is the case then the lexicon folder is expendable as it can be rebuilt)
"Newsfeed" - clearly holds the RSS feeds.
"POP3" - I can take a guess is part of the mail system. And the main reason it looks like it is not possible to reorder by hand. These are either "uidl_account23" or "uidl_account23_ver8". Going by accounts.ini, only the ones with "_ver8" suffixes are valid.
"sync" is empty. So either IMAP or OperaLink connected.
I can also see in the mail root lots of signature files and a couple of other things like the the consistency check log (recovery.log) as well as something called "omailbase.dat" which is a mystery.
(Assuming that these others are obsolete trash: ini8.tmp, m2.dat, msgidcache.dat, opr9124.tmp as these all have datestamps of 2004/2006/2008)
Mmmmm.... interesting.... so when an account is deleted, the emails for it are not actually destroyed. They stay on the hard disk in the relevant "store\AccountNN" folder, just are not loaded by Opera anymore. This partially explains that list at the front of accounts.ini...
Trouble is... you have my head going now on this.... so I KNOW I am going to be digging into the puzzle... but whatever I find it will NOT be pretty and will NOT be for the faint hearted. If I come out with some manual hacking rules this will be AT YOUR OWN RISK. But even from this quick look I can see a pattern emerging. I may move my mail store to a spare PC and start hacking around a bit here....
@Smergol - if you are still reading this far down, how many mail accounts do you have in your copy of M2?
Happy Opera user since v3.5x back in the previous Century
5. May 2010, 05:21:06 (edited)
I got 12 mail accounts ...
the lexicon folder i deleted is at some point ... it contains the saved searches in you mails ... this should be deleteable by "delete Private data"
btw you can export you email´s by rightclicking the Received and Sent Folder and choosing export and save it as a *.mdb file
I really like the Opera mail so i hope the developer find this idea useful too ... and a real export function for mails is needet too
Greets
Edit:
My Opera is running in a ram disk
love the speed but every important setting file as mail bookmarks wand.dat is saved to disk ...
So i wasn't sure if it works and copied the complete mail folder in the local folder of teh user account C:\Users\USERXY\AppData\Local\Opera\Opera\mail messed everything up in my attempts ...
... and deleted the folder and renamed teh copied folder back and everything was fine again ...
So maybe this helps you experimenting but i would rather like to see the official Opera team working out this because they should know what they do
But i think this shouldn't be to hard and to be honest with rss feeds and 50+ Email accounts this is really messy and loses usability and that is not how opera is maintaining its one step further than teh competitioner status
greets
the lexicon folder i deleted is at some point ... it contains the saved searches in you mails ... this should be deleteable by "delete Private data"
btw you can export you email´s by rightclicking the Received and Sent Folder and choosing export and save it as a *.mdb file
I really like the Opera mail so i hope the developer find this idea useful too ... and a real export function for mails is needet too
Greets
Edit:
My Opera is running in a ram disk
love the speed but every important setting file as mail bookmarks wand.dat is saved to disk ...So i wasn't sure if it works and copied the complete mail folder in the local folder of teh user account C:\Users\USERXY\AppData\Local\Opera\Opera\mail messed everything up in my attempts ...
... and deleted the folder and renamed teh copied folder back and everything was fine again ...So maybe this helps you experimenting but i would rather like to see the official Opera team working out this because they should know what they do

But i think this shouldn't be to hard and to be honest with rss feeds and 50+ Email accounts this is really messy and loses usability and that is not how opera is maintaining its one step further than teh competitioner status

greets
From my initial looks yesterday, the main thing stopping an easy manual hack is the Indexing of the Filters (index.ini and the index folder) and omailbase.dat. The hidden format of that database file means I can't just swap accounts around.
This has to be something Opera provides one day.
If I do find anything of use, I'll come back to this thread - but those Filters folders are the things I currently can't get around.
This has to be something Opera provides one day.
If I do find anything of use, I'll come back to this thread - but those Filters folders are the things I currently can't get around.
Happy Opera user since v3.5x back in the previous Century
If you do figure out the perfect way to switch everything around, please create a wiki page at http://operawiki.info/Opera to document it.
I found a fugly way
1. Close Opera
2. copy your mail Folder in "C:\Users\USERXY\AppData\Local\Opera\Opera\mail" somewhere save ...
3. Delete or rename Folder "mail" on restart the opera mail function is disabled.
4. Open Opera , click on Import - Import mail - import from Opera 7/8/9/10
5. In the dialog browse to your saved "mail" folder and the accounts.ini
6. Select JUST ONE of you email accounts ... this will be the first in the list.
7. check import settings and messages naturally
8. click on IMPORT button ...
9. after the import click on "back" and redo the cycle with the next account you want in your order .
10. If you lost enough time over this and done with all accounts click on "done"
maybe someone wants to make this wiki but ... its like washing you hands with oil ...
If someone knows someone on the dev team ... plz make them care about our sad sad life's ^^
greets
1. Close Opera
2. copy your mail Folder in "C:\Users\USERXY\AppData\Local\Opera\Opera\mail" somewhere save ...
3. Delete or rename Folder "mail" on restart the opera mail function is disabled.
4. Open Opera , click on Import - Import mail - import from Opera 7/8/9/10
5. In the dialog browse to your saved "mail" folder and the accounts.ini
6. Select JUST ONE of you email accounts ... this will be the first in the list.
7. check import settings and messages naturally
8. click on IMPORT button ...
9. after the import click on "back" and redo the cycle with the next account you want in your order .
10. If you lost enough time over this and done with all accounts click on "done"
maybe someone wants to make this wiki but ... its like washing you hands with oil ...
If someone knows someone on the dev team ... plz make them care about our sad sad life's ^^
greets
Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news