Below message come from my CentOS mailserver which can block up 14 levels of EXE files.
In Ubuntu 8.10 can not block in the same files. Do you know how to set amavis-new(config file)?
BANNED CONTENTS ALERT
Our content checker found
banned name: multipart/mixed | application/octet-stream,.rar,WinXP Key.rar
| .txt,Windows XP PRO VLK§Ç¦C¸¹*×§ï.VBS
in email presumably from you <firstname.lastname@example.org> to the following recipient:
Our internal reference code for your message is 13903-04/b8cdmyhpLwyb
First upstream SMTP client IP address: [192.168.16.80]
Subject: test RAR
Delivery of the email was stopped!
The message has been blocked because it contains a component (as a MIME part or nested within) with declared name or MIME type or contents type violating our access policy.
To transfer contents that may be considered risky or unwanted by site policies, or simply too large for mailing, please consider publishing your content on the web, and only sending an URL of the document to the recipient.
Depending on the recipient and sender site policies, with a little effort it might still be possible to send any contents (including
viruses) using one of the following methods:
- encrypted using pgp, gpg or other encryption methods;
- wrapped in a password-protected or scrambled container or archive
(e.g.: zip -e, arj -g, arc g, rar -p, or other methods)
Note that if the contents is not intended to be secret, the encryption key or password may be included in the same message for recipient's convenience.
We are sorry for inconvenience if the contents was not malicious.
The purpose of these restrictions is to cut the most common propagation methods used by viruses and other malware. These often exploit automatic mechanisms and security holes in more popular mail readers (Microsoft mail readers and browsers are a common target). By requiring an explicit and decisive action from the recipient to decode mail, the danger of automatic malware propagation is largely reduced.