Pages: 1
RSS
URGENT: mailboxes data disappeared?
 
After a crash, TheBat now seems to have lost the mailboxes data.
Please have a look at screenshots.

Emails ARE in the folders, and the account location is correct (picture 2)

On the disk, all directories are there.

It seems only all accounts config files have been lost. The "account properties" general, transport, etc, are empty

Is there a way to rebuild them from the disk, o must  I do it manually (for 60 accounts...)?

Thank you

Screenshots:
https://limewire.com/d/7d4528f4-5384-4795-9150-ff07884cf09b#NGiSdx7AaYI3d9i659RsXVLTUcZP5L2IGKgV37Sb...
 
I add that I have a copy from 3 weeks ago of the full disk. Using this copy, all is working normally but of course I haven't the recent mails, filters etc.

So I assume I have just to copy some files from the copy to the "bugged" directories, but cannot find out which files.
 
Even if the current mail data (in O:\TheBat\) is incomplete, I recommend that you create a full backup of it before proceeding.

When you're in the The Bat, you can press Ctrl-Alt-Shift-L to try and recover the missing accounts and folders.

If that doesn't work or not completely, what you propose (to use missing files from your 3-week old backup) is probably the best solution. But I'd try Ctrl-Alt-Shift-L first.
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
 
btw if you read German, this overview of The Bat files and their purpose may come in handy:

https://www.batboard.net/thread/11616-wo-befinden-sich-welche-einstellungen-informationen/

I thought there was a similar English document too, but I can't seem to find it yet.
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
 
Quote
Daniel van Rooijen wrote:
I thought there was a similar English document too, but I can't seem to find it yet.

I know I saw one, but can't seem to find it now either...

In the meantime, here is another source: https://www.ritlabs.com/en/auth-forums/forum4/topic14757/message49613/#message49613  ;)  
 
Thanks! I'll just copy and paste it here. I don't know how old this is, but parts may no longer apply..

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Names and functions of various The Bat files:


C:\Program Files\The Bat!

  - *.tip The random tips for each language that you see when you start TB
  - batpgpXX.dll DLL files required for using PGP/GPG in TB
  - delmsi.exe Uninstall the .MSI installation? (as given in versioninfo: Removes shortcuts and data files)
  - glyphs.bmp If you've downloaded a "theme" replacement for the TB buttons, this is it
  - lngversion.exe Companion file to thebat.lng file. Probably to report versioning info.
  - tbmapi.dll The MAPI handler
  - the_bat.cnt Supplemental file for the_bat.hlp
  - the_bat.gid Supplemental file for the_bat.hlp
  - the_bat.hlp The main help file
  - thebat.exe Main executable file
  - thebat.lng Language file for the TB interface
  - batlogo.xml Configuration XML-file for creating custom splash screens at BT's startup* (v.3.5)
  - batskin.xml Configuration XML-file for creating custom skins for TB* - images for toolbars, icons etc* (v.3.5)
  - thebat.ipc Regular batch-file for TB - TB try to run this batch every 10 sec


C:\Program Files\The Bat!\images

  - Folders All subfolders should contain images relating to the appropriate .MSL file
  - *.msl Configuration file for smiley sets
  - order.txt Configuration file for the order in which .MSL files load


C:\Program Files\The Bat!\MAIL

  - Folders All account folders and all common folders
  - *.abd Addressbook files
  - accorder.cfg Configuration for the order in which your accounts show up in TB
  - account.cfg Account like settings for common folders (v2)
  - account.cfn Account like settings for common folders (v3)
  - account.flb Common folder configuration (v3)
  - account.flx Common folder configuration (v2)
  - account.srb Filters for new filter system - common filters (V3)
  - account.srx Filters for old filter system - common filters (V1/2)
  - addrbook.ini Addressbook configuration (what addressbooks are contained etc.)
  - avconfig.ini Config for anti virus plug-in
  - colors.ini Color Groups configuration
  - config.cdb ???
  - events.cfg List of scheduled tasks (Scheduler)
  - except.log Error log
  - groups.cfg ???
  - pgp.ini ???
  - randseed.bin Temporary file for generation random values (used in encryption/signing)
  - shortcut.cfg Keyboard shortcuts configuration file
  - smartbat.ini The files opened/used by SmartBat
  - smartbat.txt The Smartbat entries you've made
  - smimernd.bin Temporary file for generation random values (used in encryption/signing in S/MIME)
  - tbplugin.ini Configuration file for your plugins
  - tbuser.def* Custom toolbars and menu configuration, which can be edited through
menu "View - Toolbars -* Customise…"


C:\Program Files\The Bat!\Mail\ACCOUNT FOLDERNAME

  - $CHAT$ COMMON Special Folders containing e-mail chat messages (kind of like a watch thread folder)
  - $JUNK$ COMMON Special Folders that collect spam from whatever anti-spam plugin you have
  - $KNOWN$ COMMON Special Folders that collects e-mail from people you have listed in your addressbook
  - $QRNTN$ COMMON Special Folders that collects e-mail containing viruses from whatever anti-virus plugin you have
  - Mail Folders Every folder you create under this account to sort mail shows up in this folder
  - account.cfg Account configuration and account templates for v1/v2
  - account.cfn Account configuration and account templates for v3
  - account.flb The current common folder configuration file (v2/v3)
  - account.flx The old common folder configuration (depreciated) (v1)
  - account.his Contains the last recipients, subjects and some search info
  - account.imp IMAP debugging configuration file
  - account.log History of interactions with mail server and filtering results
  - account.m_d UIDL UIDLs of messages that are stored on the server, but which need to be deleted from there
  - account.m_r Keeps UIDLs for the message already downloaded, but not yet deleted from server
  - account.qtn Quick templates
  - account.srb New filter configuration (v3)
  - account.srx Old filter configuration (depreciated) (v1/v2)


C:\Program Files\The Bat!\Mail\ACCOUNT\MAIL FOLDERNAME

  - Mail Folders If you created subfolders to the above, they're here
  - messages.tbb The actual e-mail messages in human readable format
  - messages.tbi The index of the messages.tbi. This file may be safely deleted as TB will recreate it. However, deleting it will
cause you to lose any colour groups, etc. assigned for that mailbox. Useful if you seem to have a corrupted mailbox.


C:\Program Files\The Bat!\Sounds

This section has listing of sound files that can be played on TB's internal events (see filenames):

  - AboutBox.wav
  - AccountLogoff.wav
  - AccountLogon.wav
  - ActionAccountDeleteFiles.wav
  - ActionAccountLeaveFiles.wav
  - ActionFolderDeleteTrash.wav
  - ActionFolderDeleteWipe.wav
  - ActionMessageDeleteMultiple.wav
  - ActionMessageDeleteSingle.wav
  - ActionSpamDeleted.wav
  - ActionSpamMoved.wav
  - ActionVirusFound.wav
  - ConfirmAccountDelete.wav
  - ConfirmBirthday.wav
  - ConfirmFolderDelete.wav
  - CreateEditorBirthday.wav
  - CreateEditorEditExisting.wav
  - CreateEditorForward.wav
  - CreateEditorNewMessage.wav
  - CreateEditorRCR.wav
  - CreateEditorRedirect.wav
  - CreateEditorReply.wav
  - FocusAccount.wav
  - FocusFolder.wav
  - FocusMessage.wav
  - TheBatStartup.wav

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
 
Quote
Miloš Radovanović wrote:
Quote
Daniel van Rooijen wrote:
I thought there was a similar English document too, but I can't seem to find it yet.

I know I saw one, but can't seem to find it now either...

In the meantime, here is another source:  https://www.ritlabs.com/en/auth-forums/forum4/topic14757/message49613/#message49613    

Found the one I was thinking of, pretty much by accident  :D

Let's at least keep it here for posterity: https://medium.com/@hetmansoftware/recovery-and-backup-for-the-bat-mail-client-1fafa043b43b
Edited: Miloš Radovanović - 30 March 2025 20:46:32
 
Quote
Let's at least keep it here for posterity:

Nice find! I'll quote the relevant bits below, so the Search function can find them here:

Quote
In The Bat’s common folder:

   account.flb — configuration file for common folders;
   account.cfn — settings file for common folders;
   account.srb — filter file for common folders;
   *.abd — address book files;
   accorder.cfg — configuration file with the sequence of mailboxes in the folder tree;
   *.abd — configuration file of address book files;
   avconfig.ini — configuration file of antivirus plugins;
   config.cdb — the settings file for system hotleys, viewing modes and mail list tabs;
   events.cfg — configuration file of the scheduler;
   ex_log.txt — text file with an error log;
   smartbat.ini — SmartBat configuration file;
   smartbat.txt — main notepad for SmartBat;
   smimernd.bin — temporary encryption file (random number generation);
   tbplugin.ini — configuration file for add-on plug-ins;
   tbuser.def — configuration file containing interface settings;
   ..and others.

In the folder having the name of the user’s mail box:

   Folders whose names correspond to the names of mail box folders, as well as such files:
   account.cfn — mailbox settings file;
   account.flb — configuration file for folders inside the mailbox;
   account.imp — configuration file of IMAP debugging;
   Account_log.txt — a text file containing a log on interaction with the server, filter processing and other data;
   account.srb — configuration file of the sorting operator;
   ..and others.

In the folders having the name of the user’s mail box (Sent, Inbox, Trash…):

   messages.tbb — file of the folder’s mail base;
   messages.tbn — index file;
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
Pages: 1