Hi Noel,

Thanks for your quick and clear reply.
You where right about the brackets, the filename contains curly brackets
like:

Invoice4198-O{D2A4E3C9-0C71-4089-A24D-CC922611F105}.PDF

I will modify the $banned_filename_re to allow them.
Thanks again for your help!

Gr. Johan  

 

Noel Jones-2 wrote:
> 
> On 3/9/2010 9:26 AM, Johan Barelds wrote:
>>
>> Hi All,
>>
>> It seems that attachments with brackets in the name are beeing blocked by
>> amavis.
>> Is this a know feature? It there a workaround perhaps?
>> I have a client who can't change the names of the attached files and who
>> is
>> quit unhappy atm..
>>
>> Thanks for any help!
>>
>> Gr. Johan Barelds
> 
> Settings for what are blocked are your amavisd.conf file. 
> Search for $banned_filename_re or $banned_namepath_re 
> (probably only one of these is used).  Edit these settings as 
> you see fit, see the RELEASE_NOTES and the amavisd.conf-sample 
> for instructions and hints.
> 
> Brackets "[ ]" are not blocked.
> 
> Maybe the file has a Microsoft Class ID extension -- something 
> like "{755410F0-3C4C-485D-8A90-B248BE8C39CA}" -- such files 
> can be used to force a particular program to open an 
> attachment and it's dangerous to give an outsider such control 
> over your system.  However, the braces themselves are not 
> blocked, only when they appear in a string that looks like a 
> CLSID.  If you need to allow these unsafe files, change your 
> $banned_filename_re or $banned_namepath_re.
> 
>    -- Noel Jones
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/amavis-user 
>  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
>  AMaViS-HowTos:http://www.amavis.org/howto/ 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Banned-attachments-with-brackets-in-the-name-tp27835746p27839576.html
Sent from the Amavis mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to