long gap in a pdf name

General eFa discussion
Post Reply
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

long gap in a pdf name

Post by DaN »

Code: Select all

Report:	MailScanner: A long gap in a name is often used to hide part of it (Order 7654321 -10.01.2014-12345678.pdf)
Does anyone see a long gap?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: long gap in a pdf name

Post by shawniverson »

Spaces...
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: long gap in a pdf name

Post by DaN »

Just two spaces are a log gap? :shifty:

EDIT
/etc/MailScanner/filename.rules.com

Code: Select all

# Deny filenames with lots of contiguous white space in them.
deny	\s{10,}		Filename contains lots of white space						A long gap in a name is often used to hide part of it
10=10 Spaces?

MailScanner doesn't show 10 Spaces in my browser.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: long gap in a pdf name

Post by shawniverson »

That is odd, I don't see why that rule would fire off on that...
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: long gap in a pdf name

Post by DaN »

searching for the thread title gives me (last post)
http://forum.mailcleaner.org/viewtopic. ... 1544#p6375

I don't have any log which contains the info.
The mail comes from a SAP system, so the problem will return.
I hope increasing the value will do the trick.
Post Reply