On 10/2/2014 7:04 AM, Deeztek Support wrote:
> 
> I guess I was mistaken that using the mime-type was more reliable
> than using a file extension since the file extension can be easily
> modified also? So, if I were to ban .rar files, and someone send me
> a rar file called "archive.rar" but they renamed it to "archive" it
> will still be blocked by Amavis?

Yes, amavis uses the results of file(1) to determine the proper
extension, regardless of what the attachment is named.  See the
notes in amavisd.conf and/or amavisd.conf-sample about the $banned_*
settings for details.



  -- Noel Jones

Reply via email to