Attachment filtering by content and name rules are available.
MD5 Hashes - Filter by Content
MD5 fingerprints are used to exclude attachments from being added from emails. Email This Issue Mail Handler extracts attachmens from the incoming emails it processes and attaches them to the issue.
You can upload fingerprints to exclude certain attachments. If the md5 fingerprint of an attachment extracted from the email matches one of the existing fingerprints, it will not be attached to the issue.
This is useful if you do not want email signature image attachments to be uploaded to each and every issue.
Files larger than the configured attachment size threshold will skip md5 generation and matching to minimize computation overhead.
SINCE 188.8.131.52 you can upload files to add their fingerprint or you can generate md5 online and save it with a descriptive name.
Save Images from Email
Email clients like Outlook alter (e.g. resize) the images embedded in the email body. Therefore the most reliable way to apply the MD5 filtering is to follow the steps:
- Get an email that contains the image you want to filter out.
- Save the image right from the email (right click on the image and save as)
- Upload the image saved from email to the MD5 page in email this issue.
This way you can make sure that the image is filtered properly. Do not upload the original image because it will be a different stream of bytes resulting in different MD5 hash value.
Exclusions - Filter by Name
Attachments may filtered out by regular expressions matching the name of the files. Add name exclusiön patterns in the Attachment Filtering page. Attachments whose name matches either of the expressions added, will not be attached to the issues.