Attachment Linking (Setup » Web, Sync, & IM Services » Attachment Linking) is a feature that makes it possible for MDaemon to remove all attachments from incoming email messages, store them in a designated location, and then place URL links to the files in each message from which they are extracted. The recipients can then click those links to download the files. This can greatly speed up mail processing when your users retrieve their messages or synchronize their mail folders, since the messages will be devoid of large attachments. It can also provide increased security and an increased level of protection for your users, because attachments can be stored in a central location for monitoring by the administrator and will not be downloaded automatically to mail clients where they might be executed automatically. Further, if you choose the "Let WorldClient automatically manage Attachment Linking" option, management of the file locations and the WorldClient URL is handled automatically. If you choose to manage Attachment Linking manually, you can specify the location where the files will be stored, and you can use special macros to make the location dynamic. In order for Attachment Linking to work, it must be enabled globally using the option on this screen, and each Account that you wish to use it must be configured specifically to do so on the Mail & Attachments screen of the Account Editor. Finally, the links to the attachments that MDaemon will place in messages do not contain direct file paths. Instead they contain a unique identifier (GUID) that the server uses to map the file to the actual path. This GUID map is stored in the AttachmentLinking.dat file.

Enable attachment linking

Click this checkbox to enable Attachment Linking for all accounts that are specifically configured to use it on the Mail & Attachments screen of the Account Editor. When you enable this global option you will be asked if you also wish to enable the account specific option for all MDaemon accounts. If you choose "Yes" then Attachment Linking will be enabled for all accounts, and the corresponding option under New Account Defaults will also be enabled. If you choose "No" then the Attachment Linking feature will be enabled but the account specific option will not—you must manually activate it for each account that you wish to use it. When Attachment Linking is enabled, the WorldClient server must remain active.

Let WorldClient automatically manage Attachment Linking

This is the default option when Attachment Linking is enabled. Use this option if you wish to let WorldClient handle Attachment Linking automatically. Extracted files will be stored at: "...\MDaemon\Attachments\$DOMAIN$\$MAILBOX$\".

Manually configure Attachment Linking

Choose this option if you wish to designate the folder in which extracted file attachments will be stored. You must designate both the attachment path and the WorldClient URL when you choose this option.

Attachment path

Use this text box to designate the folder in which to store extracted file attachments. You can set a static file path or use template and script macros to make the path dynamic. For example, "$ROOTDIR$\Attachments\$DOMAIN$\" will group all attachments into a subfolder named for the domain to which the user belongs, under a subfolder called "Attachments" contained in MDaemon's root folder (usually C:\MDaemon\). So, for "" the above example would cause the extracted attachments to be placed in the subfolder, "C:\MDaemon\Attachments\\." You could further subdivide attachment storage by appending the "$MAILBOX$" template macro to the above example. This would cause  Frank's files to be stored in a subfolder beneath "\\" called "frank." Therefore the new file path would be: "C:\MDaemon\Attachments\\Frank\."

WorldClient URL

Enter WorldClient's URL here (e.g. ""). MDaemon will use this URL when inserting the links to extracted attachments in messages.

Delete attachments from disk when messages are deleted

Click this option if you want extracted attachments to be deleted from the server whenever the message to which they are linked is deleted. Give this option careful consideration before enabling it, because if it is enabled and a user collects his email via a POP3 client that is not configured to leave messages on the server, then all of his extracted attachments will be irretrievably lost. If this option is not enabled then no attachments will be lost, but a great deal of your hard drive space could eventually be taken up by outdated and useless files that their original recipient no longer wants or needs. Virtually all POP clients have the ability to leave messages on the server.