Page 1 of 1

Bad content

Posted: 26 Apr 2017 10:49
by BliXem
I sometimes see that some e-mails are rejected because of bad content. In this case the file name isn't the 'real' filename and it's rejecting the mail. Is it possible to turn this off?

Re: Bad content

Posted: 26 Apr 2017 11:04
by pdwalker
Can you post a line showing the "bad content" message? That'll help me track down the setting.

[edit] it's probably related to one of the files in /etc/MailScanner/

Re: Bad content

Posted: 26 Apr 2017 15:10
by BliXem
These message:

Attempt to hide real filename extension

Re: Bad content

Posted: 27 Apr 2017 03:59
by pdwalker

Code: Select all

cd /etc/MailScanner
grep -r "Attempt to hide real filename extension" *
archives.filename.rules.conf:#deny	\.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$	Found possible filename hiding	Attempt to hide real filename extension
filename.rules.conf:#deny	\.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$	Found possible filename hiding		Attempt to hide real filename extension
It looks like I turned those off myself already since they are commented out.