Filename format on email attachment is rejected due to policy reasons

We use mail rules to reject messages containing certain types of file attachments (exe’s, and the like). Works great.

An external contact attempted to send a PDF file and received the ‘rejected due to policy reasons’ message. Normally, we receive PDFs without any problem, as they are not on our reject list.

The name of the file was in this format (with the addtional dots included)

my.file.name.pdf

Our server rejected it. I found by renaming it to a simple

myfilename.pdf, it went through.

How can I fix this?

Subject: Filename format on email attachment is rejected due to policy reasons

We’d need to see how you are deciding to “reject” the file types to answer the question.

I would think you’d want to check for the file extension, on the from the last dot.

I’ve seen far too many people with their extensions turned off in windows having file extensions like:

my file.exe.txt

Subject: RE: Filename format on email attachment is rejected due to policy reasons

Thanks for your reply.

We use the simple mail rules located on the server’s configuration document – Router/SMTP tab – Restrictions & Controls – Rules. The condition1 is 'when any attachment contains .exe, condition2 = 'when any attachment contains *.gif, etc. Action = don’t accept the message.

No fancy stuff…