Hi all How could I allow a special attachement file .bda Code: BANNED message from you (multipart/mixed | application/octet-stream,.exe,.exe-ms,913A-BP1-1-(dy).bda | .txt,aAAautotexte.xml) ? Thanks admins
Well, the reason for rejection is not the file extension, but rather its content. As you can see, Amavisd has detected that the file is actually an Windows/DOS application with a renamed ".bda" extension and it's not going to let it pass through. Anyway the rules you're looking for are declared in /etc/amavisd/amavisd.conf . I strongly advice you not to temper with those settings thow, unless you know what you're doing. Cheers
I have now edit /etc/amavis/conf.d/20-debian_defaults Bevor: # [ qr'^\.(Z|gz|bz2)$' => 0 ], # allow any in Unix-compressed # [ qr'^\.(rpm|cpio|tar)$' => 0 ], # allow any in Unix-type archives # [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], # allow any within such archives now: [ qr'^\.(Z|gz|bz2)$' => 0 ], # allow any in Unix-compressed [ qr'^\.(rpm|cpio|tar)$' => 0 ], # allow any in Unix-type archives [ qr'^\.(zip|rar|arc|arj|zoo)$'=> 0 ], # allow any within such archives Now you can send exe files or bda files with a cad in a rar or zip file. So the user cant send it directly only with a archiv. Thats bether than allow it permanently. admins