Patch #27025

Regex support for excluded mail attachments

Added by Jan from Planio www.plan.io about 1 month ago. Updated 14 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:4.1.0

Description

Now that we have regex support for mail body delimiters, it makes sense to allow regex parsing for excluded attachment filenames as well.

The common case are email signatures including images. In many cases, the filenames include something like footer or signature, so regexes like the following proved to be quite useful for us at Planio:

smime.p7s,.+\.vcf,.*(footer|signature).*\.(gif|jpg|jpeg|png)

The attached patch series implements this feature.

0002-Whitespace-only.patch Magnifier (2.38 KB) Jan from Planio www.plan.io, 2017-09-18 19:41

0001-Optional-regex-for-filtering-attachments-on-incoming.patch Magnifier (6.04 KB) Jan from Planio www.plan.io, 2017-09-18 19:41

0004-Improve-German-translation-for-mail-handler-regex-se.patch Magnifier (2.17 KB) Jan from Planio www.plan.io, 2017-09-18 19:41

0003-Rename-setting_mail_handler_enable_regex_delimiters-.patch Magnifier (35.3 KB) Jan from Planio www.plan.io, 2017-09-18 19:41

History

#1 Updated by Marius BALTEANU about 1 month ago

Very useful feature.

#2 Updated by Toshi MARUYAMA 14 days ago

  • Target version changed from Candidate for next minor release to 4.1.0

LGTM.

Also available in: Atom PDF