the-paperless-project / paperless

Scan, index, and archive all of your paper documents
GNU General Public License v3.0
7.85k stars 498 forks source link

Error "Message subject is unsafe" #659

Closed stilltldr closed 4 years ago

stilltldr commented 4 years ago

Hi,

it seems as if paperless has a problem with the correspondent regex check when the subject contains "FWD:" and "AW:". When removing this prefix, the emails are processed.

https://github.com/the-paperless-project/paperless/blob/8698f92ac925baa335505b839125d97e325bb576/src/documents/models.py#L158

Using paperless from Docker: `# ./manage.py --version

2.0.10 ` Regards

MasterofJOKers commented 4 years ago

This should be a duplicate of #607 Feel free to reopen if you think it's not.

stilltldr commented 4 years ago

No, it is a duplicate, thanks for pointing out!