WorldClient and aliases

Did you know WorldClient has support for aliases?

Go create an alias (without wildcards), then hit the compose button in WorldClient and note that the FROM field is now a dropdown — You can choose to send mail using any alias which points to your mailbox.

Even better, when you reply to a message, WorldClient will automatically choose the alias to which the original message was addressed.

There is also a hidden INI switch that can influence this behavior,

WORLDCLIENT.INI, [Special] section.
UseFirstAlias=No (or Yes)

If this is set to yes, WorldClient will always use the first alias which applies to a mailbox (not counting wildcard aliases) rather then guessing at which alias is most appropriate.

messages.idx file format

WorldClient maintains a file called “messages.idx” in the $MAILDIR$\WC\ directory which contains the information WorldClient needs to generate the indexes. This is done for performance reasons, with the goal being that WorldClient only needs to read each MSG file once.

The messages.idx file works in conjunction with the IMAP.MRK file, which contains IMAP flags such as (UNREAD, REPLIED, DELETED), whereas flags like “New” and “Forwarded” aren’t known to IMAP, but were implemented in WorldClient, and so are stored in WorldClient’s own index.

Although messages.idx is self-maintaining (meaning that WorldClient automatically adds and deletes entries without user intervention), if deleted, messages.idx will be recreated as WorldClient needs it, with an obvious performance hit as MSG files are parsed.

You may want to delete messages.idx to force a rebuild if, for example, you change whether WorldClient uses the “Sent” or “Received” dates and want to update messages already received with the new dates

It is a text file with one message record per line, with the fields delimited by a \001 character. There are 8 fields in the 5.x/6.0 format:

Folder name
IMAP UID Validity
IMAP UID
To
From
Subject
Date (time_t value)
WorldClient flags (bitmask)

The WorldClient flags bitmask values are

1=New
2=Forwarded
4=High Priority
8=Has attachments
16=Needs read confirmation

MDaemon Toolbar Fix

Every once in a while MDaemon’s toolbars will disappear, or refuse to save their positions.  This happens more with older versions of MDaemon, but it can still ocassionally crop up.  Luckily, the fix is simple:

1) Shut MDaemon down

2) Open up the Registry Editor

3) Export out this key and all keys under it

[HKEY_LOCAL_MACHINE\SOFTWARE\Alt-N Technologies\MDaemon\Toolbars]

4) Delete the entire Key once it has been exported

5) Restart MDaemon, go to the Windows menu and choose “Reset Toolbars”, this will create a new set of keys with the toolbars in their default positions.

6) Shut down MDaemon again using one of the controls within MDaemon’s GUI to ensure that MDaemon saves the registry entries.