List Info

Thread: g_block_files not looking at extension




g_block_files not looking at extension
country flaguser name
United States
2007-08-24 12:40:25
I seem to have discovered a problem with the g_block_files
setting. It 
appears SurgeMail is matching any part of the filename to
these settings, 
not just the extension. To work properly, it would seem that
the search 
should be look at the end of the file name only. Here is a
log example.

23 22:38:08.00:Info:-1250067568: block_files: blocking
attachment 
(amazon.com ugly betty - the complete first season dvd
america ferrera,eric 
mabius,vanessa williams.j)
23 22:38:08.00:Info:-1250067568: Done mime parts 0
23 22:38:08.00:Info:-1250067568: msg_submit: failed
23 22:38:08.00:Info:-1250067568: scmd: Message submitted
[1592655] Failed 
Attachments of that name/type not allowed (amazon.com),
setting 
g_block_files

I thing thing was actually a jpg with the string
'amazon.com' in the name. 
It should not have hit this rule.

Also, it is curious that the file name seems to be
truncated. I hope this is 
just in the logs and not what is passed to the g_block_files
search 
procedure.

Jim L.
Imagine Net



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )