Cloud - Attachments
Mailto.wiki supports attachments in e-mails. To protect you from attacks and SPAM there are however a number of restraints in place. You can loosen or tighten these restrictions according to your needs on the configuration page (see Getting Started) in the Attachments tab.
Attachment Size & Number of Attachments Limits
You can limit the maximum number of attachments per e-mail and the maximum size of a every attachment. Attachments that do not comply with these rules are dropped and are not added to Confluence. The default settings should be fine for most users.
Due to the restrictions of our mail hoster (AWS) we currently only support e-mails up to 30MB in size. You cannot send e-mails that are larger than 30MB in size (content & all attachments in total). All attachments also need to be smaller than the general maximum attachment size set in Confluence. You can check your general maximum attachment size by going to Settings in the navigation panel, General Configuration and then going to the Attachment Settings section. The default general attachment limit is 100MB, so significant larger than the 30MB limit.
There are no platform limitations regarding the number of attachments. The default value after installation is -1 which means no restrictions. You're able to put in any positive integer if you want to restrict the number of attachments. To disable all attachments simply set the maximum number of attachments to 0.
Some attachments in e-mails may contain viruses. Therefore, all attachments are scanned by antivirus. However, there is no such thing as a 100% detection rate. This is why only file types that are considered safe are allowed by default. Windows uses file extensions to categorize files, the web uses mime types. To prevent bypassing of filters it is important that file extensions and mime types are checked and match. You can edit the list of allowed file extensions/mime types to allow additional file types or to enforce more restrictions.
Allowing new file types
If you want to allow a new file type as attachment you need to do 4 steps:
- Click the Add File Type Button at the bottom of the Page.
- Insert the Mime Type in the respecting field.
- Insert the File Extension in the respecting field. Leading dots are ignored.
- Click Save Settings.
If you do not know the mime type of the files you want to allow you can visit the following link to search for it: Mime types.
Disallowing file types
To disallow a file type simply delete it from the List. Click on the little trash can icon next to the rule and then click on Save Settings.
Congratulations, now you know how to manage your Attachments.