The MDaemon userlist.dat file holds many of the settings specific to the users of the system and this file can be edited manually to manage user account information.
Editing the file in a text editor like notepad would look similar to the following.
It is worth noting the file is character position delimited and careful consideration has to be made when editing the file. The following table shows what each section is used for and the number of characters used by that section.
Due to the fact that MDaemon stores the passwords in an encrypted state the actual maximum length of a password is 15 characters. MDaemon needs the remaining space to store the encrypted version of the password since it can be up to 5 characters longer than the unencrypted version.
It is possible to enter a plain unencrypted textual value into the password field manually and have MDaemon automatically encrypt it for you. This will aid in third party development of userlist utilities since they will not have to worry about storing the password in an encrypted state. To use this feature simply enter the textual password into the password field and set the last two characters of the password field (i.e.. positions 214 and 215) to a blank space and a ‘Y’ character respectively. When MDaemon reads the userlist file and encounters a password that has the last two characters arranged in this fashion it assumes that the value present in the field is a plain text entry that needs to be encrypted.
If an account is set to forward mail (i.e.. position 217 = ‘Y’) then the forwarding address can be found in the FORWARD.DAT file under a section name that is the same as the account’s EMAIL field.
If encryption is being used (position 222 = ‘Y’) then only messages which are smaller than or equal to 4096 bytes in length will be encrypted. Messages larger than this will not be encrypted.
Do not make changes to the userlist.dat file without backing it up first.